Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001888/0.001888, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002528/0.002528, allocations: 193.8 kB / 16.25 MB, free: 6.629 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.509/1.509, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.513/2.513, allocations: 390.2 MB / 0.6643 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.00145, allocations: 67.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8114/0.8129, allocations: 140.4 MB / 0.9491 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.003555/0.8165, allocations: 0.862 MB / 0.9499 GB, free: 8.441 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001992/0.8185, allocations: 1.146 MB / 0.9511 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.314e-05/0.8186, allocations: 1.375 kB / 0.9511 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.346e-05/0.8187, allocations: 7.922 kB / 0.9511 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.8189, allocations: 9.297 kB / 0.9511 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005291/0.8194, allocations: 131 kB / 0.9512 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000178/0.8196, allocations: 147 kB / 0.9513 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.8197, allocations: 37.72 kB / 0.9514 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.8198, allocations: 55.22 kB / 0.9514 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.652e-05/0.8199, allocations: 56.17 kB / 0.9515 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.398e-05/0.82, allocations: 19.06 kB / 0.9515 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.938e-05/0.8201, allocations: 27.23 kB / 0.9515 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.778e-05/0.8201, allocations: 11.88 kB / 0.9515 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.83e-05/0.8202, allocations: 53.97 kB / 0.9516 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.8204, allocations: 152.4 kB / 0.9517 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.8204, allocations: 4 kB / 0.9517 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.964e-06/0.8204, allocations: 0 / 0.9517 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.8204, allocations: 1.062 kB / 0.9517 GB, free: 7.059 MB / 0.7169 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.0005749/0.821, allocations: 429.1 kB / 0.9522 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.8211, allocations: 9.938 kB / 0.9522 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.746e-05/0.8211, allocations: 11.88 kB / 0.9522 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.098e-05/0.8212, allocations: 176.3 kB / 0.9523 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.8212, allocations: 16.06 kB / 0.9524 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.827e-05/0.8213, allocations: 8.594 kB / 0.9524 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002158/0.8215, allocations: 93.39 kB / 0.9525 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.475e-06/0.8215, allocations: 192 / 0.9525 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.8215, allocations: 3.938 kB / 0.9525 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.8215, allocations: 2.156 kB / 0.9525 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001949/0.8217, allocations: 59.86 kB / 0.9525 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004736/0.8222, allocations: 388 kB / 0.9529 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001578/0.8224, allocations: 53.89 kB / 0.9529 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.426e-05/0.8225, allocations: 31.53 kB / 0.953 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.8225, allocations: 0 / 0.953 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002978/0.8228, allocations: 90.86 kB / 0.9531 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.8228, allocations: 0 / 0.9531 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0004316/0.8233, allocations: 122 kB / 0.9532 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.8233, allocations: 56.66 kB / 0.9532 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.725e-05/0.8234, allocations: 132 kB / 0.9534 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.8234, allocations: 29.55 kB / 0.9534 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.505e-05/0.8235, allocations: 100.9 kB / 0.9535 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.211e-05/0.8235, allocations: 22.58 kB / 0.9535 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.485e-05/0.8236, allocations: 33.11 kB / 0.9535 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.577e-05/0.8237, allocations: 320 kB / 0.9538 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.8238, allocations: 58.94 kB / 0.9539 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/0.824, allocations: 78.58 kB / 0.954 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002276/0.8242, allocations: 116.3 kB / 0.9541 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.8242, allocations: 7.969 kB / 0.9541 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003851/0.8246, allocations: 192.7 kB / 0.9543 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.258e-05/0.8247, allocations: 32.33 kB / 0.9543 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.8247, allocations: 1.156 kB / 0.9543 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.8247, allocations: 1.406 kB / 0.9543 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.903e-05/0.8248, allocations: 10.48 kB / 0.9543 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.8248, allocations: 0 / 0.9543 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002215/0.825, allocations: 52.17 kB / 0.9544 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.2e-05/0.8251, allocations: 8.328 kB / 0.9544 GB, free: 4.641 MB / 0.7169 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 8.348e-05/0.8252, allocations: 120.8 kB / 0.9545 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.475e-05/0.8252, allocations: 6.344 kB / 0.9545 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.823e-05/0.8252, allocations: 9.969 kB / 0.9545 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.8252, allocations: 1.938 kB / 0.9545 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.8252, allocations: 4 kB / 0.9545 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.8252, allocations: 7.922 kB / 0.9545 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001038/0.8253, allocations: 188.7 kB / 0.9547 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.8254, allocations: 1.438 kB / 0.9547 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.606e-05/0.8254, allocations: 12.52 kB / 0.9547 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.8254, allocations: 0.9375 kB / 0.9547 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.8254, allocations: 5.188 kB / 0.9547 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.8254, allocations: 96 / 0.9547 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.8255, allocations: 4.844 kB / 0.9547 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002539/0.8257, allocations: 130.5 kB / 0.9548 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.715e-05/0.8258, allocations: 78.64 kB / 0.9549 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/0.8258, allocations: 1.281 kB / 0.9549 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.332e-05/0.8258, allocations: 10.52 kB / 0.9549 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.502e-05/0.8259, allocations: 20.62 kB / 0.955 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.8259, allocations: 1.25 kB / 0.955 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.793e-05/0.826, allocations: 100.6 kB / 0.955 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.826, allocations: 1.25 kB / 0.955 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002276/0.8262, allocations: 32.69 kB / 0.9551 GB, free: 3.945 MB / 0.7169 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.0001302/0.8263, allocations: 103 kB / 0.9552 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003922/0.8267, allocations: 171.2 kB / 0.9553 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.8268, allocations: 3.938 kB / 0.9553 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.8269, allocations: 33.64 kB / 0.9554 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000204/0.8271, allocations: 13.92 kB / 0.9554 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000361/0.8275, allocations: 198.4 kB / 0.9556 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001305/0.8276, allocations: 0.6985 MB / 0.9563 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.61e-05/0.8276, allocations: 3.312 kB / 0.9563 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.902e-05/0.8277, allocations: 15.12 kB / 0.9563 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.8277, allocations: 0 / 0.9563 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of Templates: time 0.003923/0.8316, allocations: 1.529 MB / 0.9578 GB, free: 2.035 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches