Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009067/0.0009067, allocations: 81.95 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.0009724/0.0009724, allocations: 181 kB / 24.09 MB, free: 416 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.9006/0.9006, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.732/1.732, allocations: 359 MB / 0.6055 GB, free: 10.86 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 0.7875 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.316e-05/1.429e-05, allocations: 4.844 kB / 0.7875 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.002053/0.002067, allocations: 1.857 MB / 0.7893 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001692/0.00376, allocations: 1.759 MB / 0.7911 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.661e-05/0.003846, allocations: 2.375 kB / 0.7911 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001576/0.004004, allocations: 39.59 kB / 0.7911 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.018e-05/0.004094, allocations: 23.78 kB / 0.7911 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006284/0.004722, allocations: 259.1 kB / 0.7914 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000273/0.004995, allocations: 257.3 kB / 0.7916 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.005111, allocations: 45.77 kB / 0.7917 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000211/0.005322, allocations: 131.6 kB / 0.7918 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.005435, allocations: 71.78 kB / 0.7919 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.644e-05/0.005461, allocations: 12.56 kB / 0.7919 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003389/0.0058, allocations: 231.6 kB / 0.7921 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.347e-05/0.005893, allocations: 81.22 kB / 0.7922 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.049e-05/0.005954, allocations: 59.81 kB / 0.7922 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004147/0.006369, allocations: 374.7 kB / 0.7926 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.684e-06/0.00637, allocations: 0 / 0.7926 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.81e-07/0.006371, allocations: 1.375 kB / 0.7926 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.236e-06/0.006374, allocations: 0 / 0.7926 GB, free: 7.039 MB / 0.7448 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.000592/0.006966, allocations: 0.5866 MB / 0.7932 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.006999, allocations: 8.031 kB / 0.7932 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001389/0.007138, allocations: 48.78 kB / 0.7932 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000206/0.007344, allocations: 186.1 kB / 0.7934 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/0.00737, allocations: 20.38 kB / 0.7934 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.053e-05/0.00741, allocations: 24.38 kB / 0.7934 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002028/0.007613, allocations: 144.3 kB / 0.7936 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.007622, allocations: 3.938 kB / 0.7936 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/0.00764, allocations: 11.98 kB / 0.7936 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.00765, allocations: 4 kB / 0.7936 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.459e-05/0.007734, allocations: 43.89 kB / 0.7936 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008192/0.008553, allocations: 494.1 kB / 0.7941 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.008729, allocations: 119.1 kB / 0.7942 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.405e-05/0.008793, allocations: 43.66 kB / 0.7943 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.008816, allocations: 12.7 kB / 0.7943 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001428/0.008959, allocations: 130.8 kB / 0.7944 GB, free: 5.066 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=27): time 1.643e-06/0.00896, allocations: 0 / 0.7944 GB, free: 5.066 MB / 0.7448 GB Notification: Performance of matching and sorting (n=27): time 0.0003651/0.009325, allocations: 258 kB / 0.7946 GB, free: 4.812 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.009365, allocations: 67.39 kB / 0.7947 GB, free: 4.734 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.009496, allocations: 221.8 kB / 0.7949 GB, free: 4.5 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.385e-05/0.009529, allocations: 46.22 kB / 0.795 GB, free: 4.449 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.798e-05/0.009607, allocations: 188.2 kB / 0.7951 GB, free: 4.262 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.268e-05/0.00968, allocations: 87.34 kB / 0.7952 GB, free: 4.176 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.009787, allocations: 92.64 kB / 0.7953 GB, free: 4.078 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.009951, allocations: 0.5118 MB / 0.7958 GB, free: 3.555 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.637e-05/0.01002, allocations: 34.12 kB / 0.7958 GB, free: 3.523 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001831/0.0102, allocations: 238.9 kB / 0.7961 GB, free: 3.215 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002614/0.01046, allocations: 278.8 kB / 0.7963 GB, free: 2.867 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.01047, allocations: 4 kB / 0.7963 GB, free: 2.863 MB / 0.7448 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003697/0.01084, allocations: 282.6 kB / 0.7966 GB, free: 2.586 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.01085, allocations: 8 kB / 0.7966 GB, free: 2.578 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.01086, allocations: 4 kB / 0.7966 GB, free: 2.574 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.01087, allocations: 12.12 kB / 0.7966 GB, free: 2.562 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.01101, allocations: 83.84 kB / 0.7967 GB, free: 2.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.01101, allocations: 11.98 kB / 0.7967 GB, free: 2.469 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.17e-05/0.01109, allocations: 31.78 kB / 0.7968 GB, free: 2.438 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.0111, allocations: 12.5 kB / 0.7968 GB, free: 2.426 MB / 0.7448 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.0001056/0.0112, allocations: 202 kB / 0.797 GB, free: 2.223 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.903e-05/0.01123, allocations: 35.84 kB / 0.797 GB, free: 2.188 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.671e-05/0.01126, allocations: 18.66 kB / 0.797 GB, free: 2.168 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.01126, allocations: 8.594 kB / 0.797 GB, free: 2.16 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.01126, allocations: 0 / 0.797 GB, free: 2.16 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.01127, allocations: 4.703 kB / 0.797 GB, free: 2.156 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004582/0.01173, allocations: 0.5415 MB / 0.7975 GB, free: 1.578 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.01173, allocations: 2.844 kB / 0.7976 GB, free: 1.578 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.477e-05/0.01178, allocations: 16 kB / 0.7976 GB, free: 1.562 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.01179, allocations: 7.984 kB / 0.7976 GB, free: 1.555 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.0118, allocations: 11.92 kB / 0.7976 GB, free: 1.543 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.0118, allocations: 0 / 0.7976 GB, free: 1.543 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.0118, allocations: 0 / 0.7976 GB, free: 1.543 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003037/0.01211, allocations: 428.6 kB / 0.798 GB, free: 1.105 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.387e-05/0.01212, allocations: 21.91 kB / 0.798 GB, free: 1.086 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/0.01215, allocations: 19.92 kB / 0.798 GB, free: 1.066 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.632e-05/0.01221, allocations: 11.98 kB / 0.798 GB, free: 1.055 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.303e-05/0.01224, allocations: 19.97 kB / 0.7981 GB, free: 1.035 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.01225, allocations: 7.984 kB / 0.7981 GB, free: 1.027 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.122e-05/0.0123, allocations: 154.3 kB / 0.7982 GB, free: 0.8789 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.0123, allocations: 0 / 0.7982 GB, free: 0.8789 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002673/0.01257, allocations: 116.7 kB / 0.7983 GB, free: 0.7656 MB / 0.7448 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.0005372/0.01311, allocations: 373.4 kB / 0.7987 GB, free: 488 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001777/0.01329, allocations: 180.5 kB / 0.7989 GB, free: 304 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.01329, allocations: 0 / 0.7989 GB, free: 304 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.53e-05/0.01335, allocations: 67.56 kB / 0.7989 GB, free: 232 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001813/0.01353, allocations: 23.98 kB / 0.7989 GB, free: 208 kB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006419/0.01418, allocations: 449.6 kB / 0.7994 GB, free: 15.74 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.741e-05/0.01422, allocations: 92.31 kB / 0.7995 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 5.27e-05/0.01428, allocations: 26.28 kB / 0.7995 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.767e-05/0.01434, allocations: 98.19 kB / 0.7996 GB, free: 15.51 MB / 0.7605 GB Notification: Performance of SimCode: time 4.01e-07/0.01434, allocations: 0 / 0.7996 GB, free: 15.51 MB / 0.7605 GB Notification: Performance of Templates: time 0.004687/0.01903, allocations: 3.642 MB / 0.8031 GB, free: 11.9 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.sim & ./Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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: 4.89241827186197]