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.001053/0.001053, allocations: 80.92 kB / 20.75 MB, free: 3.742 MB / 18.57 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.001258/0.001258, allocations: 161 kB / 24.17 MB, free: 332 kB / 18.57 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.122/1.122, allocations: 177.1 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.025/2.025, allocations: 377.9 MB / 0.624 GB, free: 8.375 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 0.76 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.097e-05/2.226e-05, allocations: 2.312 kB / 0.76 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.002674/0.002697, allocations: 1.914 MB / 0.7619 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00204/0.004737, allocations: 1.782 MB / 0.7636 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.004845, allocations: 4.922 kB / 0.7636 GB, free: 2.938 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002154/0.005061, allocations: 40.95 kB / 0.7637 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001111/0.005172, allocations: 16.91 kB / 0.7637 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006914/0.005863, allocations: 263.2 kB / 0.764 GB, free: 2.633 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002878/0.006151, allocations: 249.5 kB / 0.7642 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.006282, allocations: 46.41 kB / 0.7642 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002447/0.006527, allocations: 135.6 kB / 0.7644 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/0.006653, allocations: 75.77 kB / 0.7644 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.006675, allocations: 12 kB / 0.7644 GB, free: 2.125 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003709/0.007045, allocations: 240.4 kB / 0.7647 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.007146, allocations: 80.47 kB / 0.7648 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.073e-05/0.007207, allocations: 59.83 kB / 0.7648 GB, free: 1.754 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004246/0.007632, allocations: 367.3 kB / 0.7652 GB, free: 1.395 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.007634, allocations: 0 / 0.7652 GB, free: 1.395 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.653e-06/0.007635, allocations: 2.188 kB / 0.7652 GB, free: 1.395 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.00764, allocations: 0 / 0.7652 GB, free: 1.395 MB / 0.7136 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.0005623/0.008202, allocations: 470.2 kB / 0.7656 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.008234, allocations: 8.031 kB / 0.7656 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001468/0.008381, allocations: 46.48 kB / 0.7657 GB, free: 0.8594 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002108/0.008592, allocations: 183.2 kB / 0.7658 GB, free: 0.6523 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.008615, allocations: 16.36 kB / 0.7659 GB, free: 0.6367 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.707e-05/0.008652, allocations: 25.62 kB / 0.7659 GB, free: 0.6133 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.008836, allocations: 146.4 kB / 0.766 GB, free: 472 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.008846, allocations: 3.938 kB / 0.766 GB, free: 468 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.008863, allocations: 9.094 kB / 0.766 GB, free: 460 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.00887, allocations: 4 kB / 0.766 GB, free: 456 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.221e-05/0.008932, allocations: 43.91 kB / 0.7661 GB, free: 412 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006711/0.009603, allocations: 376 kB / 0.7664 GB, free: 20 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.009761, allocations: 141.2 kB / 0.7666 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.374e-05/0.009804, allocations: 36.84 kB / 0.7666 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.009823, allocations: 10.73 kB / 0.7666 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001176/0.009941, allocations: 118.8 kB / 0.7667 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=27): time 1.904e-06/0.009943, allocations: 0 / 0.7667 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=27): time 0.0002169/0.01016, allocations: 162.6 kB / 0.7669 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/0.01021, allocations: 79.27 kB / 0.767 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.833e-05/0.01031, allocations: 166.6 kB / 0.7671 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/0.01033, allocations: 46.66 kB / 0.7672 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.834e-05/0.01038, allocations: 116.9 kB / 0.7673 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.413e-05/0.01044, allocations: 88.27 kB / 0.7674 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.087e-05/0.01051, allocations: 82.14 kB / 0.7674 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.139e-05/0.01059, allocations: 334.8 kB / 0.7678 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.597e-05/0.01063, allocations: 33.92 kB / 0.7678 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.01074, allocations: 173.1 kB / 0.768 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001999/0.01094, allocations: 249.6 kB / 0.7682 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.01094, allocations: 0 / 0.7682 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0002389/0.01118, allocations: 222.7 kB / 0.7684 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.0112, allocations: 14.66 kB / 0.7684 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.0112, allocations: 4 kB / 0.7684 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.01122, allocations: 8 kB / 0.7684 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.01139, allocations: 91.83 kB / 0.7685 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.0114, allocations: 11.92 kB / 0.7685 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.708e-05/0.01147, allocations: 31.78 kB / 0.7686 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.01149, allocations: 19.72 kB / 0.7686 GB, free: 13.64 MB / 0.7292 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.000111/0.0116, allocations: 155.2 kB / 0.7687 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.518e-05/0.01163, allocations: 28.09 kB / 0.7688 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.206e-05/0.01166, allocations: 18.66 kB / 0.7688 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.01166, allocations: 4 kB / 0.7688 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.01167, allocations: 11.25 kB / 0.7688 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.01167, allocations: 3.938 kB / 0.7688 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004072/0.01208, allocations: 399 kB / 0.7692 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.01208, allocations: 0 / 0.7692 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.605e-05/0.01215, allocations: 23.92 kB / 0.7692 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.01215, allocations: 0 / 0.7692 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/0.01217, allocations: 11.98 kB / 0.7692 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.01217, allocations: 3.938 kB / 0.7692 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01217, allocations: 0 / 0.7692 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002463/0.01242, allocations: 320.6 kB / 0.7695 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.404e-05/0.01243, allocations: 15.84 kB / 0.7695 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.838e-05/0.01246, allocations: 15.98 kB / 0.7695 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.245e-05/0.01252, allocations: 17.27 kB / 0.7696 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.136e-05/0.01256, allocations: 19.91 kB / 0.7696 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.01258, allocations: 11.98 kB / 0.7696 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.971e-05/0.01261, allocations: 38.81 kB / 0.7696 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01261, allocations: 0.625 kB / 0.7696 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003131/0.01293, allocations: 112.5 kB / 0.7697 GB, free: 12.41 MB / 0.7292 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.0008086/0.01374, allocations: 398.9 kB / 0.7701 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002227/0.01396, allocations: 167.8 kB / 0.7703 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.01396, allocations: 4 kB / 0.7703 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.799e-05/0.01403, allocations: 56.77 kB / 0.7703 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001844/0.01422, allocations: 27.97 kB / 0.7704 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008384/0.01505, allocations: 449.3 kB / 0.7708 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.753e-05/0.01511, allocations: 88.31 kB / 0.7709 GB, free: 11.31 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.06e-05/0.01518, allocations: 26.28 kB / 0.7709 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.899e-05/0.01526, allocations: 84.11 kB / 0.771 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of SimCode: time 7.82e-07/0.01526, allocations: 0 / 0.771 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of Templates: time 0.005585/0.02085, allocations: 3.612 MB / 0.7745 GB, free: 7.742 MB / 0.7292 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.338979402091354]