Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.0008897/0.00089, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.0009004/0.0009004, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.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.498/2.498, allocations: 390.9 MB / 0.666 GB, free: 2.539 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004052/0.0004053, allocations: 8 kB / 0.8154 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7611/0.7616, allocations: 142.4 MB / 0.9544 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.001956/0.7636, allocations: 1.458 MB / 0.9559 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001806/0.7654, allocations: 1.496 MB / 0.9573 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.086e-05/0.7655, allocations: 4.812 kB / 0.9573 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001527/0.7656, allocations: 23.16 kB / 0.9573 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.7658, allocations: 18.14 kB / 0.9574 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000514/0.7663, allocations: 191.5 kB / 0.9575 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002469/0.7665, allocations: 206.4 kB / 0.9577 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.7667, allocations: 53.55 kB / 0.9578 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.7668, allocations: 73.42 kB / 0.9579 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.767, allocations: 62.78 kB / 0.9579 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.767, allocations: 5.156 kB / 0.9579 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003161/0.7673, allocations: 171 kB / 0.9581 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.67e-05/0.7674, allocations: 70.08 kB / 0.9582 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.239e-05/0.7675, allocations: 59.77 kB / 0.9582 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003218/0.7678, allocations: 271.5 kB / 0.9585 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.7678, allocations: 0 / 0.9585 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.52e-07/0.7678, allocations: 3.938 kB / 0.9585 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.7678, allocations: 1.344 kB / 0.9585 GB, free: 4.676 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0007471/0.7686, allocations: 0.5301 MB / 0.959 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.7686, allocations: 8.75 kB / 0.959 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.62e-05/0.7687, allocations: 25.64 kB / 0.959 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002003/0.7689, allocations: 244.9 kB / 0.9593 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.673e-05/0.7689, allocations: 21.94 kB / 0.9593 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.412e-05/0.769, allocations: 28.48 kB / 0.9593 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003307/0.7693, allocations: 201.2 kB / 0.9595 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.7693, allocations: 1.375 kB / 0.9595 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.078e-05/0.7694, allocations: 9.359 kB / 0.9595 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.7694, allocations: 8.062 kB / 0.9595 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002311/0.7696, allocations: 126.5 kB / 0.9596 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.7707, allocations: 0.601 MB / 0.9602 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007105/0.7715, allocations: 292.8 kB / 0.9605 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.7716, allocations: 97.97 kB / 0.9606 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.7717, allocations: 6.609 kB / 0.9606 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003007/0.772, allocations: 168.5 kB / 0.9608 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=26): time 1.583e-06/0.772, allocations: 4 kB / 0.9608 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of matching and sorting (n=26): time 0.0007302/0.7727, allocations: 389.3 kB / 0.9611 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.7728, allocations: 65.08 kB / 0.9612 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.7729, allocations: 180.7 kB / 0.9614 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.751e-05/0.773, allocations: 52.19 kB / 0.9614 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.967e-05/0.773, allocations: 121.1 kB / 0.9615 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.224e-05/0.7731, allocations: 80.59 kB / 0.9616 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.525e-05/0.7731, allocations: 9.031 kB / 0.9616 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.778e-05/0.7732, allocations: 343.1 kB / 0.962 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001975/0.7734, allocations: 113.5 kB / 0.9621 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000276/0.7737, allocations: 246 kB / 0.9623 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002347/0.7739, allocations: 150.9 kB / 0.9624 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.7739, allocations: 5.062 kB / 0.9624 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005908/0.7745, allocations: 413.3 kB / 0.9628 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.7746, allocations: 6.438 kB / 0.9628 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.7746, allocations: 12.58 kB / 0.9629 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/0.7746, allocations: 7.031 kB / 0.9629 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000214/0.7748, allocations: 65.44 kB / 0.9629 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.768e-05/0.7749, allocations: 6.469 kB / 0.9629 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/0.775, allocations: 43.3 kB / 0.963 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.543e-05/0.7751, allocations: 21.67 kB / 0.963 GB, free: 1.34 MB / 0.7169 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 ($PRE.pyt.firstTrigger,pyt.firstTrigger,$PRE.pyt.yR[2],pyt.yR[2],$PRE.pyt.uRIntPre[1],pyt.uRIntPre[1],$PRE.pyt.uRIntPre[2],pyt.uRIntPre[2],$PRE.pyt.uRIntPre[3],pyt.uRIntPre[3],$PRE.pyt.uRIntPre[4],pyt.uRIntPre[4],$PRE.pyt.uRWri[1],pyt.uRWri[1],$PRE.pyt.uRWri_temp[1],pyt.uRWri_temp[1],$PRE.pyt.uRWri[4],pyt.uRWri[4],$PRE.pyt.uRWri_temp[4],pyt.uRWri_temp[4],$whenCondition1,pyt.sampleTrigger,$PRE.pyt.yR[1],pyt.yR[1],$PRE.pyt.uRWri[3],pyt.uRWri[3],$PRE.pyt.uRWri_temp[3],pyt.uRWri_temp[3],$PRE.onOffCon.y,onOffCon.y,$PRE.pyt.uRWri[2],pyt.uRWri[2],$PRE.pyt.uRWri_temp[2],pyt.uRWri_temp[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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000202/0.7753, allocations: 183.5 kB / 0.9632 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.364e-05/0.7753, allocations: 17.94 kB / 0.9632 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.797e-05/0.7754, allocations: 25.14 kB / 0.9632 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.7754, allocations: 8.547 kB / 0.9632 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.938e-06/0.7754, allocations: 0 / 0.9632 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.7754, allocations: 11.92 kB / 0.9632 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009373/0.7764, allocations: 0.679 MB / 0.9639 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.7764, allocations: 0 / 0.9639 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.7765, allocations: 17.95 kB / 0.9639 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.7765, allocations: 5.047 kB / 0.9639 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.819e-05/0.7765, allocations: 12.67 kB / 0.9639 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.7765, allocations: 1.406 kB / 0.9639 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.7766, allocations: 4 kB / 0.9639 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008147/0.7774, allocations: 0.5064 MB / 0.9644 GB, free: 344 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.154e-05/0.7774, allocations: 101.4 kB / 0.9645 GB, free: 228 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.864e-05/0.7775, allocations: 19.59 kB / 0.9645 GB, free: 216 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001535/0.7777, allocations: 29.56 kB / 0.9646 GB, free: 200 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.685e-05/0.7777, allocations: 22.09 kB / 0.9646 GB, free: 188 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.674e-05/0.7778, allocations: 16.3 kB / 0.9646 GB, free: 180 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001005/0.7779, allocations: 120.7 kB / 0.9647 GB, free: 84 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7779, allocations: 0 / 0.9647 GB, free: 84 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0005216/0.7784, allocations: 107.2 kB / 0.9648 GB, free: 48 kB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008515/0.7793, allocations: 345.5 kB / 0.9652 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005538/0.7799, allocations: 269.2 kB / 0.9654 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.7799, allocations: 0 / 0.9654 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000221/0.7801, allocations: 104.5 kB / 0.9655 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.7804, allocations: 25.02 kB / 0.9655 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.7816, allocations: 0.5426 MB / 0.9661 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000406/0.782, allocations: 0.7478 MB / 0.9668 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001625/0.7822, allocations: 52.91 kB / 0.9668 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.502e-05/0.7822, allocations: 19.31 kB / 0.9669 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of SimCode: time 3.01e-07/0.7822, allocations: 0 / 0.9669 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of Templates: time 0.007287/0.7895, allocations: 3.011 MB / 0.9698 GB, free: 13.03 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.makefile (rm -f Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; mkfifo Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe >> ../files/Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.sim & ./Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_IO_Python_3_8_Examples_SimpleRoom.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches