Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 80.41 kB / 20.23 MB, free: 4.203 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 165.7 kB / 23.55 MB, free: 0.8906 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.502/1.502, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.818/2.818, allocations: 377.8 MB / 0.6232 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3361,variableFilter="time|TAmb.y|onOffCon.u|pyt.yR.2.",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom") translateModel(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3361,variableFilter="time|TAmb.y|onOffCon.u|pyt.yR.2.",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.8108 GB, free: 2.133 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.099e-05/3.258e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.003702/0.003735, allocations: 1.821 MB / 0.8126 GB, free: 320 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.003289/0.007024, allocations: 1.728 MB / 0.8142 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.007138, allocations: 4.594 kB / 0.8142 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002212/0.007359, allocations: 35.66 kB / 0.8143 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001326/0.007492, allocations: 20.77 kB / 0.8143 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009127/0.008404, allocations: 263.8 kB / 0.8146 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000424/0.008828, allocations: 253.9 kB / 0.8148 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000163/0.008991, allocations: 37.78 kB / 0.8148 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003586/0.00935, allocations: 139.7 kB / 0.815 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001707/0.009521, allocations: 75.77 kB / 0.815 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.744e-05/0.009558, allocations: 12 kB / 0.815 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004864/0.01004, allocations: 227.5 kB / 0.8153 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001451/0.01019, allocations: 80.81 kB / 0.8153 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.01031, allocations: 67.75 kB / 0.8154 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000716/0.01103, allocations: 422.6 kB / 0.8158 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.01103, allocations: 4.906 kB / 0.8158 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.82e-07/0.01103, allocations: 0 / 0.8158 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.01104, allocations: 1.344 kB / 0.8158 GB, free: 12.97 MB / 0.7761 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.001077/0.01212, allocations: 498.3 kB / 0.8163 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.01216, allocations: 8.031 kB / 0.8163 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002448/0.0124, allocations: 60.72 kB / 0.8164 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004535/0.01286, allocations: 196 kB / 0.8165 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.538e-05/0.01289, allocations: 20.38 kB / 0.8166 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.065e-05/0.01296, allocations: 24.36 kB / 0.8166 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004703/0.01343, allocations: 217.4 kB / 0.8168 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.01344, allocations: 0.9062 kB / 0.8168 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.635e-05/0.01347, allocations: 8 kB / 0.8168 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.01348, allocations: 4 kB / 0.8168 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002851/0.01376, allocations: 121 kB / 0.8169 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00136/0.01512, allocations: 481.8 kB / 0.8174 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003924/0.01552, allocations: 187 kB / 0.8176 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001854/0.0157, allocations: 86.19 kB / 0.8176 GB, free: 11 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/0.01573, allocations: 4 kB / 0.8176 GB, free: 11 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003461/0.01608, allocations: 178.5 kB / 0.8178 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=27): time 1.843e-06/0.01608, allocations: 0 / 0.8178 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of matching and sorting (n=27): time 0.0008742/0.01695, allocations: 403.3 kB / 0.8182 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.328e-05/0.01703, allocations: 67.39 kB / 0.8183 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.01723, allocations: 174.1 kB / 0.8184 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 6.313e-05/0.01729, allocations: 50.53 kB / 0.8185 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.01741, allocations: 129 kB / 0.8186 GB, free: 9.98 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.01751, allocations: 88.2 kB / 0.8187 GB, free: 9.895 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000133/0.01765, allocations: 78.19 kB / 0.8188 GB, free: 9.812 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001955/0.01784, allocations: 340.1 kB / 0.8191 GB, free: 9.473 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002496/0.01809, allocations: 112.9 kB / 0.8192 GB, free: 9.363 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003889/0.01848, allocations: 283.7 kB / 0.8195 GB, free: 9.02 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006292/0.01911, allocations: 371.7 kB / 0.8198 GB, free: 8.605 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.01911, allocations: 0 / 0.8198 GB, free: 8.605 MB / 0.7761 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009086/0.02002, allocations: 439.8 kB / 0.8202 GB, free: 8.172 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.02004, allocations: 11.94 kB / 0.8202 GB, free: 8.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.02006, allocations: 4 kB / 0.8203 GB, free: 8.156 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.969e-05/0.02009, allocations: 8 kB / 0.8203 GB, free: 8.148 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002314/0.02032, allocations: 59.84 kB / 0.8203 GB, free: 8.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.679e-05/0.02033, allocations: 8.906 kB / 0.8203 GB, free: 8.082 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.02051, allocations: 31.84 kB / 0.8204 GB, free: 8.051 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.725e-05/0.02055, allocations: 20.64 kB / 0.8204 GB, free: 8.031 MB / 0.7761 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.000255/0.0208, allocations: 187.7 kB / 0.8206 GB, free: 7.844 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.297e-05/0.02087, allocations: 23.86 kB / 0.8206 GB, free: 7.82 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.901e-05/0.02094, allocations: 26.58 kB / 0.8206 GB, free: 7.789 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.02095, allocations: 4 kB / 0.8206 GB, free: 7.785 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-05/0.02096, allocations: 2.719 kB / 0.8206 GB, free: 7.785 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.02097, allocations: 3.984 kB / 0.8206 GB, free: 7.781 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001234/0.0222, allocations: 0.6123 MB / 0.8212 GB, free: 7.133 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.718e-06/0.02221, allocations: 4.125 kB / 0.8212 GB, free: 7.129 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.02233, allocations: 19.98 kB / 0.8212 GB, free: 7.109 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.852e-06/0.02234, allocations: 4 kB / 0.8212 GB, free: 7.105 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.681e-05/0.02236, allocations: 7.984 kB / 0.8212 GB, free: 7.098 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.02237, allocations: 0.9375 kB / 0.8212 GB, free: 7.098 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.02237, allocations: 0 / 0.8212 GB, free: 7.098 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000939/0.02331, allocations: 0.5337 MB / 0.8218 GB, free: 6.551 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.772e-05/0.02334, allocations: 23.78 kB / 0.8218 GB, free: 6.527 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.29e-05/0.0234, allocations: 17.12 kB / 0.8218 GB, free: 6.512 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.02353, allocations: 11.98 kB / 0.8218 GB, free: 6.5 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.417e-05/0.02362, allocations: 21.08 kB / 0.8218 GB, free: 6.48 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.652e-05/0.02366, allocations: 15.98 kB / 0.8219 GB, free: 6.465 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001319/0.02379, allocations: 121.2 kB / 0.822 GB, free: 6.348 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.02379, allocations: 1.062 kB / 0.822 GB, free: 6.348 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0005382/0.02433, allocations: 111.6 kB / 0.8221 GB, free: 6.238 MB / 0.7761 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.001156/0.02548, allocations: 362.8 kB / 0.8224 GB, free: 5.965 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0006545/0.02614, allocations: 271.6 kB / 0.8227 GB, free: 5.699 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.02614, allocations: 1.438 kB / 0.8227 GB, free: 5.699 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.000229/0.02637, allocations: 102.3 kB / 0.8228 GB, free: 5.602 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003895/0.02676, allocations: 41.44 kB / 0.8228 GB, free: 5.562 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.02787, allocations: 485.6 kB / 0.8233 GB, free: 5.062 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001757/0.02804, allocations: 132.6 kB / 0.8234 GB, free: 4.914 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001587/0.0282, allocations: 54.25 kB / 0.8235 GB, free: 4.859 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.669e-05/0.02827, allocations: 24.48 kB / 0.8235 GB, free: 4.836 MB / 0.7761 GB Notification: Performance of SimCode: time 8.32e-07/0.02827, allocations: 0 / 0.8235 GB, free: 4.836 MB / 0.7761 GB Notification: Performance of Templates: time 0.008949/0.03722, allocations: 3.318 MB / 0.8267 GB, free: 1.574 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.sim & ./Buildings_12_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_IO_Python_3_8_Examples_SimpleRoom.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.8947044459637254]