Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.007843/0.007843, allocations: 100.8 kB / 15.73 MB, free: 5.953 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.001811/0.001811, allocations: 196.9 kB / 16.68 MB, free: 5.875 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.637/2.637, allocations: 469.8 MB / 0.7425 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 64.11 kB / 1.065 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8485/0.8498, allocations: 159.1 MB / 1.221 GB, free: 2.047 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.003325/0.8531, allocations: 1.82 MB / 1.222 GB, free: 220 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002698/0.8558, allocations: 1.608 MB / 1.224 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.8559, allocations: 0 / 1.224 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001877/0.8561, allocations: 31.72 kB / 1.224 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001327/0.8563, allocations: 23.8 kB / 1.224 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007412/0.857, allocations: 239.3 kB / 1.224 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003242/0.8573, allocations: 247.4 kB / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001636/0.8575, allocations: 49.53 kB / 1.224 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002164/0.8577, allocations: 83.81 kB / 1.225 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001702/0.8579, allocations: 91.59 kB / 1.225 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.749e-05/0.8579, allocations: 16 kB / 1.225 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004542/0.8584, allocations: 219.6 kB / 1.225 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001409/0.8585, allocations: 79.8 kB / 1.225 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.8586, allocations: 95.45 kB / 1.225 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006271/0.8593, allocations: 383.2 kB / 1.225 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.8593, allocations: 0 / 1.225 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.022e-06/0.8593, allocations: 0 / 1.225 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.8593, allocations: 3.938 kB / 1.225 GB, free: 13.07 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.000889/0.8602, allocations: 0.572 MB / 1.226 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.8602, allocations: 12.02 kB / 1.226 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.995e-05/0.8603, allocations: 28.8 kB / 1.226 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003361/0.8606, allocations: 252.9 kB / 1.226 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.718e-05/0.8606, allocations: 16.38 kB / 1.226 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.361e-05/0.8607, allocations: 27.94 kB / 1.226 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003854/0.8611, allocations: 209.3 kB / 1.226 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.8611, allocations: 4 kB / 1.226 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.516e-05/0.8611, allocations: 8 kB / 1.227 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.8611, allocations: 4 kB / 1.227 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002438/0.8614, allocations: 111.9 kB / 1.227 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001269/0.8626, allocations: 0.5897 MB / 1.227 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003583/0.863, allocations: 192.8 kB / 1.227 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001587/0.8631, allocations: 92.89 kB / 1.227 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.8632, allocations: 7.938 kB / 1.227 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003122/0.8635, allocations: 172 kB / 1.228 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=27): time 1.864e-06/0.8635, allocations: 3.938 kB / 1.228 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of matching and sorting (n=27): time 0.0007163/0.8642, allocations: 398.7 kB / 1.228 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/0.8643, allocations: 67.39 kB / 1.228 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/0.8644, allocations: 186.6 kB / 1.228 GB, free: 9.957 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.109e-05/0.8645, allocations: 49.69 kB / 1.228 GB, free: 9.902 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.8646, allocations: 121.1 kB / 1.228 GB, free: 9.777 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.403e-05/0.8647, allocations: 91.3 kB / 1.229 GB, free: 9.688 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.8648, allocations: 86.12 kB / 1.229 GB, free: 9.598 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.8649, allocations: 334.8 kB / 1.229 GB, free: 9.262 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002049/0.8651, allocations: 116.8 kB / 1.229 GB, free: 9.148 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000296/0.8654, allocations: 253.5 kB / 1.229 GB, free: 8.84 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004777/0.8659, allocations: 371.9 kB / 1.23 GB, free: 8.418 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.8659, allocations: 7.938 kB / 1.23 GB, free: 8.41 MB / 0.9512 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006376/0.8665, allocations: 420.8 kB / 1.23 GB, free: 7.992 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.8665, allocations: 8 kB / 1.23 GB, free: 7.984 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.8665, allocations: 4 kB / 1.23 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.186e-05/0.8666, allocations: 8 kB / 1.23 GB, free: 7.973 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00022/0.8668, allocations: 64.31 kB / 1.23 GB, free: 7.91 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-05/0.8668, allocations: 15.98 kB / 1.23 GB, free: 7.895 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/0.867, allocations: 27.84 kB / 1.23 GB, free: 7.867 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.337e-05/0.867, allocations: 16 kB / 1.23 GB, free: 7.852 MB / 0.9512 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,pyt.uRWri_temp[2],$PRE.pyt.uRWri_temp[2],pyt.uRWri[2],$PRE.pyt.uRWri[2],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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 51 * 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.0002062/0.8672, allocations: 188.2 kB / 1.23 GB, free: 7.656 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.989e-05/0.8672, allocations: 31.84 kB / 1.23 GB, free: 7.625 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.246e-05/0.8673, allocations: 18.56 kB / 1.23 GB, free: 7.609 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.8673, allocations: 0 / 1.23 GB, free: 7.609 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.8673, allocations: 4 kB / 1.23 GB, free: 7.605 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.8673, allocations: 3.984 kB / 1.23 GB, free: 7.602 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009599/0.8682, allocations: 0.6784 MB / 1.231 GB, free: 6.867 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.8682, allocations: 4 kB / 1.231 GB, free: 6.863 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.8684, allocations: 23.98 kB / 1.231 GB, free: 6.84 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.8684, allocations: 0 / 1.231 GB, free: 6.84 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.458e-05/0.8684, allocations: 11.98 kB / 1.231 GB, free: 6.828 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.8684, allocations: 4 kB / 1.231 GB, free: 6.824 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.8684, allocations: 0 / 1.231 GB, free: 6.824 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007154/0.8691, allocations: 0.5124 MB / 1.232 GB, free: 6.297 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.208e-05/0.8692, allocations: 96.95 kB / 1.232 GB, free: 6.184 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.982e-05/0.8692, allocations: 15.98 kB / 1.232 GB, free: 6.168 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.8693, allocations: 11.98 kB / 1.232 GB, free: 6.156 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.021e-05/0.8694, allocations: 23.97 kB / 1.232 GB, free: 6.133 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-05/0.8694, allocations: 11.98 kB / 1.232 GB, free: 6.121 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001002/0.8695, allocations: 136.2 kB / 1.232 GB, free: 5.988 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8695, allocations: 0 / 1.232 GB, free: 5.988 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005108/0.8701, allocations: 119.5 kB / 1.232 GB, free: 5.871 MB / 0.9512 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 (26): * Single equations (assignments): 12 * 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.0008199/0.8709, allocations: 338.4 kB / 1.232 GB, free: 5.594 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005131/0.8714, allocations: 267.6 kB / 1.233 GB, free: 5.332 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.8714, allocations: 0 / 1.233 GB, free: 5.332 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001961/0.8716, allocations: 95.89 kB / 1.233 GB, free: 5.238 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/0.8719, allocations: 19.98 kB / 1.233 GB, free: 5.219 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009459/0.8728, allocations: 0.5004 MB / 1.233 GB, free: 4.695 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.8732, allocations: 0.7557 MB / 1.234 GB, free: 3.914 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001318/0.8733, allocations: 58.41 kB / 1.234 GB, free: 3.855 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.305e-05/0.8733, allocations: 19.44 kB / 1.234 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of SimCode: time 4.11e-07/0.8733, allocations: 0 / 1.234 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of Templates: time 0.00714/0.8805, allocations: 3.326 MB / 1.237 GB, free: 0.5117 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.makefile (rm -f Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.sim & ./Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_Python_3_8_Examples_SimpleRoom.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches