Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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=5000,variableFilter="time|TAmb.y|onOffCon.u|pyt.yR.2.",fileNamePrefix="Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom") translateModel(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TAmb.y|onOffCon.u|pyt.yR.2.",fileNamePrefix="Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 99.08 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.601/2.601, allocations: 390.3 MB / 0.6653 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003599/0.00036, allocations: 12 kB / 0.8145 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9401/0.9405, allocations: 142.3 MB / 0.9535 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.002704/0.9433, allocations: 1.438 MB / 0.9549 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002345/0.9456, allocations: 1.508 MB / 0.9564 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.986e-05/0.9457, allocations: 5.094 kB / 0.9564 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001874/0.9459, allocations: 34.27 kB / 0.9564 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001245/0.9461, allocations: 11.23 kB / 0.9564 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005684/0.9466, allocations: 189.5 kB / 0.9566 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002371/0.9469, allocations: 165.8 kB / 0.9568 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001489/0.947, allocations: 43.45 kB / 0.9568 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.9472, allocations: 74.44 kB / 0.9569 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.9473, allocations: 71.95 kB / 0.957 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.277e-05/0.9474, allocations: 6.031 kB / 0.957 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000319/0.9477, allocations: 140.5 kB / 0.9571 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.9478, allocations: 69.75 kB / 0.9572 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.692e-05/0.9479, allocations: 59.58 kB / 0.9572 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003542/0.9482, allocations: 277.1 kB / 0.9575 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.9482, allocations: 4 kB / 0.9575 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.416e-06/0.9483, allocations: 0 / 0.9575 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.627e-06/0.9483, allocations: 1.219 kB / 0.9575 GB, free: 5.047 MB / 0.7169 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.000954/0.9492, allocations: 0.5315 MB / 0.958 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.9493, allocations: 11.8 kB / 0.958 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.394e-05/0.9494, allocations: 21.31 kB / 0.958 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000291/0.9497, allocations: 234 kB / 0.9583 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.714e-05/0.9497, allocations: 17.42 kB / 0.9583 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.769e-05/0.9498, allocations: 32.48 kB / 0.9583 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003925/0.9502, allocations: 209.1 kB / 0.9585 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.9502, allocations: 0 / 0.9585 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.728e-05/0.9502, allocations: 13.8 kB / 0.9585 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/0.9503, allocations: 7.5 kB / 0.9585 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002425/0.9505, allocations: 122.8 kB / 0.9586 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001334/0.9518, allocations: 0.6014 MB / 0.9592 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008199/0.9527, allocations: 299.5 kB / 0.9595 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.844e-05/0.9527, allocations: 3.125 kB / 0.9595 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003337/0.9531, allocations: 173.2 kB / 0.9597 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=26): time 1.493e-06/0.9531, allocations: 0 / 0.9597 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of matching and sorting (n=26): time 0.0008101/0.9539, allocations: 469.7 kB / 0.9601 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.819e-05/0.9539, allocations: 69.2 kB / 0.9602 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.9541, allocations: 185 kB / 0.9604 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.583e-05/0.9542, allocations: 51.91 kB / 0.9604 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.371e-05/0.9543, allocations: 121.3 kB / 0.9605 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.158e-05/0.9543, allocations: 75.44 kB / 0.9606 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.454e-05/0.9543, allocations: 14.06 kB / 0.9606 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.857e-05/0.9544, allocations: 338 kB / 0.9609 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002128/0.9546, allocations: 114.4 kB / 0.9611 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002961/0.9549, allocations: 244.5 kB / 0.9613 GB, free: 2 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002603/0.9552, allocations: 159 kB / 0.9614 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.9552, allocations: 1.156 kB / 0.9614 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006841/0.9559, allocations: 409 kB / 0.9618 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.956, allocations: 5.969 kB / 0.9618 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.956, allocations: 4.188 kB / 0.9618 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.008e-05/0.956, allocations: 11.89 kB / 0.9619 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002081/0.9562, allocations: 65.12 kB / 0.9619 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.701e-05/0.9563, allocations: 14.64 kB / 0.9619 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000187/0.9564, allocations: 46.92 kB / 0.962 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.392e-05/0.9565, allocations: 21.2 kB / 0.962 GB, free: 1.648 MB / 0.7169 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 ($PRE.pyt.firstTrigger,pyt.firstTrigger,$PRE.pyt.yR[2],pyt.yR[2],$PRE.pyt.uRIntPre[1],pyt.uRIntPre[1],$PRE.pyt.uRIntPre[2],pyt.uRIntPre[2],$PRE.pyt.uRIntPre[3],pyt.uRIntPre[3],$PRE.pyt.uRIntPre[4],pyt.uRIntPre[4],$PRE.pyt.uRWri[1],pyt.uRWri[1],$PRE.pyt.uRWri_temp[1],pyt.uRWri_temp[1],$PRE.pyt.uRWri[4],pyt.uRWri[4],$PRE.pyt.uRWri_temp[4],pyt.uRWri_temp[4],$whenCondition1,pyt.sampleTrigger,$PRE.pyt.yR[1],pyt.yR[1],$PRE.pyt.uRWri[3],pyt.uRWri[3],$PRE.pyt.uRWri_temp[3],pyt.uRWri_temp[3],$PRE.onOffCon.y,onOffCon.y,$PRE.pyt.uRWri[2],pyt.uRWri[2],$PRE.pyt.uRWri_temp[2],pyt.uRWri_temp[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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001824/0.9567, allocations: 176.1 kB / 0.9622 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.169e-05/0.9567, allocations: 21.41 kB / 0.9622 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.013e-05/0.9568, allocations: 21.83 kB / 0.9622 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.9568, allocations: 6.703 kB / 0.9622 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.419e-05/0.9568, allocations: 5.281 kB / 0.9622 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.9568, allocations: 3.938 kB / 0.9622 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000973/0.9578, allocations: 0.6777 MB / 0.9629 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.9578, allocations: 0 / 0.9629 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.9579, allocations: 21.2 kB / 0.9629 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.9579, allocations: 9.984 kB / 0.9629 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.869e-05/0.958, allocations: 12.36 kB / 0.9629 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.958, allocations: 1 kB / 0.9629 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.958, allocations: 0 / 0.9629 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000738/0.9587, allocations: 0.5142 MB / 0.9634 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.622e-05/0.9588, allocations: 94.61 kB / 0.9635 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.48e-05/0.9588, allocations: 19.58 kB / 0.9635 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.959, allocations: 24.84 kB / 0.9636 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.985e-05/0.9591, allocations: 21.75 kB / 0.9636 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.62e-05/0.9591, allocations: 16.77 kB / 0.9636 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001001/0.9592, allocations: 126.1 kB / 0.9637 GB, free: 404 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.9592, allocations: 0 / 0.9637 GB, free: 404 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0005748/0.9598, allocations: 107.8 kB / 0.9638 GB, free: 368 kB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008055/0.9606, allocations: 330.5 kB / 0.9641 GB, free: 184 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005098/0.9612, allocations: 284.7 kB / 0.9644 GB, free: 64 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.9612, allocations: 0.9688 kB / 0.9644 GB, free: 64 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001967/0.9614, allocations: 106.8 kB / 0.9645 GB, free: 20 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002499/0.9616, allocations: 20.58 kB / 0.9645 GB, free: 8 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.9627, allocations: 0.5325 MB / 0.965 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.9631, allocations: 0.7606 MB / 0.9658 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001496/0.9632, allocations: 48.72 kB / 0.9658 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.299e-05/0.9633, allocations: 23.47 kB / 0.9659 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.9633, allocations: 0 / 0.9659 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of Templates: time 0.007415/0.9707, allocations: 3.011 MB / 0.9688 GB, free: 13.34 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.makefile (rm -f Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; mkfifo Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe >> ../files/Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.sim & ./Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_IO_Python_3_8_Examples_SimpleRoom.csv","../files/Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches