Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009437/0.009437, allocations: 100.4 kB / 15.73 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 189.5 kB / 16.67 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.697/2.697, allocations: 469.8 MB / 0.7425 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 75.83 kB / 1.065 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8018/0.8033, allocations: 159.1 MB / 1.221 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001935/0.8052, allocations: 0.804 MB / 1.221 GB, free: 1.309 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001367/0.8066, allocations: 1.159 MB / 1.223 GB, free: 140 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.14e-05/0.8066, allocations: 0 / 1.223 GB, free: 140 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.053e-05/0.8067, allocations: 15.81 kB / 1.223 GB, free: 124 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.878e-05/0.8068, allocations: 15.86 kB / 1.223 GB, free: 108 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004686/0.8072, allocations: 144.1 kB / 1.223 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001901/0.8074, allocations: 135.8 kB / 1.223 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.8075, allocations: 27.94 kB / 1.223 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.312e-05/0.8076, allocations: 59.83 kB / 1.223 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.8077, allocations: 63.8 kB / 1.223 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.781e-05/0.8077, allocations: 12 kB / 1.223 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 6.516e-05/0.8078, allocations: 23.98 kB / 1.223 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.711e-05/0.8078, allocations: 27.92 kB / 1.223 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.437e-05/0.8079, allocations: 51.83 kB / 1.223 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002022/0.8081, allocations: 148 kB / 1.223 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.8081, allocations: 7.938 kB / 1.223 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.072e-06/0.8081, allocations: 0 / 1.223 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.8081, allocations: 0 / 1.223 GB, free: 15.43 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005933/0.8087, allocations: 432.8 kB / 1.224 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.8087, allocations: 8.625 kB / 1.224 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.441e-05/0.8088, allocations: 16.88 kB / 1.224 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.8089, allocations: 180.3 kB / 1.224 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.8089, allocations: 8.375 kB / 1.224 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/0.809, allocations: 16.31 kB / 1.224 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002297/0.8092, allocations: 90.2 kB / 1.224 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.8092, allocations: 192 / 1.224 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.8092, allocations: 3.938 kB / 1.224 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.8092, allocations: 0 / 1.224 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002012/0.8094, allocations: 59.95 kB / 1.224 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005173/0.8099, allocations: 376.6 kB / 1.224 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/0.8101, allocations: 50.55 kB / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.683e-05/0.8102, allocations: 32.88 kB / 1.224 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.8102, allocations: 4 kB / 1.224 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002317/0.8104, allocations: 91.25 kB / 1.225 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.8104, allocations: 0 / 1.225 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6): time 0.0004136/0.8108, allocations: 121.6 kB / 1.225 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.8109, allocations: 51.41 kB / 1.225 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.811, allocations: 141.6 kB / 1.225 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.811, allocations: 33.7 kB / 1.225 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.756e-05/0.8111, allocations: 96.03 kB / 1.225 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.226e-05/0.8111, allocations: 23.88 kB / 1.225 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.666e-05/0.8112, allocations: 37.7 kB / 1.225 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.8113, allocations: 314.8 kB / 1.225 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.8115, allocations: 55.91 kB / 1.225 GB, free: 13 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000172/0.8116, allocations: 79.39 kB / 1.225 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000253/0.8119, allocations: 112.2 kB / 1.226 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.8119, allocations: 0 / 1.226 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000417/0.8123, allocations: 203.2 kB / 1.226 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.771e-05/0.8123, allocations: 37.7 kB / 1.226 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.8124, allocations: 3.984 kB / 1.226 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.8124, allocations: 0 / 1.226 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.015e-05/0.8125, allocations: 11.98 kB / 1.226 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.8125, allocations: 0 / 1.226 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002215/0.8127, allocations: 44.05 kB / 1.226 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.8127, allocations: 11.92 kB / 1.226 GB, free: 12.46 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,onSys.y,$PRE.onSys.y,conEquSta.hys.y,$PRE.conEquSta.hys.y,conEquSta.onBoi) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001241/0.8128, allocations: 122.4 kB / 1.226 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.8128, allocations: 7.953 kB / 1.226 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.405e-05/0.8129, allocations: 8.375 kB / 1.226 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.8129, allocations: 7.984 kB / 1.226 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.8129, allocations: 0 / 1.226 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.8129, allocations: 3.938 kB / 1.226 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.813, allocations: 189.6 kB / 1.226 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.813, allocations: 320 / 1.226 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.093e-05/0.8131, allocations: 15.86 kB / 1.226 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.8131, allocations: 4 kB / 1.226 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.8131, allocations: 4 kB / 1.226 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.8131, allocations: 0 / 1.226 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.8131, allocations: 0 / 1.226 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002607/0.8134, allocations: 129 kB / 1.226 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.7e-05/0.8134, allocations: 89 kB / 1.226 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.8134, allocations: 4 kB / 1.226 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.725e-05/0.8135, allocations: 7.984 kB / 1.226 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.939e-05/0.8136, allocations: 19.92 kB / 1.226 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.8136, allocations: 3.984 kB / 1.226 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.703e-05/0.8136, allocations: 95.27 kB / 1.227 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of sort global known variables: time 6e-08/0.8136, allocations: 0 / 1.227 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000216/0.8138, allocations: 24 kB / 1.227 GB, free: 11.64 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,conEquSta.onBoi,conEquSta.hys.y,onSys.y) * Number of discrete states: 1 (conEquSta.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001285/0.814, allocations: 115.1 kB / 1.227 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000352/0.8143, allocations: 151.3 kB / 1.227 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.8143, allocations: 0 / 1.227 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.8144, allocations: 35.92 kB / 1.227 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001976/0.8146, allocations: 12.11 kB / 1.227 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003689/0.815, allocations: 178.8 kB / 1.227 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.8153, allocations: 0.6963 MB / 1.228 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.067e-05/0.8153, allocations: 4 kB / 1.228 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.029e-05/0.8153, allocations: 15.44 kB / 1.228 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of SimCode: time 3.21e-07/0.8153, allocations: 4 kB / 1.228 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of Templates: time 0.004188/0.8195, allocations: 1.634 MB / 1.229 GB, free: 8.754 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile (rm -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches