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.001346/0.001346, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001401/0.001401, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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.9452/0.9452, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.776/1.776, allocations: 359 MB / 0.6052 GB, free: 11.02 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.293e-06/1.293e-06, allocations: 0 / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.061e-05/2.19e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.002336/0.002357, allocations: 1.858 MB / 0.7889 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001812/0.00417, allocations: 1.77 MB / 0.7906 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.69e-05/0.004256, allocations: 9.438 kB / 0.7906 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001887/0.004445, allocations: 35.66 kB / 0.7907 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001095/0.004555, allocations: 15.8 kB / 0.7907 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008834/0.005438, allocations: 266.2 kB / 0.7909 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002499/0.005688, allocations: 263.3 kB / 0.7912 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.005813, allocations: 41.78 kB / 0.7912 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002004/0.006013, allocations: 131.7 kB / 0.7913 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.00612, allocations: 71.78 kB / 0.7914 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.051e-05/0.006151, allocations: 16 kB / 0.7914 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003016/0.006452, allocations: 227.5 kB / 0.7916 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.7e-05/0.006539, allocations: 84.83 kB / 0.7917 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.384e-05/0.006603, allocations: 63.81 kB / 0.7918 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003774/0.00698, allocations: 363.4 kB / 0.7921 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.006983, allocations: 0 / 0.7921 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.012e-06/0.006984, allocations: 5.25 kB / 0.7921 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.379e-06/0.006988, allocations: 0 / 0.7921 GB, free: 7.328 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.0006109/0.007599, allocations: 0.5901 MB / 0.7927 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.007636, allocations: 8.031 kB / 0.7927 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001386/0.007775, allocations: 48.78 kB / 0.7928 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.008016, allocations: 195.4 kB / 0.793 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.753e-05/0.008043, allocations: 20.38 kB / 0.793 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.147e-05/0.008085, allocations: 28.36 kB / 0.793 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002167/0.008301, allocations: 163.7 kB / 0.7932 GB, free: 6.215 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.00831, allocations: 0 / 0.7932 GB, free: 6.215 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.008327, allocations: 12 kB / 0.7932 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.008337, allocations: 4 kB / 0.7932 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.179e-05/0.008428, allocations: 49.58 kB / 0.7932 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007631/0.009192, allocations: 0.5322 MB / 0.7937 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.009368, allocations: 123 kB / 0.7939 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.799e-05/0.009436, allocations: 55.59 kB / 0.7939 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.009458, allocations: 4 kB / 0.7939 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001434/0.009602, allocations: 132.6 kB / 0.794 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=27): time 1.333e-06/0.009603, allocations: 0.7188 kB / 0.794 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of matching and sorting (n=27): time 0.0003692/0.009972, allocations: 272 kB / 0.7943 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.01002, allocations: 75.83 kB / 0.7944 GB, free: 4.895 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.01014, allocations: 223.4 kB / 0.7946 GB, free: 4.66 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/0.01017, allocations: 49.69 kB / 0.7946 GB, free: 4.605 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.001e-05/0.01024, allocations: 175.7 kB / 0.7948 GB, free: 4.43 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.617e-05/0.0103, allocations: 87.36 kB / 0.7949 GB, free: 4.344 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.477e-05/0.01037, allocations: 92.47 kB / 0.795 GB, free: 4.246 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.0105, allocations: 0.5118 MB / 0.7955 GB, free: 3.723 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.148e-05/0.01057, allocations: 45.84 kB / 0.7955 GB, free: 3.68 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001693/0.01074, allocations: 272.4 kB / 0.7958 GB, free: 3.328 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002497/0.01099, allocations: 302.8 kB / 0.7961 GB, free: 2.957 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.01099, allocations: 2.031 kB / 0.7961 GB, free: 2.957 MB / 0.7448 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003196/0.01131, allocations: 308.1 kB / 0.7964 GB, free: 2.652 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.01133, allocations: 11.94 kB / 0.7964 GB, free: 2.641 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.01134, allocations: 4 kB / 0.7964 GB, free: 2.637 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.01136, allocations: 8 kB / 0.7964 GB, free: 2.629 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.01151, allocations: 75.84 kB / 0.7965 GB, free: 2.555 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.01152, allocations: 13.72 kB / 0.7965 GB, free: 2.543 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.32e-05/0.0116, allocations: 39.77 kB / 0.7965 GB, free: 2.504 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.01161, allocations: 16 kB / 0.7965 GB, free: 2.488 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.0001128/0.01173, allocations: 196.9 kB / 0.7967 GB, free: 2.289 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.054e-05/0.01176, allocations: 32.52 kB / 0.7967 GB, free: 2.258 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.652e-05/0.01179, allocations: 26.58 kB / 0.7968 GB, free: 2.23 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.0118, allocations: 5.094 kB / 0.7968 GB, free: 2.227 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.0118, allocations: 0 / 0.7968 GB, free: 2.227 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.01181, allocations: 7.922 kB / 0.7968 GB, free: 2.219 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005576/0.01236, allocations: 0.5768 MB / 0.7973 GB, free: 1.598 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.01237, allocations: 3.938 kB / 0.7973 GB, free: 1.594 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.14e-05/0.01243, allocations: 20.81 kB / 0.7974 GB, free: 1.574 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.01243, allocations: 0 / 0.7974 GB, free: 1.574 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/0.01245, allocations: 11.7 kB / 0.7974 GB, free: 1.566 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.01245, allocations: 0 / 0.7974 GB, free: 1.566 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.01245, allocations: 7.984 kB / 0.7974 GB, free: 1.559 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006272/0.01308, allocations: 449.3 kB / 0.7978 GB, free: 1.102 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.561e-05/0.0131, allocations: 19.78 kB / 0.7978 GB, free: 1.082 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.068e-05/0.01313, allocations: 19.98 kB / 0.7978 GB, free: 1.062 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.702e-05/0.01318, allocations: 7.984 kB / 0.7979 GB, free: 1.055 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.914e-05/0.01323, allocations: 20.16 kB / 0.7979 GB, free: 1.035 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/0.01325, allocations: 15.98 kB / 0.7979 GB, free: 1.02 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.197e-05/0.01332, allocations: 162.6 kB / 0.798 GB, free: 0.8633 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01332, allocations: 0 / 0.798 GB, free: 0.8633 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002852/0.0136, allocations: 111.6 kB / 0.7981 GB, free: 0.7539 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.0006359/0.01424, allocations: 376.9 kB / 0.7985 GB, free: 476 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002533/0.01449, allocations: 185 kB / 0.7987 GB, free: 288 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01449, allocations: 4 kB / 0.7987 GB, free: 284 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.642e-05/0.01458, allocations: 75.78 kB / 0.7988 GB, free: 204 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.01479, allocations: 31.91 kB / 0.7988 GB, free: 172 kB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008144/0.01561, allocations: 449 kB / 0.7992 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.091e-05/0.01566, allocations: 88.25 kB / 0.7993 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 8.307e-05/0.01574, allocations: 46.25 kB / 0.7993 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.224e-05/0.01578, allocations: 20.5 kB / 0.7994 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of SimCode: time 7.11e-07/0.01578, allocations: 0 / 0.7994 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of Templates: time 0.005102/0.02088, allocations: 3.311 MB / 0.8026 GB, free: 12.27 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: 5.13829858507961]