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.001873/0.001873, allocations: 83.69 kB / 20.23 MB, free: 4.191 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.001986/0.001986, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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 1.537/1.537, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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 2.875/2.875, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] 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.2.",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.2.",fileNamePrefix="Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.498e-05/2.629e-05, allocations: 6.25 kB / 0.7863 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.003376/0.003403, allocations: 1.834 MB / 0.7881 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002897/0.006299, allocations: 1.756 MB / 0.7899 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.671e-05/0.006376, allocations: 7.938 kB / 0.7899 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001873/0.006563, allocations: 27.73 kB / 0.7899 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.006675, allocations: 20.95 kB / 0.7899 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007794/0.007454, allocations: 263 kB / 0.7902 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004443/0.007898, allocations: 256.2 kB / 0.7904 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.008036, allocations: 45.77 kB / 0.7904 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002828/0.008318, allocations: 129.3 kB / 0.7906 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001574/0.008476, allocations: 67.83 kB / 0.7906 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.842e-05/0.008514, allocations: 12 kB / 0.7906 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004601/0.008974, allocations: 242.9 kB / 0.7909 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001314/0.009106, allocations: 91.7 kB / 0.791 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.678e-05/0.009202, allocations: 55.83 kB / 0.791 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006359/0.009838, allocations: 426.6 kB / 0.7914 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.009841, allocations: 0 / 0.7914 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.62e-07/0.009842, allocations: 0 / 0.7914 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.009848, allocations: 0 / 0.7914 GB, free: 7.629 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.0009792/0.01083, allocations: 0.5886 MB / 0.792 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.01086, allocations: 12.62 kB / 0.792 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002084/0.01107, allocations: 57.31 kB / 0.7921 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003979/0.01147, allocations: 198.8 kB / 0.7923 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.642e-05/0.0115, allocations: 20.38 kB / 0.7923 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.53e-05/0.01156, allocations: 24.38 kB / 0.7923 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003469/0.01191, allocations: 161.4 kB / 0.7925 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.01192, allocations: 0.7812 kB / 0.7925 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.569e-05/0.01194, allocations: 11.98 kB / 0.7925 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.01195, allocations: 5.156 kB / 0.7925 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002187/0.01217, allocations: 71.95 kB / 0.7925 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001359/0.01353, allocations: 0.5439 MB / 0.7931 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003359/0.01386, allocations: 147.2 kB / 0.7932 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.01402, allocations: 67.66 kB / 0.7933 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.01404, allocations: 4 kB / 0.7933 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002903/0.01433, allocations: 142.3 kB / 0.7934 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=27): time 1.583e-06/0.01433, allocations: 2.031 kB / 0.7934 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of matching and sorting (n=27): time 0.000703/0.01503, allocations: 306.5 kB / 0.7937 GB, free: 5.164 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.135e-05/0.01511, allocations: 67.39 kB / 0.7938 GB, free: 5.086 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002641/0.01537, allocations: 257.7 kB / 0.794 GB, free: 4.816 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.165e-05/0.01542, allocations: 45.69 kB / 0.7941 GB, free: 4.766 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.01556, allocations: 180.3 kB / 0.7942 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.01567, allocations: 96.09 kB / 0.7943 GB, free: 4.492 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/0.01583, allocations: 103.8 kB / 0.7944 GB, free: 4.383 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003074/0.01614, allocations: 0.5247 MB / 0.7949 GB, free: 3.848 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/0.01629, allocations: 52.97 kB / 0.795 GB, free: 3.797 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003687/0.01666, allocations: 292.4 kB / 0.7953 GB, free: 3.426 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005106/0.01717, allocations: 327.8 kB / 0.7956 GB, free: 3.031 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.01718, allocations: 4 kB / 0.7956 GB, free: 3.027 MB / 0.7448 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005976/0.01778, allocations: 313.1 kB / 0.7959 GB, free: 2.719 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.0178, allocations: 11.94 kB / 0.7959 GB, free: 2.707 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.01781, allocations: 4 kB / 0.7959 GB, free: 2.703 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.01783, allocations: 8 kB / 0.7959 GB, free: 2.695 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002733/0.0181, allocations: 82.62 kB / 0.796 GB, free: 2.617 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.94e-05/0.01812, allocations: 11.98 kB / 0.796 GB, free: 2.605 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/0.01825, allocations: 27.84 kB / 0.796 GB, free: 2.578 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.424e-05/0.01829, allocations: 20 kB / 0.796 GB, free: 2.559 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.0002057/0.01849, allocations: 212.5 kB / 0.7962 GB, free: 2.344 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.13e-05/0.01855, allocations: 35.84 kB / 0.7963 GB, free: 2.309 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.082e-05/0.0186, allocations: 23.03 kB / 0.7963 GB, free: 2.285 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.01861, allocations: 4 kB / 0.7963 GB, free: 2.281 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.01861, allocations: 0.5312 kB / 0.7963 GB, free: 2.281 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.01861, allocations: 0.9375 kB / 0.7963 GB, free: 2.281 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.01969, allocations: 0.6194 MB / 0.7969 GB, free: 1.617 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.01969, allocations: 9.031 kB / 0.7969 GB, free: 1.609 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.0198, allocations: 15.98 kB / 0.7969 GB, free: 1.594 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.01981, allocations: 0 / 0.7969 GB, free: 1.594 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.983e-05/0.01984, allocations: 12.64 kB / 0.7969 GB, free: 1.582 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.01984, allocations: 7.938 kB / 0.797 GB, free: 1.574 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.01984, allocations: 1.094 kB / 0.797 GB, free: 1.574 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009312/0.02077, allocations: 488.6 kB / 0.7974 GB, free: 1.078 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.461e-05/0.02081, allocations: 27.75 kB / 0.7974 GB, free: 1.055 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.997e-05/0.02086, allocations: 20.17 kB / 0.7975 GB, free: 1.035 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.02097, allocations: 11.98 kB / 0.7975 GB, free: 1.023 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.081e-05/0.02105, allocations: 19.97 kB / 0.7975 GB, free: 1.004 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.432e-05/0.02109, allocations: 15.98 kB / 0.7975 GB, free: 0.9883 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001389/0.02123, allocations: 165.4 kB / 0.7977 GB, free: 0.8281 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.02123, allocations: 0 / 0.7977 GB, free: 0.8281 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004521/0.02168, allocations: 107.7 kB / 0.7978 GB, free: 0.7227 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.001279/0.02296, allocations: 366.2 kB / 0.7981 GB, free: 448 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004706/0.02343, allocations: 220.3 kB / 0.7983 GB, free: 224 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.02343, allocations: 0 / 0.7983 GB, free: 224 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001853/0.02361, allocations: 87.58 kB / 0.7984 GB, free: 132 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.02392, allocations: 33.8 kB / 0.7984 GB, free: 100 kB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009033/0.02483, allocations: 446.2 kB / 0.7989 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001661/0.02499, allocations: 128.6 kB / 0.799 GB, free: 15.49 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001298/0.02512, allocations: 46.25 kB / 0.799 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.813e-05/0.02518, allocations: 28.48 kB / 0.7991 GB, free: 15.42 MB / 0.7605 GB Notification: Performance of SimCode: time 5.01e-07/0.02518, allocations: 4 kB / 0.7991 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of Templates: time 0.008518/0.0337, allocations: 3.295 MB / 0.8023 GB, free: 12.17 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.950990640092641]