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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001048/0.001048, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 192.3 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.213/1.213, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.078/2.078, allocations: 390.2 MB / 0.6647 GB, free: 464 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.00128, allocations: 59.91 kB / 0.8125 GB, free: 14.47 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6172/0.6185, allocations: 140.4 MB / 0.9496 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.002516/0.621, allocations: 1.767 MB / 0.9513 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001644/0.6227, allocations: 1.605 MB / 0.9529 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.175e-05/0.6228, allocations: 6.031 kB / 0.9529 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001465/0.6229, allocations: 22.08 kB / 0.9529 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.12e-05/0.623, allocations: 22.81 kB / 0.9529 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005083/0.6235, allocations: 233.4 kB / 0.9531 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002163/0.6237, allocations: 245.5 kB / 0.9534 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.6239, allocations: 66.42 kB / 0.9534 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.624, allocations: 91.66 kB / 0.9535 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.6241, allocations: 82.3 kB / 0.9536 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.791e-05/0.6242, allocations: 12.53 kB / 0.9536 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002952/0.6245, allocations: 188.2 kB / 0.9538 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.127e-05/0.6246, allocations: 82.08 kB / 0.9539 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.284e-05/0.6246, allocations: 89.8 kB / 0.954 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003432/0.625, allocations: 376.9 kB / 0.9543 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.625, allocations: 1.156 kB / 0.9543 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.213e-06/0.625, allocations: 0 / 0.9543 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.625, allocations: 0 / 0.9543 GB, free: 5.523 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.0007838/0.6258, allocations: 0.5672 MB / 0.9549 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.6259, allocations: 9.469 kB / 0.9549 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.391e-05/0.6259, allocations: 24.66 kB / 0.9549 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001852/0.6261, allocations: 247.1 kB / 0.9551 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/0.6261, allocations: 18.17 kB / 0.9552 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.248e-05/0.6262, allocations: 32.02 kB / 0.9552 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003039/0.6265, allocations: 210.2 kB / 0.9554 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.6265, allocations: 0 / 0.9554 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/0.6265, allocations: 5.031 kB / 0.9554 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.6266, allocations: 5.406 kB / 0.9554 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002091/0.6268, allocations: 114.5 kB / 0.9555 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.6278, allocations: 0.5946 MB / 0.9561 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007407/0.6286, allocations: 274.4 kB / 0.9564 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.6287, allocations: 104.9 kB / 0.9565 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.6288, allocations: 6.344 kB / 0.9565 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002689/0.629, allocations: 162.4 kB / 0.9566 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=26): time 1.753e-06/0.6291, allocations: 1.188 kB / 0.9566 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of matching and sorting (n=26): time 0.0006008/0.6297, allocations: 384.9 kB / 0.957 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.6297, allocations: 70.08 kB / 0.9571 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.6298, allocations: 181.6 kB / 0.9572 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.405e-05/0.6299, allocations: 52.19 kB / 0.9573 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.203e-05/0.6299, allocations: 120.9 kB / 0.9574 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.104e-05/0.63, allocations: 79.64 kB / 0.9575 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.138e-05/0.6301, allocations: 75.45 kB / 0.9575 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.262e-05/0.6301, allocations: 337.7 kB / 0.9579 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.6303, allocations: 122.7 kB / 0.958 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002032/0.6305, allocations: 253.5 kB / 0.9582 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003541/0.6309, allocations: 360.3 kB / 0.9586 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.6309, allocations: 2.156 kB / 0.9586 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005315/0.6314, allocations: 415.4 kB / 0.959 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.6315, allocations: 11.62 kB / 0.959 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.6315, allocations: 3.75 kB / 0.959 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.6315, allocations: 6.312 kB / 0.959 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.6317, allocations: 65.12 kB / 0.959 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/0.6317, allocations: 10.23 kB / 0.9591 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001623/0.6318, allocations: 43.77 kB / 0.9591 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.322e-05/0.6319, allocations: 21.41 kB / 0.9591 GB, free: 1.898 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 (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,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],pyt.uRWri_temp[2],$PRE.pyt.uRWri_temp[2],pyt.uRWri[2],$PRE.pyt.uRWri[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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001385/0.632, allocations: 189.1 kB / 0.9593 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.103e-05/0.6321, allocations: 15.84 kB / 0.9593 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.924e-05/0.6321, allocations: 22.27 kB / 0.9593 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.6321, allocations: 3.219 kB / 0.9593 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.6321, allocations: 0 / 0.9593 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.6321, allocations: 0 / 0.9593 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007729/0.6329, allocations: 0.6858 MB / 0.96 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.6329, allocations: 0 / 0.96 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.31e-05/0.633, allocations: 17.23 kB / 0.96 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.633, allocations: 1.062 kB / 0.96 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.352e-05/0.6331, allocations: 12.14 kB / 0.96 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.6331, allocations: 1.125 kB / 0.96 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.6331, allocations: 0 / 0.96 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005962/0.6337, allocations: 0.5104 MB / 0.9605 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.787e-05/0.6337, allocations: 98.33 kB / 0.9606 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.234e-05/0.6338, allocations: 16.31 kB / 0.9606 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.6339, allocations: 16.81 kB / 0.9607 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.179e-05/0.634, allocations: 21.98 kB / 0.9607 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.72e-05/0.634, allocations: 17.08 kB / 0.9607 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.089e-05/0.6341, allocations: 125.5 kB / 0.9608 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6341, allocations: 0 / 0.9608 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004492/0.6345, allocations: 115 kB / 0.9609 GB, free: 0.6172 MB / 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 (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.0006934/0.6352, allocations: 331.4 kB / 0.9612 GB, free: 448 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005435/0.6358, allocations: 314.8 kB / 0.9615 GB, free: 328 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.6358, allocations: 5.5 kB / 0.9615 GB, free: 324 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001901/0.636, allocations: 105.4 kB / 0.9616 GB, free: 280 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/0.6363, allocations: 23.73 kB / 0.9617 GB, free: 268 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008899/0.6372, allocations: 490.9 kB / 0.9621 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/0.6376, allocations: 0.7511 MB / 0.9629 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000153/0.6377, allocations: 47.84 kB / 0.9629 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.152e-05/0.6378, allocations: 24.33 kB / 0.9629 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of SimCode: time 1.893e-06/0.6378, allocations: 0 / 0.9629 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of Templates: time 0.006614/0.6444, allocations: 3.226 MB / 0.9661 GB, free: 13.55 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches