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.001557/0.001557, allocations: 104.3 kB / 19.7 MB, free: 2.156 MB / 14.72 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.001861/0.001861, allocations: 212.4 kB / 22.99 MB, free: 4.984 MB / 14.72 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.51/1.51, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.397/3.397, allocations: 0.49 GB / 0.7959 GB, free: 35.49 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 69.45 kB / 1.155 GB, free: 25.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3875/0.3896, allocations: 176.1 MB / 1.327 GB, free: 1.078 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.003556/0.3931, allocations: 1.805 MB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002939/0.3961, allocations: 1.722 MB / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.3962, allocations: 3.938 kB / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002021/0.3964, allocations: 23.78 kB / 1.331 GB, free: 13.51 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001164/0.3965, allocations: 23.81 kB / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007434/0.3972, allocations: 267.2 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003576/0.3976, allocations: 247.5 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.3978, allocations: 45.66 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002129/0.398, allocations: 107.7 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001379/0.3981, allocations: 87.66 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.227e-05/0.3981, allocations: 12 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004/0.3985, allocations: 243.6 kB / 1.332 GB, free: 12.49 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.3987, allocations: 87.72 kB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.146e-05/0.3987, allocations: 79.58 kB / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005429/0.3993, allocations: 398.5 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3993, allocations: 0 / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3993, allocations: 4 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.3993, allocations: 0 / 1.332 GB, free: 11.93 MB / 1.029 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.0009113/0.4002, allocations: 0.4928 MB / 1.333 GB, free: 11.41 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.4003, allocations: 12.03 kB / 1.333 GB, free: 11.4 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001929/0.4004, allocations: 36.78 kB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004431/0.4009, allocations: 199.7 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.961e-05/0.4009, allocations: 16.38 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.553e-05/0.401, allocations: 31.92 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004104/0.4014, allocations: 205.1 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.4014, allocations: 4 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/0.4014, allocations: 4 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.4014, allocations: 4 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002726/0.4017, allocations: 127.8 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001253/0.403, allocations: 487.7 kB / 1.334 GB, free: 10.24 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003588/0.4033, allocations: 195.3 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.4035, allocations: 88.81 kB / 1.334 GB, free: 9.953 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.66e-05/0.4035, allocations: 11.94 kB / 1.334 GB, free: 9.941 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000286/0.4038, allocations: 172.6 kB / 1.334 GB, free: 9.762 MB / 1.029 GB Notification: Performance of pre-optimization done (n=27): time 1.873e-06/0.4038, allocations: 0 / 1.334 GB, free: 9.762 MB / 1.029 GB Notification: Performance of matching and sorting (n=27): time 0.0007438/0.4045, allocations: 384.4 kB / 1.334 GB, free: 9.383 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.506e-05/0.4046, allocations: 71.39 kB / 1.335 GB, free: 9.301 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000178/0.4048, allocations: 166.8 kB / 1.335 GB, free: 9.125 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.387e-05/0.4048, allocations: 53.69 kB / 1.335 GB, free: 9.066 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.4049, allocations: 125 kB / 1.335 GB, free: 8.938 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.309e-05/0.405, allocations: 87.38 kB / 1.335 GB, free: 8.852 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.4051, allocations: 82.12 kB / 1.335 GB, free: 8.766 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001793/0.4053, allocations: 338.8 kB / 1.335 GB, free: 8.426 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002155/0.4055, allocations: 116.8 kB / 1.335 GB, free: 8.312 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003479/0.4059, allocations: 279.1 kB / 1.336 GB, free: 7.973 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005243/0.4064, allocations: 368 kB / 1.336 GB, free: 7.555 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.4064, allocations: 0 / 1.336 GB, free: 7.555 MB / 1.029 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006791/0.4071, allocations: 432.8 kB / 1.336 GB, free: 7.125 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.4071, allocations: 4 kB / 1.336 GB, free: 7.121 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.4071, allocations: 4 kB / 1.336 GB, free: 7.117 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.4071, allocations: 8 kB / 1.336 GB, free: 7.109 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002117/0.4073, allocations: 64.31 kB / 1.337 GB, free: 7.047 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.4074, allocations: 8 kB / 1.337 GB, free: 7.039 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.4075, allocations: 35.78 kB / 1.337 GB, free: 7.004 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.529e-05/0.4075, allocations: 16 kB / 1.337 GB, free: 6.988 MB / 1.029 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.0001989/0.4077, allocations: 188.3 kB / 1.337 GB, free: 6.793 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.653e-05/0.4078, allocations: 19.84 kB / 1.337 GB, free: 6.773 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.645e-05/0.4078, allocations: 22.66 kB / 1.337 GB, free: 6.754 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.4078, allocations: 4 kB / 1.337 GB, free: 6.75 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.4078, allocations: 0 / 1.337 GB, free: 6.75 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/0.4078, allocations: 3.984 kB / 1.337 GB, free: 6.746 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.4089, allocations: 0.6099 MB / 1.337 GB, free: 6.102 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.4089, allocations: 3.984 kB / 1.337 GB, free: 6.098 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.409, allocations: 16.19 kB / 1.337 GB, free: 6.082 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.409, allocations: 0 / 1.337 GB, free: 6.082 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.94e-05/0.409, allocations: 15.98 kB / 1.337 GB, free: 6.066 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.409, allocations: 4 kB / 1.337 GB, free: 6.062 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.409, allocations: 4 kB / 1.337 GB, free: 6.059 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000822/0.4098, allocations: 0.5202 MB / 1.338 GB, free: 5.52 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.919e-05/0.4099, allocations: 23.8 kB / 1.338 GB, free: 5.496 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.129e-05/0.4099, allocations: 16.03 kB / 1.338 GB, free: 5.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.4101, allocations: 15.92 kB / 1.338 GB, free: 5.465 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.987e-05/0.4101, allocations: 19.95 kB / 1.338 GB, free: 5.445 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.389e-05/0.4101, allocations: 15.98 kB / 1.338 GB, free: 5.43 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001096/0.4103, allocations: 124.2 kB / 1.338 GB, free: 5.309 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4103, allocations: 3.938 kB / 1.338 GB, free: 5.305 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004604/0.4107, allocations: 107.7 kB / 1.338 GB, free: 5.199 MB / 1.029 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.0009289/0.4116, allocations: 352.2 kB / 1.339 GB, free: 4.918 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005163/0.4122, allocations: 267.6 kB / 1.339 GB, free: 4.656 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.4122, allocations: 0 / 1.339 GB, free: 4.656 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002026/0.4124, allocations: 104.8 kB / 1.339 GB, free: 4.555 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.4127, allocations: 27.92 kB / 1.339 GB, free: 4.527 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009473/0.4136, allocations: 0.4973 MB / 1.339 GB, free: 4.004 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001636/0.4138, allocations: 136.6 kB / 1.34 GB, free: 3.848 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001301/0.4139, allocations: 54.25 kB / 1.34 GB, free: 3.797 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.868e-05/0.414, allocations: 19.44 kB / 1.34 GB, free: 3.777 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.414, allocations: 0 / 1.34 GB, free: 3.777 MB / 1.029 GB Notification: Performance of Templates: time 0.007832/0.4218, allocations: 3.455 MB / 1.343 GB, free: 384 kB / 1.029 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 -s cvode -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/jenkins1/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: 9.400955229997635]