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.001364/0.001364, allocations: 105.6 kB / 15.98 MB, free: 6.34 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.001357/0.001356, allocations: 196.5 kB / 16.91 MB, free: 6.191 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.452/1.452, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.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.308/2.308, allocations: 390.2 MB / 0.665 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 62.77 kB / 0.8127 GB, free: 33.21 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3398, allocations: 140.4 MB / 0.9498 GB, free: 9.25 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.00256/0.3424, allocations: 0.8714 MB / 0.9506 GB, free: 8.371 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001694/0.3441, allocations: 1.152 MB / 0.9518 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.318e-05/0.3442, allocations: 0 / 0.9518 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.718e-05/0.3443, allocations: 3.938 kB / 0.9518 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.3444, allocations: 7.938 kB / 0.9518 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005798/0.345, allocations: 131.6 kB / 0.9519 GB, free: 7.066 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002276/0.3452, allocations: 151.7 kB / 0.952 GB, free: 6.918 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001474/0.3454, allocations: 27.98 kB / 0.9521 GB, free: 6.891 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.3455, allocations: 63.83 kB / 0.9521 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.3456, allocations: 51.81 kB / 0.9522 GB, free: 6.777 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.814e-05/0.3457, allocations: 16 kB / 0.9522 GB, free: 6.762 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.708e-05/0.3458, allocations: 31.92 kB / 0.9522 GB, free: 6.73 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.202e-05/0.3458, allocations: 19.97 kB / 0.9522 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.39e-05/0.3459, allocations: 51.78 kB / 0.9523 GB, free: 6.66 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001818/0.3461, allocations: 104.1 kB / 0.9524 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3461, allocations: 0 / 0.9524 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.843e-06/0.3461, allocations: 0 / 0.9524 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.3461, allocations: 0 / 0.9524 GB, free: 6.559 MB / 0.7325 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.0007527/0.3469, allocations: 440.8 kB / 0.9528 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.3469, allocations: 8.031 kB / 0.9528 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.29e-05/0.347, allocations: 16.83 kB / 0.9528 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.3472, allocations: 176.2 kB / 0.953 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.3472, allocations: 8.375 kB / 0.953 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.84e-05/0.3472, allocations: 8.375 kB / 0.953 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002601/0.3475, allocations: 94.12 kB / 0.9531 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.3475, allocations: 192 / 0.9531 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.3475, allocations: 11.94 kB / 0.9531 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.3476, allocations: 0 / 0.9531 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002061/0.3478, allocations: 55.95 kB / 0.9532 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006198/0.3484, allocations: 388.5 kB / 0.9535 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.3486, allocations: 50.55 kB / 0.9536 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.675e-05/0.3487, allocations: 24.94 kB / 0.9536 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/0.3487, allocations: 0 / 0.9536 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002955/0.349, allocations: 91.3 kB / 0.9537 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 1.683e-06/0.349, allocations: 0 / 0.9537 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.0004405/0.3495, allocations: 125.5 kB / 0.9538 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/0.3495, allocations: 55.41 kB / 0.9539 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.3496, allocations: 129.7 kB / 0.954 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.12e-05/0.3497, allocations: 29.7 kB / 0.954 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.752e-05/0.3498, allocations: 96.05 kB / 0.9541 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.06e-05/0.3498, allocations: 19.8 kB / 0.9541 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.886e-05/0.3499, allocations: 41.64 kB / 0.9542 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.35, allocations: 318.8 kB / 0.9545 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.3502, allocations: 48.22 kB / 0.9545 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001809/0.3503, allocations: 87.33 kB / 0.9546 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002492/0.3506, allocations: 120.3 kB / 0.9547 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.3506, allocations: 0 / 0.9547 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004367/0.3511, allocations: 195.1 kB / 0.9549 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.286e-05/0.3511, allocations: 41.77 kB / 0.9549 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.3511, allocations: 0 / 0.9549 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.3511, allocations: 4 kB / 0.9549 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.3513, allocations: 15.86 kB / 0.955 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.3513, allocations: 0 / 0.955 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002351/0.3515, allocations: 39.89 kB / 0.955 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.556e-05/0.3515, allocations: 11.98 kB / 0.955 GB, free: 3.59 MB / 0.7325 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.0001243/0.3517, allocations: 127.8 kB / 0.9551 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.89e-05/0.3517, allocations: 7.906 kB / 0.9551 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.431e-05/0.3517, allocations: 8.375 kB / 0.9552 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.3517, allocations: 4 kB / 0.9552 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.3518, allocations: 0 / 0.9552 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.3518, allocations: 7.922 kB / 0.9552 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000161/0.3519, allocations: 181.6 kB / 0.9553 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3519, allocations: 0 / 0.9553 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.48e-05/0.352, allocations: 11.98 kB / 0.9553 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.352, allocations: 4 kB / 0.9554 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.352, allocations: 4 kB / 0.9554 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.3521, allocations: 3.938 kB / 0.9554 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3521, allocations: 0 / 0.9554 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002663/0.3523, allocations: 124.9 kB / 0.9555 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.891e-05/0.3524, allocations: 85.02 kB / 0.9556 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.3524, allocations: 3.984 kB / 0.9556 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.311e-05/0.3525, allocations: 8 kB / 0.9556 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.603e-05/0.3526, allocations: 23.91 kB / 0.9556 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.3526, allocations: 0 / 0.9556 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.649e-05/0.3526, allocations: 95.27 kB / 0.9557 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3526, allocations: 0 / 0.9557 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002322/0.3529, allocations: 24 kB / 0.9557 GB, free: 2.785 MB / 0.7325 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.0001678/0.3531, allocations: 107.3 kB / 0.9558 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003934/0.3535, allocations: 179.4 kB / 0.956 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.3535, allocations: 0 / 0.956 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001277/0.3536, allocations: 39.91 kB / 0.956 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.3538, allocations: 13.88 kB / 0.956 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004699/0.3543, allocations: 237 kB / 0.9563 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/0.3546, allocations: 0.6922 MB / 0.9569 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.85e-05/0.3546, allocations: 11.44 kB / 0.9569 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.3546, allocations: 0 / 0.9569 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of Templates: time 0.003559/0.3582, allocations: 1.353 MB / 0.9583 GB, free: 96 kB / 0.7325 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/jenkins1/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