Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001881/0.001881, 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.002296/0.002296, allocations: 208.2 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.479/1.479, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.767/2.767, allocations: 475.9 MB / 0.7699 GB, free: 4.805 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002104/0.002104, allocations: 66.12 kB / 1.117 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.3014, allocations: 170 MB / 1.283 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.003285/0.3047, allocations: 1.814 MB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002746/0.3075, allocations: 1.71 MB / 1.286 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.565e-05/0.3076, allocations: 7.938 kB / 1.286 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001857/0.3078, allocations: 23.78 kB / 1.286 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.3079, allocations: 23.8 kB / 1.286 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007996/0.3087, allocations: 263.2 kB / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003522/0.309, allocations: 251.4 kB / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001498/0.3092, allocations: 49.64 kB / 1.287 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002202/0.3094, allocations: 95.69 kB / 1.287 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.3095, allocations: 79.66 kB / 1.287 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.706e-05/0.3096, allocations: 16 kB / 1.287 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004394/0.31, allocations: 239.6 kB / 1.287 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.3101, allocations: 83.73 kB / 1.288 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.823e-05/0.3102, allocations: 79.58 kB / 1.288 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005549/0.3108, allocations: 394.6 kB / 1.288 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3108, allocations: 0 / 1.288 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3108, allocations: 0 / 1.288 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.3108, allocations: 0 / 1.288 GB, free: 6.91 MB / 0.9825 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.0008841/0.3117, allocations: 0.4967 MB / 1.288 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.3117, allocations: 8.031 kB / 1.288 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001917/0.3119, allocations: 40.78 kB / 1.289 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004123/0.3123, allocations: 187.8 kB / 1.289 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.972e-05/0.3124, allocations: 20.38 kB / 1.289 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.571e-05/0.3124, allocations: 35.88 kB / 1.289 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003965/0.3128, allocations: 205.3 kB / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.3128, allocations: 0 / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.343e-05/0.3129, allocations: 8 kB / 1.289 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.3129, allocations: 7.938 kB / 1.289 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002578/0.3131, allocations: 123.9 kB / 1.289 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.3144, allocations: 491.7 kB / 1.29 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003682/0.3147, allocations: 186.6 kB / 1.29 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001782/0.3149, allocations: 84.81 kB / 1.29 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.3149, allocations: 7.938 kB / 1.29 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002973/0.3152, allocations: 181.2 kB / 1.29 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=27): time 1.874e-06/0.3152, allocations: 0 / 1.29 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of matching and sorting (n=27): time 0.000766/0.316, allocations: 384.4 kB / 1.29 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.084e-05/0.3161, allocations: 67.33 kB / 1.29 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.3162, allocations: 184 kB / 1.291 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.969e-05/0.3163, allocations: 45.69 kB / 1.291 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.3164, allocations: 133 kB / 1.291 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.022e-05/0.3165, allocations: 79.38 kB / 1.291 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.3166, allocations: 90.12 kB / 1.291 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.3168, allocations: 334.8 kB / 1.291 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002216/0.317, allocations: 120.8 kB / 1.291 GB, free: 3.289 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003512/0.3173, allocations: 277.1 kB / 1.292 GB, free: 2.953 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005422/0.3179, allocations: 364 kB / 1.292 GB, free: 2.539 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/0.3179, allocations: 7.938 kB / 1.292 GB, free: 2.531 MB / 0.9825 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000691/0.3186, allocations: 421.1 kB / 1.292 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.3186, allocations: 8 kB / 1.292 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.3186, allocations: 8 kB / 1.292 GB, free: 2.098 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.436e-05/0.3186, allocations: 11.98 kB / 1.292 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002131/0.3188, allocations: 64.31 kB / 1.292 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/0.3189, allocations: 12 kB / 1.292 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/0.319, allocations: 35.73 kB / 1.293 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.386e-05/0.319, allocations: 16 kB / 1.293 GB, free: 1.961 MB / 0.9825 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.0002007/0.3192, allocations: 180.3 kB / 1.293 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.647e-05/0.3193, allocations: 19.84 kB / 1.293 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.5e-05/0.3193, allocations: 22.66 kB / 1.293 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.3193, allocations: 4 kB / 1.293 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.3193, allocations: 3.984 kB / 1.293 GB, free: 1.723 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3193, allocations: 0 / 1.293 GB, free: 1.723 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/0.3204, allocations: 0.6154 MB / 1.293 GB, free: 1.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3204, allocations: 0 / 1.293 GB, free: 1.07 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.3205, allocations: 16 kB / 1.293 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.3205, allocations: 4 kB / 1.293 GB, free: 1.051 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.248e-05/0.3205, allocations: 7.984 kB / 1.293 GB, free: 1.043 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.3205, allocations: 0 / 1.293 GB, free: 1.043 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3205, allocations: 4 kB / 1.293 GB, free: 1.039 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008376/0.3214, allocations: 0.5241 MB / 1.294 GB, free: 0.5 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.331e-05/0.3214, allocations: 19.8 kB / 1.294 GB, free: 492 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.208e-05/0.3214, allocations: 23.97 kB / 1.294 GB, free: 468 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.3216, allocations: 7.984 kB / 1.294 GB, free: 460 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.261e-05/0.3216, allocations: 23.95 kB / 1.294 GB, free: 436 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.094e-05/0.3217, allocations: 15.98 kB / 1.294 GB, free: 420 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001059/0.3218, allocations: 115.2 kB / 1.294 GB, free: 304 kB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3218, allocations: 3.938 kB / 1.294 GB, free: 300 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004585/0.3222, allocations: 107.7 kB / 1.294 GB, free: 192 kB / 0.9825 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.000899/0.3231, allocations: 345.6 kB / 1.295 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005405/0.3237, allocations: 273.3 kB / 1.295 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3237, allocations: 0 / 1.295 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001941/0.3239, allocations: 100.8 kB / 1.295 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/0.3242, allocations: 31.56 kB / 1.295 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009334/0.3251, allocations: 0.4926 MB / 1.295 GB, free: 15 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000178/0.3253, allocations: 144.4 kB / 1.296 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001316/0.3254, allocations: 50.25 kB / 1.296 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.203e-05/0.3255, allocations: 23.44 kB / 1.296 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of SimCode: time 4.71e-07/0.3255, allocations: 0 / 1.296 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of Templates: time 0.007793/0.3333, allocations: 3.401 MB / 1.299 GB, free: 11.41 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.sim & ./Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_Python_3_8_Examples_SimpleRoom.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.957488551735878]