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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 188.8 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 225.6 MB / 251 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.586/2.586, allocations: 443.4 MB / 0.7321 GB, free: 12.32 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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=3361,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=3361,variableFilter="time|TAmb.y|onOffCon.u|pyt.yR.2.",fileNamePrefix="Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 64.06 kB / 1.061 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8358/0.8378, allocations: 160.8 MB / 1.218 GB, free: 3.828 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.003714/0.8415, allocations: 1.802 MB / 1.22 GB, free: 2.426 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002742/0.8443, allocations: 1.715 MB / 1.222 GB, free: 1.078 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.8444, allocations: 9.125 kB / 1.222 GB, free: 1.07 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.00019/0.8446, allocations: 23.11 kB / 1.222 GB, free: 1.051 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001125/0.8447, allocations: 22.56 kB / 1.222 GB, free: 1.031 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007409/0.8454, allocations: 247.6 kB / 1.222 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003286/0.8458, allocations: 244.9 kB / 1.222 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.8459, allocations: 47.39 kB / 1.222 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.8461, allocations: 93.03 kB / 1.223 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.8462, allocations: 87.72 kB / 1.223 GB, free: 0.582 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.963e-05/0.8462, allocations: 16.38 kB / 1.223 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004482/0.8467, allocations: 251.1 kB / 1.223 GB, free: 456 kB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.8468, allocations: 76.86 kB / 1.223 GB, free: 408 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.8469, allocations: 90.02 kB / 1.223 GB, free: 340 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005309/0.8474, allocations: 395.8 kB / 1.223 GB, free: 92 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.8474, allocations: 0 / 1.223 GB, free: 92 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.072e-06/0.8474, allocations: 0.9688 kB / 1.223 GB, free: 92 kB / 0.92 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.8474, allocations: 0 / 1.223 GB, free: 92 kB / 0.92 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.001062/0.8485, allocations: 0.5805 MB / 1.224 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.8485, allocations: 8.656 kB / 1.224 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.512e-05/0.8486, allocations: 26.48 kB / 1.224 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003245/0.8489, allocations: 242.5 kB / 1.224 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.898e-05/0.849, allocations: 17.86 kB / 1.224 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.85e-05/0.849, allocations: 36.8 kB / 1.224 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000391/0.8494, allocations: 205.5 kB / 1.224 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.8494, allocations: 0 / 1.224 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.253e-05/0.8494, allocations: 6.219 kB / 1.224 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.8494, allocations: 3.094 kB / 1.224 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002579/0.8497, allocations: 116.7 kB / 1.225 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00138/0.8511, allocations: 0.5898 MB / 1.225 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007775/0.8519, allocations: 259.2 kB / 1.225 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001753/0.852, allocations: 92.8 kB / 1.226 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.683e-05/0.8521, allocations: 6.828 kB / 1.226 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000335/0.8524, allocations: 168.2 kB / 1.226 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=26): time 1.663e-06/0.8524, allocations: 0 / 1.226 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of matching and sorting (n=26): time 0.0007479/0.8531, allocations: 395.2 kB / 1.226 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.314e-05/0.8532, allocations: 64.94 kB / 1.226 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.8534, allocations: 181.8 kB / 1.226 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.828e-05/0.8534, allocations: 47.08 kB / 1.226 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.107e-05/0.8535, allocations: 126.1 kB / 1.226 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.416e-05/0.8536, allocations: 83.56 kB / 1.227 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.8537, allocations: 75.95 kB / 1.227 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.8539, allocations: 342.5 kB / 1.227 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002086/0.8541, allocations: 113.6 kB / 1.227 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003163/0.8544, allocations: 253.7 kB / 1.227 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004945/0.8549, allocations: 364.1 kB / 1.228 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.8549, allocations: 2.031 kB / 1.228 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006319/0.8555, allocations: 419.6 kB / 1.228 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.8555, allocations: 6.906 kB / 1.228 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.168e-06/0.8556, allocations: 5.25 kB / 1.228 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/0.8556, allocations: 9.234 kB / 1.228 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002003/0.8558, allocations: 61.77 kB / 1.228 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.433e-05/0.8558, allocations: 13.98 kB / 1.228 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001801/0.856, allocations: 35.92 kB / 1.228 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.661e-05/0.856, allocations: 18.09 kB / 1.228 GB, free: 12.46 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,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.0002017/0.8562, allocations: 192.2 kB / 1.228 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.371e-05/0.8562, allocations: 20.05 kB / 1.228 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.758e-05/0.8563, allocations: 21.95 kB / 1.228 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.8563, allocations: 2.781 kB / 1.228 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.8563, allocations: 1.438 kB / 1.228 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.8563, allocations: 0 / 1.228 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.8573, allocations: 0.6752 MB / 1.229 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.8573, allocations: 1.125 kB / 1.229 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.8574, allocations: 21.3 kB / 1.229 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.8575, allocations: 1.156 kB / 1.229 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.768e-05/0.8575, allocations: 11.52 kB / 1.229 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/0.8575, allocations: 9.016 kB / 1.229 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.8575, allocations: 1.062 kB / 1.229 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007553/0.8582, allocations: 0.5202 MB / 1.23 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.39e-05/0.8583, allocations: 92.95 kB / 1.23 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.714e-05/0.8584, allocations: 20.03 kB / 1.23 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.8585, allocations: 15.97 kB / 1.23 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.82e-05/0.8586, allocations: 23.97 kB / 1.23 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.124e-05/0.8586, allocations: 15.98 kB / 1.23 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001114/0.8587, allocations: 124.3 kB / 1.23 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.8587, allocations: 96 / 1.23 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004724/0.8592, allocations: 119.5 kB / 1.23 GB, free: 10.98 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 (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.0008537/0.86, allocations: 330.3 kB / 1.23 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005213/0.8606, allocations: 273.1 kB / 1.231 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.8606, allocations: 0 / 1.231 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001817/0.8608, allocations: 91.89 kB / 1.231 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/0.8611, allocations: 25.05 kB / 1.231 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009506/0.862, allocations: 0.4907 MB / 1.231 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004572/0.8625, allocations: 0.7402 MB / 1.232 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001326/0.8626, allocations: 58.23 kB / 1.232 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.393e-05/0.8627, allocations: 19.44 kB / 1.232 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of SimCode: time 3.11e-07/0.8627, allocations: 0 / 1.232 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of Templates: time 0.00779/0.8704, allocations: 3.392 MB / 1.235 GB, free: 5.594 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.532191392965615]