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.001439/0.001439, allocations: 109 kB / 16.41 MB, free: 6.508 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.001354/0.001354, allocations: 185.2 kB / 17.34 MB, free: 5.738 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.378/2.378, allocations: 437.1 MB / 0.7112 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001806/0.001806, allocations: 63.91 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6824/0.6843, allocations: 151.6 MB / 1.167 GB, free: 4 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.002869/0.6872, allocations: 1.778 MB / 1.169 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002142/0.6893, allocations: 1.619 MB / 1.171 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.038e-05/0.6894, allocations: 0 / 1.171 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001506/0.6895, allocations: 31.72 kB / 1.171 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.717e-05/0.6896, allocations: 15.86 kB / 1.171 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005799/0.6902, allocations: 235.2 kB / 1.171 GB, free: 312 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002852/0.6905, allocations: 243.5 kB / 1.171 GB, free: 68 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.6907, allocations: 57.84 kB / 1.171 GB, free: 4 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001555/0.6908, allocations: 91.73 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.691, allocations: 75.67 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.863e-05/0.691, allocations: 12 kB / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003442/0.6913, allocations: 219.6 kB / 1.172 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 9.942e-05/0.6915, allocations: 75.81 kB / 1.172 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 9.966e-05/0.6916, allocations: 91.52 kB / 1.172 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004473/0.692, allocations: 383.7 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.692, allocations: 0 / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.122e-06/0.692, allocations: 0 / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.692, allocations: 0 / 1.172 GB, free: 15.07 MB / 0.9044 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.0009355/0.693, allocations: 0.5802 MB / 1.173 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.693, allocations: 16.86 kB / 1.173 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.088e-05/0.6931, allocations: 24.8 kB / 1.173 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002775/0.6934, allocations: 244 kB / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.876e-05/0.6934, allocations: 20.69 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.371e-05/0.6935, allocations: 27.94 kB / 1.173 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003575/0.6938, allocations: 196.2 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.6938, allocations: 8 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/0.6939, allocations: 4 kB / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.6939, allocations: 4 kB / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002431/0.6941, allocations: 120.5 kB / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001256/0.6954, allocations: 0.5898 MB / 1.174 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008033/0.6962, allocations: 278.4 kB / 1.174 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001735/0.6964, allocations: 102.9 kB / 1.174 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.6964, allocations: 4 kB / 1.174 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002891/0.6967, allocations: 167.5 kB / 1.174 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=26): time 1.603e-06/0.6967, allocations: 0 / 1.174 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of matching and sorting (n=26): time 0.0006947/0.6974, allocations: 392.1 kB / 1.175 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/0.6975, allocations: 67.41 kB / 1.175 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/0.6976, allocations: 183.4 kB / 1.175 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.09e-05/0.6977, allocations: 41.7 kB / 1.175 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.223e-05/0.6978, allocations: 128.6 kB / 1.175 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.058e-05/0.6979, allocations: 75.42 kB / 1.175 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.698, allocations: 82.12 kB / 1.175 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.6981, allocations: 338.8 kB / 1.176 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001996/0.6983, allocations: 116.8 kB / 1.176 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002964/0.6987, allocations: 252.5 kB / 1.176 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004717/0.6991, allocations: 360 kB / 1.176 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.6991, allocations: 4 kB / 1.176 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006293/0.6998, allocations: 421 kB / 1.177 GB, free: 9.969 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.6998, allocations: 6.5 kB / 1.177 GB, free: 9.965 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.6998, allocations: 7.984 kB / 1.177 GB, free: 9.957 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.6998, allocations: 8 kB / 1.177 GB, free: 9.949 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001892/0.7, allocations: 59.86 kB / 1.177 GB, free: 9.891 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.7001, allocations: 11.98 kB / 1.177 GB, free: 9.879 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001807/0.7002, allocations: 44.11 kB / 1.177 GB, free: 9.836 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.7003, allocations: 12 kB / 1.177 GB, free: 9.824 MB / 0.9044 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.0001817/0.7005, allocations: 188.7 kB / 1.177 GB, free: 9.633 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.258e-05/0.7005, allocations: 19.86 kB / 1.177 GB, free: 9.613 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.513e-05/0.7005, allocations: 21.86 kB / 1.177 GB, free: 9.586 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.7006, allocations: 8 kB / 1.177 GB, free: 9.578 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.7006, allocations: 0 / 1.177 GB, free: 9.578 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.7006, allocations: 0 / 1.177 GB, free: 9.578 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009839/0.7016, allocations: 0.6823 MB / 1.178 GB, free: 8.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.7016, allocations: 7.938 kB / 1.178 GB, free: 8.832 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.942e-05/0.7017, allocations: 15.98 kB / 1.178 GB, free: 8.816 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.7017, allocations: 0 / 1.178 GB, free: 8.816 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.766e-05/0.7017, allocations: 11.98 kB / 1.178 GB, free: 8.805 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.7017, allocations: 4 kB / 1.178 GB, free: 8.801 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.7017, allocations: 4 kB / 1.178 GB, free: 8.797 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007196/0.7025, allocations: 0.5145 MB / 1.178 GB, free: 8.27 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.636e-05/0.7025, allocations: 92.95 kB / 1.178 GB, free: 8.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.593e-05/0.7026, allocations: 16.03 kB / 1.178 GB, free: 8.145 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.7028, allocations: 27.97 kB / 1.178 GB, free: 8.117 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.938e-05/0.7028, allocations: 11.98 kB / 1.178 GB, free: 8.105 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.224e-05/0.7028, allocations: 15.98 kB / 1.178 GB, free: 8.09 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001022/0.703, allocations: 136.3 kB / 1.179 GB, free: 7.957 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.703, allocations: 0 / 1.179 GB, free: 7.957 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004085/0.7034, allocations: 111.6 kB / 1.179 GB, free: 7.848 MB / 0.9044 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.000782/0.7042, allocations: 337.5 kB / 1.179 GB, free: 7.574 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004756/0.7046, allocations: 271.8 kB / 1.179 GB, free: 7.309 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.7047, allocations: 3.938 kB / 1.179 GB, free: 7.305 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001899/0.7049, allocations: 109.8 kB / 1.179 GB, free: 7.199 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/0.7051, allocations: 19.98 kB / 1.179 GB, free: 7.18 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008146/0.706, allocations: 486.8 kB / 1.18 GB, free: 6.684 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003715/0.7064, allocations: 0.748 MB / 1.181 GB, free: 5.91 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001141/0.7065, allocations: 46.25 kB / 1.181 GB, free: 5.867 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.43e-05/0.7065, allocations: 23.44 kB / 1.181 GB, free: 5.844 MB / 0.9044 GB Notification: Performance of SimCode: time 2.5e-07/0.7065, allocations: 0 / 1.181 GB, free: 5.844 MB / 0.9044 GB Notification: Performance of Templates: time 0.006942/0.7135, allocations: 3.272 MB / 1.184 GB, free: 2.578 MB / 0.9044 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 -s cvode -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/jenkins1/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