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.001416/0.001416, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001796/0.001796, allocations: 208.3 kB / 22.24 MB, free: 5.262 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.488/1.488, allocations: 230.6 MB / 256 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.343/3.343, allocations: 0.4892 GB / 0.7943 GB, free: 35.55 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.003026/0.003026, allocations: 68.94 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/0.384, allocations: 176.1 MB / 1.326 GB, free: 1.879 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.003411/0.3874, allocations: 1.81 MB / 1.327 GB, free: 60 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002988/0.3904, allocations: 1.71 MB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.3905, allocations: 7.938 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002097/0.3907, allocations: 23.73 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001383/0.3909, allocations: 23.78 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00087/0.3917, allocations: 267.2 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003435/0.3921, allocations: 247.5 kB / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001818/0.3922, allocations: 53.64 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000253/0.3925, allocations: 91.75 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001679/0.3927, allocations: 83.59 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.031e-05/0.3927, allocations: 16 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005749/0.3933, allocations: 231.6 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001694/0.3935, allocations: 83.8 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001421/0.3936, allocations: 83.58 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007342/0.3943, allocations: 390.6 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/0.3943, allocations: 0 / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.056e-06/0.3943, allocations: 0 / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.739e-05/0.3944, allocations: 0 / 1.33 GB, free: 12.77 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.001151/0.3955, allocations: 0.5007 MB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.253e-05/0.3956, allocations: 8.031 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000246/0.3958, allocations: 36.78 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005397/0.3964, allocations: 203.9 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.164e-05/0.3964, allocations: 24.31 kB / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.438e-05/0.3965, allocations: 27.94 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004408/0.3969, allocations: 209.1 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.3969, allocations: 0 / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.996e-05/0.3969, allocations: 11.98 kB / 1.331 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/0.397, allocations: 4 kB / 1.331 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002614/0.3972, allocations: 111.9 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001343/0.3986, allocations: 0.4917 MB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003765/0.3989, allocations: 186.5 kB / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001682/0.3991, allocations: 84.81 kB / 1.332 GB, free: 10.78 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.492e-05/0.3991, allocations: 7.938 kB / 1.332 GB, free: 10.77 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003015/0.3994, allocations: 172 kB / 1.332 GB, free: 10.59 MB / 1.029 GB Notification: Performance of pre-optimization done (n=27): time 1.733e-06/0.3994, allocations: 8 kB / 1.332 GB, free: 10.58 MB / 1.029 GB Notification: Performance of matching and sorting (n=27): time 0.0008018/0.4002, allocations: 380.4 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.8e-05/0.4003, allocations: 67.33 kB / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.4005, allocations: 174.8 kB / 1.333 GB, free: 9.945 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.546e-05/0.4006, allocations: 45.69 kB / 1.333 GB, free: 9.895 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.4007, allocations: 129 kB / 1.333 GB, free: 9.762 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.115e-05/0.4008, allocations: 83.36 kB / 1.333 GB, free: 9.68 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.4009, allocations: 82.12 kB / 1.333 GB, free: 9.594 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001862/0.4011, allocations: 334.8 kB / 1.334 GB, free: 9.258 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001983/0.4013, allocations: 120.8 kB / 1.334 GB, free: 9.141 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003333/0.4016, allocations: 283.1 kB / 1.334 GB, free: 8.797 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005046/0.4021, allocations: 371.9 kB / 1.334 GB, free: 8.375 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.4021, allocations: 4 kB / 1.334 GB, free: 8.371 MB / 1.029 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006674/0.4028, allocations: 416.9 kB / 1.335 GB, free: 7.957 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.4028, allocations: 11.94 kB / 1.335 GB, free: 7.945 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.4028, allocations: 4 kB / 1.335 GB, free: 7.941 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/0.4028, allocations: 8 kB / 1.335 GB, free: 7.934 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/0.403, allocations: 59.91 kB / 1.335 GB, free: 7.875 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.92e-05/0.4031, allocations: 15.92 kB / 1.335 GB, free: 7.859 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001438/0.4032, allocations: 32.25 kB / 1.335 GB, free: 7.828 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.696e-05/0.4032, allocations: 20 kB / 1.335 GB, free: 7.809 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.0002008/0.4034, allocations: 176.4 kB / 1.335 GB, free: 7.625 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.946e-05/0.4035, allocations: 23.83 kB / 1.335 GB, free: 7.602 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.532e-05/0.4035, allocations: 22.59 kB / 1.335 GB, free: 7.582 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.4035, allocations: 4 kB / 1.335 GB, free: 7.578 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.4035, allocations: 4 kB / 1.335 GB, free: 7.574 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.4035, allocations: 7.922 kB / 1.335 GB, free: 7.566 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.4045, allocations: 0.6076 MB / 1.336 GB, free: 6.918 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.4045, allocations: 0 / 1.336 GB, free: 6.918 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.4047, allocations: 23.92 kB / 1.336 GB, free: 6.895 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.4047, allocations: 4 kB / 1.336 GB, free: 6.891 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.555e-05/0.4047, allocations: 7.984 kB / 1.336 GB, free: 6.883 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.4047, allocations: 0 / 1.336 GB, free: 6.883 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4047, allocations: 192 / 1.336 GB, free: 6.883 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000783/0.4055, allocations: 0.528 MB / 1.336 GB, free: 6.34 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.54e-05/0.4055, allocations: 19.8 kB / 1.336 GB, free: 6.32 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.189e-05/0.4056, allocations: 24.03 kB / 1.336 GB, free: 6.297 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.4057, allocations: 7.984 kB / 1.336 GB, free: 6.289 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.767e-05/0.4057, allocations: 23.95 kB / 1.336 GB, free: 6.266 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.951e-05/0.4058, allocations: 15.94 kB / 1.336 GB, free: 6.25 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001016/0.4059, allocations: 124.2 kB / 1.337 GB, free: 6.129 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4059, allocations: 0 / 1.337 GB, free: 6.129 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004868/0.4064, allocations: 103.7 kB / 1.337 GB, free: 6.027 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.0009315/0.4073, allocations: 355.4 kB / 1.337 GB, free: 5.742 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005441/0.4078, allocations: 273.7 kB / 1.337 GB, free: 5.477 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4078, allocations: 0 / 1.337 GB, free: 5.477 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001884/0.408, allocations: 95.88 kB / 1.337 GB, free: 5.383 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.4084, allocations: 32.44 kB / 1.337 GB, free: 5.355 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009698/0.4093, allocations: 0.4925 MB / 1.338 GB, free: 4.836 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001496/0.4095, allocations: 136.6 kB / 1.338 GB, free: 4.68 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001373/0.4096, allocations: 54.23 kB / 1.338 GB, free: 4.629 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.394e-05/0.4097, allocations: 31.31 kB / 1.338 GB, free: 4.598 MB / 1.029 GB Notification: Performance of SimCode: time 4.3e-07/0.4097, allocations: 0 / 1.338 GB, free: 4.598 MB / 1.029 GB Notification: Performance of Templates: time 0.008536/0.4182, allocations: 3.408 MB / 1.341 GB, free: 1.246 MB / 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 -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/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: 9.4290920663625]