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.002514/0.002514, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.002103/0.002103, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.53/1.53, 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 3.054/3.054, allocations: 377.8 MB / 0.6232 GB, free: 8.516 MB / 0.5886 GB " [Timeout remaining time 176] 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.483e-06/1.483e-06, allocations: 0 / 0.8108 GB, free: 2.133 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.253e-05/2.402e-05, allocations: 3.094 kB / 0.8108 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.003374/0.003398, allocations: 1.844 MB / 0.8126 GB, free: 304 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002853/0.006251, allocations: 1.755 MB / 0.8143 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.106e-05/0.006322, allocations: 3.938 kB / 0.8143 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001737/0.006496, allocations: 25.11 kB / 0.8143 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001244/0.00662, allocations: 31.72 kB / 0.8143 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007369/0.007357, allocations: 264.2 kB / 0.8146 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003616/0.007719, allocations: 247.5 kB / 0.8148 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.007845, allocations: 47.05 kB / 0.8149 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002663/0.008111, allocations: 131.7 kB / 0.815 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002115/0.008322, allocations: 67.84 kB / 0.8151 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.77e-05/0.00836, allocations: 17.19 kB / 0.8151 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004583/0.008818, allocations: 235.5 kB / 0.8153 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.008944, allocations: 83.7 kB / 0.8154 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.716e-05/0.009041, allocations: 64.52 kB / 0.8155 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0006195/0.009661, allocations: 418.6 kB / 0.8159 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.009663, allocations: 5.344 kB / 0.8159 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.41e-07/0.009664, allocations: 0 / 0.8159 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.009669, allocations: 0 / 0.8159 GB, free: 12.93 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.0009603/0.01063, allocations: 0.5949 MB / 0.8164 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.01066, allocations: 8.031 kB / 0.8164 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002044/0.01087, allocations: 56.72 kB / 0.8165 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003823/0.01125, allocations: 198.3 kB / 0.8167 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.182e-05/0.01128, allocations: 18.22 kB / 0.8167 GB, free: 12 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.628e-05/0.01134, allocations: 28.38 kB / 0.8167 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003455/0.01168, allocations: 161.4 kB / 0.8169 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.01169, allocations: 0 / 0.8169 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.331e-05/0.01172, allocations: 7.984 kB / 0.8169 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.01172, allocations: 4.75 kB / 0.8169 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000219/0.01194, allocations: 75.95 kB / 0.817 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00132/0.01326, allocations: 0.5335 MB / 0.8175 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003395/0.0136, allocations: 151 kB / 0.8176 GB, free: 11 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001473/0.01375, allocations: 63.66 kB / 0.8177 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.01377, allocations: 4.531 kB / 0.8177 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000276/0.01405, allocations: 139.7 kB / 0.8178 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=27): time 1.533e-06/0.01405, allocations: 0.7812 kB / 0.8178 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of matching and sorting (n=27): time 0.0007164/0.01476, allocations: 319.9 kB / 0.8181 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.934e-05/0.01483, allocations: 68.67 kB / 0.8182 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002388/0.01507, allocations: 249.8 kB / 0.8184 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.126e-05/0.01512, allocations: 45.69 kB / 0.8185 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.01525, allocations: 176.5 kB / 0.8187 GB, free: 9.898 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.01536, allocations: 103.4 kB / 0.8188 GB, free: 9.797 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/0.01552, allocations: 109 kB / 0.8189 GB, free: 9.684 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002929/0.01581, allocations: 0.5235 MB / 0.8194 GB, free: 9.148 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.01596, allocations: 52.97 kB / 0.8194 GB, free: 9.098 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003629/0.01632, allocations: 289.6 kB / 0.8197 GB, free: 8.727 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005112/0.01683, allocations: 334.1 kB / 0.82 GB, free: 8.324 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.01684, allocations: 0.5 kB / 0.82 GB, free: 8.324 MB / 0.7761 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006042/0.01744, allocations: 320.2 kB / 0.8203 GB, free: 8.008 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.01746, allocations: 9.281 kB / 0.8203 GB, free: 8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.01747, allocations: 4 kB / 0.8203 GB, free: 7.996 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.01749, allocations: 8 kB / 0.8203 GB, free: 7.988 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002779/0.01776, allocations: 87.83 kB / 0.8204 GB, free: 7.902 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.01777, allocations: 4.906 kB / 0.8204 GB, free: 7.898 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.01791, allocations: 35.83 kB / 0.8205 GB, free: 7.863 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/0.01794, allocations: 12.66 kB / 0.8205 GB, free: 7.852 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.0001973/0.01813, allocations: 218.6 kB / 0.8207 GB, free: 7.633 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.697e-05/0.01819, allocations: 31.86 kB / 0.8207 GB, free: 7.602 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.749e-05/0.01825, allocations: 26.58 kB / 0.8207 GB, free: 7.57 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.01825, allocations: 4 kB / 0.8207 GB, free: 7.566 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.01826, allocations: 0 / 0.8207 GB, free: 7.566 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.01826, allocations: 2.5 kB / 0.8207 GB, free: 7.566 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.01932, allocations: 0.6109 MB / 0.8213 GB, free: 6.914 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.01932, allocations: 3.938 kB / 0.8213 GB, free: 6.91 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.01943, allocations: 15.98 kB / 0.8214 GB, free: 6.895 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.01943, allocations: 4 kB / 0.8214 GB, free: 6.891 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.903e-05/0.01946, allocations: 11.98 kB / 0.8214 GB, free: 6.879 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.01947, allocations: 0 / 0.8214 GB, free: 6.879 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01947, allocations: 1.125 kB / 0.8214 GB, free: 6.879 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000777/0.02024, allocations: 498.3 kB / 0.8219 GB, free: 6.375 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.886e-05/0.02034, allocations: 23.78 kB / 0.8219 GB, free: 6.352 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.249e-05/0.0204, allocations: 19.98 kB / 0.8219 GB, free: 6.332 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.02051, allocations: 9.109 kB / 0.8219 GB, free: 6.324 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.403e-05/0.02057, allocations: 19.97 kB / 0.8219 GB, free: 6.305 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.148e-05/0.0206, allocations: 11.98 kB / 0.8219 GB, free: 6.293 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001349/0.02074, allocations: 166.2 kB / 0.8221 GB, free: 6.133 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.02074, allocations: 0 / 0.8221 GB, free: 6.133 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004517/0.02119, allocations: 107.7 kB / 0.8222 GB, free: 6.027 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.001285/0.02248, allocations: 363.9 kB / 0.8225 GB, free: 5.746 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000466/0.02294, allocations: 212.3 kB / 0.8227 GB, free: 5.535 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.02294, allocations: 0 / 0.8227 GB, free: 5.535 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002021/0.02315, allocations: 100.5 kB / 0.8228 GB, free: 5.434 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.02345, allocations: 35.81 kB / 0.8229 GB, free: 5.398 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008771/0.02433, allocations: 444.7 kB / 0.8233 GB, free: 4.941 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001561/0.02448, allocations: 132.6 kB / 0.8234 GB, free: 4.793 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001277/0.02461, allocations: 46.25 kB / 0.8235 GB, free: 4.746 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.766e-05/0.02467, allocations: 24.48 kB / 0.8235 GB, free: 4.723 MB / 0.7761 GB Notification: Performance of SimCode: time 7.01e-07/0.02467, allocations: 0 / 0.8235 GB, free: 4.723 MB / 0.7761 GB Notification: Performance of Templates: time 0.008372/0.03304, allocations: 3.317 MB / 0.8267 GB, free: 1.461 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe 2>&1) [Timeout 240] 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: 8.214521688991226]