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.001356/0.001356, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001499/0.001499, allocations: 165 kB / 23.82 MB, free: 0.7461 MB / 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.9654/0.9654, allocations: 177.1 MB / 204.2 MB, free: 5.598 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.908/1.908, allocations: 377.8 MB / 0.6236 GB, free: 8.531 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.152e-06/1.152e-06, allocations: 0 / 0.8115 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.403e-05/1.518e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.002659/0.002674, allocations: 1.872 MB / 0.8133 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0022/0.004874, allocations: 1.767 MB / 0.8151 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.004978, allocations: 7.938 kB / 0.8151 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002118/0.005189, allocations: 33.25 kB / 0.8151 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001184/0.005308, allocations: 19.73 kB / 0.8151 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006427/0.005951, allocations: 272.1 kB / 0.8154 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002415/0.006192, allocations: 251.5 kB / 0.8156 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.006309, allocations: 41.77 kB / 0.8157 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001831/0.006493, allocations: 140.3 kB / 0.8158 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.006594, allocations: 68.73 kB / 0.8159 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.478e-05/0.006619, allocations: 12 kB / 0.8159 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002692/0.006888, allocations: 232.2 kB / 0.8161 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.396e-05/0.006972, allocations: 83.72 kB / 0.8162 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.699e-05/0.007039, allocations: 64.78 kB / 0.8162 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003967/0.007436, allocations: 374.7 kB / 0.8166 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.007438, allocations: 0 / 0.8166 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.91e-07/0.007438, allocations: 0.75 kB / 0.8166 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.007444, allocations: 0 / 0.8166 GB, free: 12.52 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.0006448/0.008088, allocations: 0.5831 MB / 0.8172 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.008128, allocations: 8.031 kB / 0.8172 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001494/0.008278, allocations: 48.78 kB / 0.8172 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002472/0.008525, allocations: 204.2 kB / 0.8174 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.807e-05/0.008553, allocations: 24.3 kB / 0.8174 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.258e-05/0.008595, allocations: 28.38 kB / 0.8175 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.008809, allocations: 154.1 kB / 0.8176 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.557e-06/0.008818, allocations: 1.062 kB / 0.8176 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.008836, allocations: 8 kB / 0.8176 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.008847, allocations: 7.984 kB / 0.8176 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.495e-05/0.008941, allocations: 53.72 kB / 0.8177 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007724/0.009714, allocations: 0.5201 MB / 0.8182 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004408/0.01015, allocations: 123 kB / 0.8183 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.21e-05/0.01023, allocations: 51.66 kB / 0.8184 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.01025, allocations: 5.531 kB / 0.8184 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001389/0.01039, allocations: 125.7 kB / 0.8185 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=27): time 1.352e-06/0.01039, allocations: 0 / 0.8185 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of matching and sorting (n=27): time 0.0003744/0.01076, allocations: 286.6 kB / 0.8187 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.01081, allocations: 72.17 kB / 0.8188 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.01093, allocations: 225.8 kB / 0.819 GB, free: 9.855 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.01096, allocations: 45.69 kB / 0.8191 GB, free: 9.805 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.104e-05/0.01103, allocations: 177.4 kB / 0.8192 GB, free: 9.629 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.985e-05/0.01109, allocations: 87.38 kB / 0.8193 GB, free: 9.543 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.264e-05/0.01117, allocations: 87.84 kB / 0.8194 GB, free: 9.449 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.01129, allocations: 0.5118 MB / 0.8199 GB, free: 8.926 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.498e-05/0.01137, allocations: 49.58 kB / 0.82 GB, free: 8.879 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/0.01153, allocations: 264.4 kB / 0.8202 GB, free: 8.531 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002445/0.01178, allocations: 315 kB / 0.8205 GB, free: 8.148 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.01178, allocations: 0.9062 kB / 0.8205 GB, free: 8.148 MB / 0.7761 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003163/0.0121, allocations: 300.1 kB / 0.8208 GB, free: 7.852 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.01211, allocations: 11.94 kB / 0.8208 GB, free: 7.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.01212, allocations: 4.812 kB / 0.8208 GB, free: 7.836 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.01214, allocations: 8 kB / 0.8208 GB, free: 7.828 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.0123, allocations: 85.8 kB / 0.8209 GB, free: 7.746 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.01231, allocations: 7.938 kB / 0.8209 GB, free: 7.738 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.687e-05/0.01239, allocations: 35.78 kB / 0.8209 GB, free: 7.703 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.0124, allocations: 16 kB / 0.821 GB, free: 7.688 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.000115/0.01252, allocations: 207.3 kB / 0.8212 GB, free: 7.48 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.867e-05/0.01255, allocations: 31.84 kB / 0.8212 GB, free: 7.449 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.974e-05/0.01259, allocations: 26.53 kB / 0.8212 GB, free: 7.418 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.01259, allocations: 4 kB / 0.8212 GB, free: 7.414 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.01259, allocations: 0 / 0.8212 GB, free: 7.414 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.0126, allocations: 3.984 kB / 0.8212 GB, free: 7.41 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005644/0.01316, allocations: 0.5719 MB / 0.8218 GB, free: 6.797 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.01317, allocations: 4.562 kB / 0.8218 GB, free: 6.793 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.348e-05/0.01323, allocations: 23.92 kB / 0.8218 GB, free: 6.77 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.01323, allocations: 0.5 kB / 0.8218 GB, free: 6.77 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/0.01325, allocations: 8.953 kB / 0.8218 GB, free: 6.762 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.01325, allocations: 8 kB / 0.8218 GB, free: 6.754 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01326, allocations: 0.5625 kB / 0.8218 GB, free: 6.754 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003597/0.01361, allocations: 445.8 kB / 0.8223 GB, free: 6.301 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.584e-05/0.01363, allocations: 23.78 kB / 0.8223 GB, free: 6.277 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.01366, allocations: 11.98 kB / 0.8223 GB, free: 6.266 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.043e-05/0.01372, allocations: 12.64 kB / 0.8223 GB, free: 6.254 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.784e-05/0.01377, allocations: 23.91 kB / 0.8223 GB, free: 6.23 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.132e-05/0.01379, allocations: 17.73 kB / 0.8223 GB, free: 6.215 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.366e-05/0.01385, allocations: 157.2 kB / 0.8225 GB, free: 6.062 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01385, allocations: 4 kB / 0.8225 GB, free: 6.059 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002973/0.01415, allocations: 111.7 kB / 0.8226 GB, free: 5.949 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.0006323/0.01478, allocations: 372.9 kB / 0.823 GB, free: 5.664 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002558/0.01504, allocations: 186.7 kB / 0.8231 GB, free: 5.48 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01504, allocations: 0.5 kB / 0.8231 GB, free: 5.48 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.863e-05/0.01513, allocations: 80.03 kB / 0.8232 GB, free: 5.402 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002054/0.01533, allocations: 29.2 kB / 0.8232 GB, free: 5.375 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000781/0.01611, allocations: 442.9 kB / 0.8237 GB, free: 4.918 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.983e-05/0.01616, allocations: 84.31 kB / 0.8237 GB, free: 4.816 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.207e-05/0.01624, allocations: 43.69 kB / 0.8238 GB, free: 4.773 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.807e-05/0.01628, allocations: 28.44 kB / 0.8238 GB, free: 4.746 MB / 0.7761 GB Notification: Performance of SimCode: time 5.41e-07/0.01628, allocations: 0 / 0.8238 GB, free: 4.746 MB / 0.7761 GB Notification: Performance of Templates: time 0.00534/0.02162, allocations: 3.32 MB / 0.827 GB, free: 1.473 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.1921669179573655]