Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.0009965/0.0009966, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006473/0.006473, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.409/1.409, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.646/2.646, allocations: 437.8 MB / 0.7121 GB, free: 7 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003591/0.0003591, allocations: 8 kB / 0.8728 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7333/0.7337, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.002533/0.7363, allocations: 1.484 MB / 1.024 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002621/0.7389, allocations: 1.576 MB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.872e-05/0.739, allocations: 4 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000193/0.7392, allocations: 15.86 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001225/0.7394, allocations: 19.84 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005808/0.7399, allocations: 191.5 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000298/0.7403, allocations: 223.5 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.7404, allocations: 53.89 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.7406, allocations: 75.69 kB / 1.027 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/0.7407, allocations: 67.69 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.285e-05/0.7408, allocations: 8 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003504/0.7411, allocations: 187.7 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.7412, allocations: 67.8 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.7414, allocations: 105.2 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005163/0.7419, allocations: 361 kB / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.7419, allocations: 4 kB / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.953e-06/0.7419, allocations: 0 / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.7419, allocations: 0 / 1.027 GB, free: 11.4 MB / 0.7794 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.001031/0.7429, allocations: 0.5341 MB / 1.028 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.743, allocations: 8.031 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.814e-05/0.7431, allocations: 24.66 kB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/0.7433, allocations: 255.8 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.705e-05/0.7434, allocations: 24.62 kB / 1.028 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.577e-05/0.7435, allocations: 27.94 kB / 1.028 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003814/0.7438, allocations: 204.2 kB / 1.028 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.7439, allocations: 0 / 1.028 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.316e-05/0.7439, allocations: 8 kB / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.7439, allocations: 4 kB / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002479/0.7442, allocations: 124.5 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001359/0.7455, allocations: 0.5977 MB / 1.029 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009053/0.7464, allocations: 302.4 kB / 1.029 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001652/0.7466, allocations: 102.1 kB / 1.029 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.7467, allocations: 8 kB / 1.029 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003247/0.747, allocations: 163.3 kB / 1.03 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=26): time 1.813e-06/0.747, allocations: 0 / 1.03 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of matching and sorting (n=26): time 0.0007161/0.7477, allocations: 396.8 kB / 1.03 GB, free: 8.48 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.361e-05/0.7478, allocations: 75.38 kB / 1.03 GB, free: 8.395 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.748, allocations: 178.2 kB / 1.03 GB, free: 8.211 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.638e-05/0.748, allocations: 49.69 kB / 1.03 GB, free: 8.156 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.871e-05/0.7481, allocations: 116.7 kB / 1.03 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.247e-05/0.7482, allocations: 79 kB / 1.03 GB, free: 7.961 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.645e-05/0.7483, allocations: 41.7 kB / 1.031 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.7484, allocations: 338.8 kB / 1.031 GB, free: 7.574 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002352/0.7487, allocations: 124.8 kB / 1.031 GB, free: 7.449 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000302/0.749, allocations: 256.5 kB / 1.031 GB, free: 7.141 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004888/0.7495, allocations: 360 kB / 1.032 GB, free: 6.73 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.7495, allocations: 0 / 1.032 GB, free: 6.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006425/0.7501, allocations: 424.9 kB / 1.032 GB, free: 6.309 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.7501, allocations: 8 kB / 1.032 GB, free: 6.301 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.7502, allocations: 4 kB / 1.032 GB, free: 6.297 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.7502, allocations: 8 kB / 1.032 GB, free: 6.289 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001898/0.7504, allocations: 64.38 kB / 1.032 GB, free: 6.227 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.451e-05/0.7504, allocations: 19.92 kB / 1.032 GB, free: 6.207 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.7506, allocations: 39.67 kB / 1.032 GB, free: 6.168 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.625e-05/0.7506, allocations: 20 kB / 1.032 GB, free: 6.148 MB / 0.7794 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,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],pyt.uRWri_temp[2],$PRE.pyt.uRWri_temp[2],pyt.uRWri[2],$PRE.pyt.uRWri[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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001928/0.7508, allocations: 188.2 kB / 1.032 GB, free: 5.953 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.728e-05/0.7509, allocations: 15.81 kB / 1.032 GB, free: 5.938 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.533e-05/0.7509, allocations: 21.86 kB / 1.032 GB, free: 5.922 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.7509, allocations: 4 kB / 1.032 GB, free: 5.918 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.896e-06/0.7509, allocations: 0 / 1.032 GB, free: 5.918 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.751, allocations: 0 / 1.032 GB, free: 5.918 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/0.752, allocations: 0.6921 MB / 1.033 GB, free: 5.172 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.752, allocations: 0 / 1.033 GB, free: 5.172 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.7522, allocations: 23.92 kB / 1.033 GB, free: 5.148 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/0.7522, allocations: 0 / 1.033 GB, free: 5.148 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.162e-05/0.7522, allocations: 11.98 kB / 1.033 GB, free: 5.137 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.7522, allocations: 0 / 1.033 GB, free: 5.137 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.7522, allocations: 4 kB / 1.033 GB, free: 5.133 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007533/0.753, allocations: 0.5069 MB / 1.034 GB, free: 4.609 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.171e-05/0.7531, allocations: 100.8 kB / 1.034 GB, free: 4.492 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.489e-05/0.7531, allocations: 16.03 kB / 1.034 GB, free: 4.477 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.7533, allocations: 27.97 kB / 1.034 GB, free: 4.449 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.561e-05/0.7534, allocations: 20.02 kB / 1.034 GB, free: 4.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.38e-05/0.7534, allocations: 15.98 kB / 1.034 GB, free: 4.414 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001048/0.7535, allocations: 128.3 kB / 1.034 GB, free: 4.289 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.31e-07/0.7535, allocations: 0 / 1.034 GB, free: 4.289 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004657/0.754, allocations: 107.9 kB / 1.034 GB, free: 4.184 MB / 0.7794 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 (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.000778/0.7548, allocations: 326.5 kB / 1.034 GB, free: 3.918 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005114/0.7553, allocations: 283.6 kB / 1.035 GB, free: 3.641 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.7553, allocations: 0 / 1.035 GB, free: 3.641 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001867/0.7555, allocations: 109.4 kB / 1.035 GB, free: 3.535 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.7558, allocations: 23.97 kB / 1.035 GB, free: 3.512 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009653/0.7568, allocations: 0.5607 MB / 1.035 GB, free: 2.922 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003844/0.7572, allocations: 0.7443 MB / 1.036 GB, free: 2.152 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001368/0.7574, allocations: 62.17 kB / 1.036 GB, free: 2.09 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.738e-05/0.7574, allocations: 19.44 kB / 1.036 GB, free: 2.07 MB / 0.7794 GB Notification: Performance of SimCode: time 3.61e-07/0.7574, allocations: 3.938 kB / 1.036 GB, free: 2.066 MB / 0.7794 GB Notification: Performance of Templates: time 0.007737/0.7652, allocations: 3.066 MB / 1.039 GB, free: 15 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.makefile (rm -f Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.sim & ./Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_IO_Python_3_8_Examples_SimpleRoom.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches