Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Utilities.IO.Python_3_8.Examples.SimpleRoom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TAmb.y|onOffCon.u|pyt.yR.2.",fileNamePrefix="Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom") translateModel(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TAmb.y|onOffCon.u|pyt.yR.2.",fileNamePrefix="Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007979/0.007979, allocations: 96.31 kB / 15.73 MB, free: 6.035 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.001816/0.001817, allocations: 195.6 kB / 16.67 MB, free: 5.961 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.63/2.63, allocations: 437 MB / 0.7105 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 60.05 kB / 1.019 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.326, allocations: 151.6 MB / 1.167 GB, free: 6.867 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.003018/0.329, allocations: 1.771 MB / 1.168 GB, free: 5.074 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002427/0.3315, allocations: 1.596 MB / 1.17 GB, free: 3.469 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.422e-05/0.3316, allocations: 11.88 kB / 1.17 GB, free: 3.457 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001939/0.3318, allocations: 23.78 kB / 1.17 GB, free: 3.434 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001174/0.332, allocations: 23.81 kB / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006625/0.3326, allocations: 243.2 kB / 1.17 GB, free: 3.172 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003012/0.3329, allocations: 235.6 kB / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001567/0.3331, allocations: 61.88 kB / 1.17 GB, free: 2.875 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.3333, allocations: 95.69 kB / 1.171 GB, free: 2.781 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.3334, allocations: 75.73 kB / 1.171 GB, free: 2.707 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.904e-05/0.3334, allocations: 12 kB / 1.171 GB, free: 2.695 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004002/0.3339, allocations: 211.6 kB / 1.171 GB, free: 2.488 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.334, allocations: 83.8 kB / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.3341, allocations: 95.45 kB / 1.171 GB, free: 2.312 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005294/0.3346, allocations: 374.6 kB / 1.171 GB, free: 1.945 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.3347, allocations: 0 / 1.171 GB, free: 1.945 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.094e-06/0.3347, allocations: 0 / 1.171 GB, free: 1.945 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.3347, allocations: 4 kB / 1.171 GB, free: 1.941 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001075/0.3358, allocations: 0.5802 MB / 1.172 GB, free: 1.309 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.3358, allocations: 12.03 kB / 1.172 GB, free: 1.297 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.731e-05/0.3359, allocations: 24.8 kB / 1.172 GB, free: 1.273 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.3361, allocations: 240 kB / 1.172 GB, free: 1 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.734e-05/0.3362, allocations: 24.69 kB / 1.172 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.621e-05/0.3362, allocations: 23.94 kB / 1.172 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003599/0.3366, allocations: 208.1 kB / 1.172 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.3366, allocations: 0 / 1.172 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.118e-05/0.3366, allocations: 4 kB / 1.172 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.3366, allocations: 4 kB / 1.172 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002457/0.3369, allocations: 120.5 kB / 1.173 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001282/0.3382, allocations: 0.586 MB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00082/0.339, allocations: 278.4 kB / 1.173 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001594/0.3392, allocations: 96.75 kB / 1.173 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.3392, allocations: 8 kB / 1.173 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003101/0.3395, allocations: 166.3 kB / 1.174 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=26): time 4.569e-06/0.3396, allocations: 0 / 1.174 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of matching and sorting (n=26): time 0.0006867/0.3402, allocations: 389.9 kB / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.332e-05/0.3403, allocations: 71.39 kB / 1.174 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.3405, allocations: 182.3 kB / 1.174 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.981e-05/0.3405, allocations: 45.69 kB / 1.174 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.466e-05/0.3406, allocations: 124.7 kB / 1.174 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.568e-05/0.3407, allocations: 83.41 kB / 1.175 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.3408, allocations: 78.12 kB / 1.175 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.3409, allocations: 342.8 kB / 1.175 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001966/0.3411, allocations: 112.8 kB / 1.175 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002729/0.3414, allocations: 248.5 kB / 1.175 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004557/0.3419, allocations: 368 kB / 1.176 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.3419, allocations: 0 / 1.176 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006275/0.3425, allocations: 420.9 kB / 1.176 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.3426, allocations: 4.469 kB / 1.176 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.3426, allocations: 12 kB / 1.176 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.3426, allocations: 4 kB / 1.176 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001939/0.3428, allocations: 59.84 kB / 1.176 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.3428, allocations: 8 kB / 1.176 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/0.343, allocations: 43.77 kB / 1.176 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.517e-05/0.343, allocations: 19.98 kB / 1.176 GB, free: 12.69 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 34 (pyt.firstTrigger,$PRE.pyt.firstTrigger,pyt.yR[2],$PRE.pyt.yR[2],pyt.uRIntPre[1],$PRE.pyt.uRIntPre[1],pyt.uRIntPre[2],$PRE.pyt.uRIntPre[2],pyt.uRIntPre[3],$PRE.pyt.uRIntPre[3],pyt.uRIntPre[4],$PRE.pyt.uRIntPre[4],pyt.uRWri_temp[1],$PRE.pyt.uRWri_temp[1],pyt.uRWri[1],$PRE.pyt.uRWri[1],pyt.uRWri_temp[4],$PRE.pyt.uRWri_temp[4],pyt.uRWri[4],$PRE.pyt.uRWri[4],pyt.sampleTrigger,$whenCondition1,onOffCon.y,$PRE.onOffCon.y,pyt.uRWri_temp[3],$PRE.pyt.uRWri_temp[3],pyt.uRWri[3],$PRE.pyt.uRWri[3],pyt.yR[1],$PRE.pyt.yR[1],pyt.uRWri_temp[2],$PRE.pyt.uRWri_temp[2],pyt.uRWri[2],$PRE.pyt.uRWri[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * 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.0001748/0.3432, allocations: 193.2 kB / 1.176 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.402e-05/0.3433, allocations: 27.84 kB / 1.176 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.429e-05/0.3433, allocations: 17.88 kB / 1.176 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.3433, allocations: 0 / 1.176 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.3433, allocations: 0 / 1.176 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.3433, allocations: 4 kB / 1.176 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009449/0.3443, allocations: 0.6803 MB / 1.177 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.3443, allocations: 3.984 kB / 1.177 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.3444, allocations: 12 kB / 1.177 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.3444, allocations: 4 kB / 1.177 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.624e-05/0.3445, allocations: 7.984 kB / 1.177 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3445, allocations: 0 / 1.177 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3445, allocations: 0 / 1.177 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007053/0.3452, allocations: 0.5167 MB / 1.178 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.739e-05/0.3453, allocations: 92.95 kB / 1.178 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.619e-05/0.3453, allocations: 23.97 kB / 1.178 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.3455, allocations: 19.97 kB / 1.178 GB, free: 11 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.878e-05/0.3455, allocations: 15.98 kB / 1.178 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.311e-05/0.3456, allocations: 11.98 kB / 1.178 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001146/0.3457, allocations: 143.2 kB / 1.178 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3457, allocations: 0 / 1.178 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004646/0.3462, allocations: 111.6 kB / 1.178 GB, free: 10.72 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (pyt.uRInt[1],pyt.uRInt[2],pyt.uRInt[3],pyt.uRInt[4]) * Number of discrete variables: 18 (pyt.sampleTrigger,$whenCondition1,pyt.firstTrigger,pyt.yR[1],pyt.yR[2],pyt.uRIntPre[1],pyt.uRIntPre[2],pyt.uRIntPre[3],pyt.uRIntPre[4],pyt.uRWri[1],pyt.uRWri[2],pyt.uRWri[3],pyt.uRWri[4],pyt.uRWri_temp[1],pyt.uRWri_temp[2],pyt.uRWri_temp[3],pyt.uRWri_temp[4],onOffCon.y) * Number of discrete states: 5 (pyt.uR[1],pyt.uR[2],pyt.uR[3],pyt.uR[4],onOffCon.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0006999/0.3469, allocations: 335.4 kB / 1.178 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005148/0.3474, allocations: 279 kB / 1.179 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3474, allocations: 0 / 1.179 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001877/0.3476, allocations: 112 kB / 1.179 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.3479, allocations: 24.36 kB / 1.179 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008614/0.3488, allocations: 495.6 kB / 1.179 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.3492, allocations: 0.7402 MB / 1.18 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001353/0.3493, allocations: 54.25 kB / 1.18 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.779e-05/0.3493, allocations: 23.42 kB / 1.18 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of SimCode: time 4.11e-07/0.3494, allocations: 0 / 1.18 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of Templates: time 0.006675/0.356, allocations: 3.256 MB / 1.183 GB, free: 5.445 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.makefile (rm -f Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.sim & ./Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_IO_Python_3_8_Examples_SimpleRoom.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches