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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001195/0.001195, allocations: 112.9 kB / 16.37 MB, free: 6.012 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.001243/0.001243, allocations: 193.8 kB / 17.3 MB, free: 5.613 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.198/1.198, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.002/2.002, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 61.69 kB / 0.814 GB, free: 32.62 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.2287, allocations: 140.4 MB / 0.9511 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001908/0.2307, allocations: 0.814 MB / 0.9519 GB, free: 7.223 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001191/0.2319, allocations: 1.155 MB / 0.9531 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.253e-05/0.2319, allocations: 0 / 0.9531 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.142e-05/0.232, allocations: 11.88 kB / 0.9531 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.847e-05/0.2321, allocations: 19.84 kB / 0.9531 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004167/0.2325, allocations: 142.8 kB / 0.9532 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001643/0.2327, allocations: 139.8 kB / 0.9534 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.2328, allocations: 43.95 kB / 0.9534 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.292e-05/0.2329, allocations: 63.83 kB / 0.9535 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.091e-05/0.233, allocations: 55.8 kB / 0.9535 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.387e-05/0.233, allocations: 12 kB / 0.9535 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.324e-05/0.2331, allocations: 31.92 kB / 0.9536 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.775e-05/0.2331, allocations: 19.92 kB / 0.9536 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.268e-05/0.2332, allocations: 55.83 kB / 0.9536 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.2333, allocations: 147.6 kB / 0.9538 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2333, allocations: 3.984 kB / 0.9538 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2333, allocations: 0 / 0.9538 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.608e-06/0.2333, allocations: 0 / 0.9538 GB, free: 5.32 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.0005478/0.2339, allocations: 436.8 kB / 0.9542 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.2339, allocations: 15.97 kB / 0.9542 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.398e-05/0.234, allocations: 8.844 kB / 0.9542 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.114e-05/0.2341, allocations: 176.2 kB / 0.9544 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.2341, allocations: 8.375 kB / 0.9544 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.997e-05/0.2341, allocations: 12.38 kB / 0.9544 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.2343, allocations: 89.95 kB / 0.9545 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.2343, allocations: 192 / 0.9545 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.2344, allocations: 3.938 kB / 0.9545 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.2344, allocations: 4 kB / 0.9545 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001747/0.2345, allocations: 55.95 kB / 0.9545 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004647/0.235, allocations: 384.5 kB / 0.9549 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/0.2352, allocations: 54.55 kB / 0.955 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.371e-05/0.2353, allocations: 28.94 kB / 0.955 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.354e-05/0.2353, allocations: 0 / 0.955 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001738/0.2355, allocations: 91.3 kB / 0.9551 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.2355, allocations: 0 / 0.9551 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.0003566/0.2358, allocations: 125.5 kB / 0.9552 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.2359, allocations: 51.41 kB / 0.9552 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.508e-05/0.236, allocations: 137.7 kB / 0.9554 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.009e-05/0.236, allocations: 29.7 kB / 0.9554 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.377e-05/0.2361, allocations: 104 kB / 0.9555 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.497e-05/0.2361, allocations: 7.812 kB / 0.9555 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.393e-05/0.2362, allocations: 37.7 kB / 0.9555 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.707e-05/0.2363, allocations: 322.8 kB / 0.9559 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.2364, allocations: 47.97 kB / 0.9559 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.2366, allocations: 79.39 kB / 0.956 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002085/0.2368, allocations: 116.4 kB / 0.9561 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2368, allocations: 0 / 0.9561 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003621/0.2371, allocations: 207.2 kB / 0.9563 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.999e-05/0.2372, allocations: 33.7 kB / 0.9563 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.2372, allocations: 4 kB / 0.9563 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.2372, allocations: 3.984 kB / 0.9563 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.447e-05/0.2373, allocations: 4 kB / 0.9563 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.2373, allocations: 4 kB / 0.9563 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.2375, allocations: 43.95 kB / 0.9564 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.2375, allocations: 7.984 kB / 0.9564 GB, free: 2.371 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 8.884e-05/0.2376, allocations: 127.8 kB / 0.9565 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.239e-05/0.2376, allocations: 3.906 kB / 0.9565 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.588e-05/0.2377, allocations: 12.47 kB / 0.9565 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.2377, allocations: 3.938 kB / 0.9565 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.2377, allocations: 3.984 kB / 0.9565 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.2377, allocations: 11.86 kB / 0.9565 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.2378, allocations: 189.6 kB / 0.9567 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2378, allocations: 0 / 0.9567 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.495e-05/0.2379, allocations: 11.98 kB / 0.9567 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.2379, allocations: 0 / 0.9567 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.2379, allocations: 4 kB / 0.9567 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2379, allocations: 0 / 0.9567 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2379, allocations: 0 / 0.9567 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002242/0.2381, allocations: 132.9 kB / 0.9569 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.522e-05/0.2382, allocations: 81.02 kB / 0.9569 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.2382, allocations: 3.984 kB / 0.9569 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.659e-05/0.2383, allocations: 8 kB / 0.9569 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.212e-05/0.2383, allocations: 19.91 kB / 0.957 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.2383, allocations: 4 kB / 0.957 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.325e-05/0.2384, allocations: 95.2 kB / 0.9571 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.2384, allocations: 0 / 0.9571 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002039/0.2386, allocations: 24 kB / 0.9571 GB, free: 1.555 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.0001122/0.2387, allocations: 103.2 kB / 0.9572 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003222/0.239, allocations: 167.5 kB / 0.9573 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.2391, allocations: 0 / 0.9573 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.2392, allocations: 48.03 kB / 0.9574 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001821/0.2394, allocations: 13.28 kB / 0.9574 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003031/0.2397, allocations: 179.1 kB / 0.9576 GB, free: 1.004 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001986/0.2399, allocations: 0.6961 MB / 0.9583 GB, free: 288 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.638e-05/0.2399, allocations: 0 / 0.9583 GB, free: 288 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.667e-05/0.2399, allocations: 11.44 kB / 0.9583 GB, free: 276 kB / 0.7325 GB Notification: Performance of SimCode: time 3.21e-07/0.24, allocations: 4 kB / 0.9583 GB, free: 272 kB / 0.7325 GB Notification: Performance of Templates: time 0.003557/0.2435, allocations: 1.648 MB / 0.9599 GB, free: 14.64 MB / 0.7481 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 -s cvode -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