Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.006152/0.006152, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001259/0.001258, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.544/2.544, allocations: 461.9 MB / 0.7348 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 72.11 kB / 1.054 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8277/0.829, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.003236/0.8323, allocations: 1.812 MB / 1.209 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002404/0.8347, allocations: 1.604 MB / 1.211 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.007e-05/0.8349, allocations: 4 kB / 1.211 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000188/0.8351, allocations: 23.73 kB / 1.211 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001208/0.8352, allocations: 23.78 kB / 1.211 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007181/0.8359, allocations: 239.3 kB / 1.211 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003162/0.8363, allocations: 259.4 kB / 1.212 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.8364, allocations: 57.53 kB / 1.212 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/0.8366, allocations: 83.81 kB / 1.212 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001379/0.8367, allocations: 87.66 kB / 1.212 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.827e-05/0.8368, allocations: 16 kB / 1.212 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003799/0.8372, allocations: 215.6 kB / 1.212 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.8373, allocations: 75.8 kB / 1.212 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.8374, allocations: 99.45 kB / 1.212 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000442/0.8379, allocations: 390.7 kB / 1.213 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.8379, allocations: 0 / 1.213 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of FrontEnd: time 8.32e-07/0.8379, allocations: 0 / 1.213 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.8379, allocations: 0 / 1.213 GB, free: 8.652 MB / 0.9356 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.000892/0.8388, allocations: 0.5551 MB / 1.213 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.8388, allocations: 16.02 kB / 1.213 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.529e-05/0.8389, allocations: 20.75 kB / 1.213 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003121/0.8392, allocations: 260.7 kB / 1.213 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.028e-05/0.8393, allocations: 20.38 kB / 1.213 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.825e-05/0.8393, allocations: 23.94 kB / 1.213 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004148/0.8397, allocations: 213.1 kB / 1.214 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.669e-06/0.8397, allocations: 4 kB / 1.214 GB, free: 7.457 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.191e-05/0.8398, allocations: 4 kB / 1.214 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.8398, allocations: 4 kB / 1.214 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002401/0.84, allocations: 127.8 kB / 1.214 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001225/0.8413, allocations: 0.5818 MB / 1.214 GB, free: 6.691 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003421/0.8416, allocations: 202.5 kB / 1.215 GB, free: 6.484 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.8418, allocations: 105.2 kB / 1.215 GB, free: 6.379 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.8418, allocations: 3.938 kB / 1.215 GB, free: 6.375 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003609/0.8422, allocations: 173.5 kB / 1.215 GB, free: 6.195 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=27): time 1.643e-06/0.8422, allocations: 0 / 1.215 GB, free: 6.195 MB / 0.9356 GB Notification: Performance of matching and sorting (n=27): time 0.0007279/0.8429, allocations: 391.8 kB / 1.215 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.344e-05/0.843, allocations: 79.25 kB / 1.215 GB, free: 5.719 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.8432, allocations: 179.2 kB / 1.215 GB, free: 5.527 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.617e-05/0.8432, allocations: 49.69 kB / 1.215 GB, free: 5.473 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.8434, allocations: 128.9 kB / 1.216 GB, free: 5.34 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.3e-05/0.8434, allocations: 83 kB / 1.216 GB, free: 5.258 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.8436, allocations: 82.12 kB / 1.216 GB, free: 5.172 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.8437, allocations: 338.8 kB / 1.216 GB, free: 4.832 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000197/0.8439, allocations: 112.8 kB / 1.216 GB, free: 4.719 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003196/0.8442, allocations: 253.5 kB / 1.216 GB, free: 4.414 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005059/0.8448, allocations: 367.9 kB / 1.217 GB, free: 3.996 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.174e-06/0.8448, allocations: 3.938 kB / 1.217 GB, free: 3.992 MB / 0.9356 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006447/0.8454, allocations: 424.8 kB / 1.217 GB, free: 3.57 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.164e-05/0.8455, allocations: 8 kB / 1.217 GB, free: 3.562 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.8455, allocations: 4 kB / 1.217 GB, free: 3.559 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.8455, allocations: 4 kB / 1.217 GB, free: 3.555 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.8457, allocations: 64.31 kB / 1.217 GB, free: 3.492 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.843e-05/0.8458, allocations: 15.98 kB / 1.217 GB, free: 3.477 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001386/0.8459, allocations: 31.69 kB / 1.217 GB, free: 3.445 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.861e-05/0.8459, allocations: 20 kB / 1.217 GB, free: 3.426 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,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.0002116/0.8461, allocations: 180.2 kB / 1.217 GB, free: 3.242 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.72e-05/0.8462, allocations: 27.73 kB / 1.217 GB, free: 3.215 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.034e-05/0.8463, allocations: 18.56 kB / 1.218 GB, free: 3.199 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.8463, allocations: 4 kB / 1.218 GB, free: 3.195 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.8463, allocations: 0 / 1.218 GB, free: 3.195 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.8463, allocations: 3.984 kB / 1.218 GB, free: 3.191 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.8473, allocations: 0.6936 MB / 1.218 GB, free: 2.441 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.8474, allocations: 0 / 1.218 GB, free: 2.441 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.8475, allocations: 19.98 kB / 1.218 GB, free: 2.422 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.8475, allocations: 0 / 1.218 GB, free: 2.422 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.46e-05/0.8475, allocations: 15.98 kB / 1.218 GB, free: 2.406 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.8475, allocations: 0 / 1.218 GB, free: 2.406 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.8475, allocations: 0 / 1.218 GB, free: 2.406 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007086/0.8483, allocations: 0.5123 MB / 1.219 GB, free: 1.879 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.552e-05/0.8483, allocations: 100.8 kB / 1.219 GB, free: 1.762 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.813e-05/0.8484, allocations: 19.98 kB / 1.219 GB, free: 1.742 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.8485, allocations: 11.98 kB / 1.219 GB, free: 1.73 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.522e-05/0.8486, allocations: 19.97 kB / 1.219 GB, free: 1.711 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.872e-05/0.8486, allocations: 11.98 kB / 1.219 GB, free: 1.699 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.42e-05/0.8487, allocations: 131.2 kB / 1.219 GB, free: 1.57 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8487, allocations: 0 / 1.219 GB, free: 1.57 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004524/0.8492, allocations: 107.9 kB / 1.219 GB, free: 1.465 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 (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.0006794/0.8499, allocations: 332.5 kB / 1.219 GB, free: 1.195 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004794/0.8504, allocations: 284 kB / 1.22 GB, free: 0.918 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8504, allocations: 3.938 kB / 1.22 GB, free: 0.9141 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000184/0.8506, allocations: 111.3 kB / 1.22 GB, free: 0.8086 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.8509, allocations: 19.98 kB / 1.22 GB, free: 0.7891 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009433/0.8519, allocations: 0.4933 MB / 1.22 GB, free: 280 kB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004072/0.8523, allocations: 0.7558 MB / 1.221 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001395/0.8524, allocations: 54.25 kB / 1.221 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.627e-05/0.8525, allocations: 19.44 kB / 1.221 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of SimCode: time 2.265e-06/0.8525, allocations: 0 / 1.221 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of Templates: time 0.006938/0.8594, allocations: 3.315 MB / 1.224 GB, free: 12.11 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.makefile (rm -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.sim & ./Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Python_3_8_Examples_SimpleRoom.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches