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.0009441/0.0009441, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009111/0.0009111, allocations: 181 kB / 24.09 MB, free: 420 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 0.9541/0.9541, allocations: 177.1 MB / 204.5 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.829/1.829, allocations: 377.9 MB / 0.624 GB, free: 8.387 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.593e-06/1.593e-06, allocations: 0 / 0.812 GB, free: 1.484 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.236e-05/2.396e-05, allocations: 6.031 kB / 0.812 GB, free: 1.48 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.005826/0.00585, allocations: 1.856 MB / 0.8138 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.005987/0.01184, allocations: 1.759 MB / 0.8155 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.477e-05/0.01192, allocations: 3.938 kB / 0.8155 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001612/0.01208, allocations: 36.73 kB / 0.8155 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 9.321e-05/0.01218, allocations: 19.75 kB / 0.8156 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006094/0.01279, allocations: 272.2 kB / 0.8158 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002504/0.01304, allocations: 255.5 kB / 0.8161 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.01314, allocations: 35.05 kB / 0.8161 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000194/0.01334, allocations: 139.6 kB / 0.8162 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.01345, allocations: 78.2 kB / 0.8163 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.48e-05/0.01347, allocations: 12 kB / 0.8163 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003012/0.01377, allocations: 235.5 kB / 0.8165 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.94e-05/0.01385, allocations: 75.78 kB / 0.8166 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.142e-05/0.01392, allocations: 63.83 kB / 0.8167 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003841/0.0143, allocations: 366.7 kB / 0.817 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.0143, allocations: 4 kB / 0.817 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.092e-06/0.0143, allocations: 0.5312 kB / 0.817 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.01431, allocations: 1.531 kB / 0.817 GB, free: 12.3 MB / 0.7761 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.003625/0.01793, allocations: 0.5849 MB / 0.8176 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.01797, allocations: 17.33 kB / 0.8176 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001562/0.01813, allocations: 48.78 kB / 0.8177 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002056/0.01833, allocations: 177 kB / 0.8178 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.01836, allocations: 21.73 kB / 0.8179 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.565e-05/0.01839, allocations: 24.38 kB / 0.8179 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.01858, allocations: 150.3 kB / 0.818 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.01859, allocations: 3.938 kB / 0.818 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.01861, allocations: 13.2 kB / 0.818 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.01862, allocations: 4 kB / 0.818 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.234e-05/0.01869, allocations: 35.97 kB / 0.8181 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003755/0.02245, allocations: 497.6 kB / 0.8185 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.0226, allocations: 115.8 kB / 0.8187 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.649e-05/0.02266, allocations: 40.19 kB / 0.8187 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.02268, allocations: 4 kB / 0.8187 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001402/0.02282, allocations: 125 kB / 0.8188 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=27): time 1.994e-06/0.02282, allocations: 0 / 0.8188 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of matching and sorting (n=27): time 0.0003563/0.02318, allocations: 263.9 kB / 0.8191 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.02322, allocations: 71.33 kB / 0.8191 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.02335, allocations: 225.8 kB / 0.8194 GB, free: 9.77 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.371e-05/0.02338, allocations: 46.47 kB / 0.8194 GB, free: 9.719 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.329e-05/0.02345, allocations: 175.7 kB / 0.8196 GB, free: 9.543 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.792e-05/0.02352, allocations: 91.94 kB / 0.8197 GB, free: 9.453 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.335e-05/0.02361, allocations: 87.8 kB / 0.8197 GB, free: 9.359 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.02375, allocations: 0.5202 MB / 0.8202 GB, free: 8.828 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.575e-05/0.02381, allocations: 36.95 kB / 0.8203 GB, free: 8.793 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001538/0.02396, allocations: 228.2 kB / 0.8205 GB, free: 8.492 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002505/0.02421, allocations: 297.2 kB / 0.8208 GB, free: 8.129 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.02422, allocations: 4 kB / 0.8208 GB, free: 8.125 MB / 0.7761 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003253/0.02454, allocations: 277.5 kB / 0.8211 GB, free: 7.848 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.02456, allocations: 9.938 kB / 0.8211 GB, free: 7.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.02456, allocations: 4 kB / 0.8211 GB, free: 7.836 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.02458, allocations: 7.938 kB / 0.8211 GB, free: 7.828 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/0.02477, allocations: 83.84 kB / 0.8212 GB, free: 7.746 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.02478, allocations: 8 kB / 0.8212 GB, free: 7.738 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.266e-05/0.02487, allocations: 32.67 kB / 0.8212 GB, free: 7.707 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.02489, allocations: 16 kB / 0.8212 GB, free: 7.691 MB / 0.7761 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.0001279/0.02501, allocations: 205.2 kB / 0.8214 GB, free: 7.48 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.708e-05/0.02505, allocations: 34.14 kB / 0.8214 GB, free: 7.449 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.646e-05/0.02509, allocations: 22.64 kB / 0.8215 GB, free: 7.422 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.02509, allocations: 7.938 kB / 0.8215 GB, free: 7.414 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.02509, allocations: 0 / 0.8215 GB, free: 7.414 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.0251, allocations: 0 / 0.8215 GB, free: 7.414 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005896/0.02569, allocations: 0.5263 MB / 0.822 GB, free: 6.855 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.02569, allocations: 11.05 kB / 0.822 GB, free: 6.848 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.693e-05/0.02576, allocations: 12 kB / 0.822 GB, free: 6.836 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.02576, allocations: 192 / 0.822 GB, free: 6.836 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.129e-05/0.02578, allocations: 19.92 kB / 0.822 GB, free: 6.816 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.02578, allocations: 4 kB / 0.822 GB, free: 6.812 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.02579, allocations: 0 / 0.822 GB, free: 6.812 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00339/0.02918, allocations: 434 kB / 0.8224 GB, free: 6.371 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.111e-05/0.0292, allocations: 23.83 kB / 0.8225 GB, free: 6.348 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.286e-05/0.02923, allocations: 16.86 kB / 0.8225 GB, free: 6.332 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.818e-05/0.02931, allocations: 8 kB / 0.8225 GB, free: 6.324 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.313e-05/0.02935, allocations: 25.02 kB / 0.8225 GB, free: 6.301 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.111e-05/0.02937, allocations: 15.98 kB / 0.8225 GB, free: 6.285 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.239e-05/0.02943, allocations: 153.1 kB / 0.8227 GB, free: 6.137 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.02943, allocations: 5.094 kB / 0.8227 GB, free: 6.133 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003684/0.0298, allocations: 107.6 kB / 0.8228 GB, free: 6.027 MB / 0.7761 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.0006557/0.03046, allocations: 379 kB / 0.8231 GB, free: 5.738 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002268/0.03069, allocations: 176.3 kB / 0.8233 GB, free: 5.57 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.03069, allocations: 4 kB / 0.8233 GB, free: 5.566 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.538e-05/0.03077, allocations: 75.5 kB / 0.8234 GB, free: 5.488 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/0.03103, allocations: 27.97 kB / 0.8234 GB, free: 5.461 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000762/0.03179, allocations: 428.1 kB / 0.8238 GB, free: 5.016 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.653e-05/0.03185, allocations: 89.72 kB / 0.8239 GB, free: 4.91 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.287e-05/0.03192, allocations: 34.27 kB / 0.8239 GB, free: 4.875 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.81e-05/0.032, allocations: 94.2 kB / 0.824 GB, free: 4.781 MB / 0.7761 GB Notification: Performance of SimCode: time 6.81e-07/0.032, allocations: 0 / 0.824 GB, free: 4.781 MB / 0.7761 GB Notification: Performance of Templates: time 0.01204/0.04403, allocations: 3.646 MB / 0.8276 GB, free: 1.18 MB / 0.7761 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 -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.1666085151955485]