Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 189 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.285/1.285, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.806/2.806, allocations: 495.7 MB / 0.7831 GB, free: 33.59 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_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_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 64.36 kB / 1.137 GB, free: 33.94 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.279, allocations: 173.6 MB / 1.307 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.003132/0.2822, allocations: 1.84 MB / 1.309 GB, free: 124 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002351/0.2845, allocations: 1.702 MB / 1.31 GB, free: 14.41 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.802e-05/0.2846, allocations: 8 kB / 1.31 GB, free: 14.4 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001631/0.2847, allocations: 35.7 kB / 1.31 GB, free: 14.37 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.914e-05/0.2848, allocations: 19.8 kB / 1.31 GB, free: 14.35 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006449/0.2855, allocations: 247.3 kB / 1.311 GB, free: 14.11 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003018/0.2858, allocations: 251.5 kB / 1.311 GB, free: 13.86 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.2859, allocations: 45.66 kB / 1.311 GB, free: 13.81 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001548/0.2861, allocations: 103.7 kB / 1.311 GB, free: 13.71 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/0.2862, allocations: 87.66 kB / 1.311 GB, free: 13.62 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.847e-05/0.2862, allocations: 12 kB / 1.311 GB, free: 13.61 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004035/0.2866, allocations: 251.6 kB / 1.311 GB, free: 13.36 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.2867, allocations: 83.73 kB / 1.311 GB, free: 13.28 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 9.688e-05/0.2868, allocations: 91.47 kB / 1.312 GB, free: 13.19 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004813/0.2873, allocations: 398.6 kB / 1.312 GB, free: 12.8 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2873, allocations: 0 / 1.312 GB, free: 12.8 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2873, allocations: 0 / 1.312 GB, free: 12.8 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.808e-06/0.2873, allocations: 0 / 1.312 GB, free: 12.8 MB / 1.014 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.0008176/0.2882, allocations: 0.4929 MB / 1.312 GB, free: 12.28 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.2882, allocations: 12.92 kB / 1.312 GB, free: 12.27 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.509e-05/0.2883, allocations: 24.8 kB / 1.312 GB, free: 12.24 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003308/0.2886, allocations: 199 kB / 1.313 GB, free: 12.02 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.989e-05/0.2886, allocations: 20.38 kB / 1.313 GB, free: 12 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.638e-05/0.2887, allocations: 27.94 kB / 1.313 GB, free: 11.97 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003862/0.2891, allocations: 205.3 kB / 1.313 GB, free: 11.77 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.2891, allocations: 7.938 kB / 1.313 GB, free: 11.76 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.354e-05/0.2891, allocations: 7.984 kB / 1.313 GB, free: 11.75 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.2891, allocations: 4 kB / 1.313 GB, free: 11.75 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002466/0.2894, allocations: 123.9 kB / 1.313 GB, free: 11.62 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001198/0.2906, allocations: 0.5421 MB / 1.314 GB, free: 11.04 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003445/0.2909, allocations: 194.4 kB / 1.314 GB, free: 10.84 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/0.2911, allocations: 92.8 kB / 1.314 GB, free: 10.75 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.2911, allocations: 4 kB / 1.314 GB, free: 10.74 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003173/0.2914, allocations: 175.5 kB / 1.314 GB, free: 10.56 MB / 1.014 GB Notification: Performance of pre-optimization done (n=27): time 1.623e-06/0.2914, allocations: 0 / 1.314 GB, free: 10.56 MB / 1.014 GB Notification: Performance of matching and sorting (n=27): time 0.000699/0.2921, allocations: 388 kB / 1.314 GB, free: 10.18 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.943e-05/0.2922, allocations: 75.38 kB / 1.314 GB, free: 10.09 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.2923, allocations: 188 kB / 1.315 GB, free: 9.898 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.835e-05/0.2924, allocations: 49.62 kB / 1.315 GB, free: 9.844 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.196e-05/0.2925, allocations: 125.1 kB / 1.315 GB, free: 9.719 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.808e-05/0.2925, allocations: 83.38 kB / 1.315 GB, free: 9.637 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.2926, allocations: 82.12 kB / 1.315 GB, free: 9.551 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.2928, allocations: 334.8 kB / 1.315 GB, free: 9.215 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002016/0.293, allocations: 120.8 kB / 1.315 GB, free: 9.098 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003007/0.2933, allocations: 253.4 kB / 1.316 GB, free: 8.789 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00048/0.2938, allocations: 371.9 kB / 1.316 GB, free: 8.367 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.2938, allocations: 7.938 kB / 1.316 GB, free: 8.359 MB / 1.014 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006227/0.2944, allocations: 421 kB / 1.316 GB, free: 7.941 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.2944, allocations: 11.94 kB / 1.316 GB, free: 7.93 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.2944, allocations: 4 kB / 1.316 GB, free: 7.926 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.2944, allocations: 8 kB / 1.316 GB, free: 7.918 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001969/0.2946, allocations: 60.31 kB / 1.316 GB, free: 7.859 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/0.2947, allocations: 15.98 kB / 1.316 GB, free: 7.844 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001385/0.2948, allocations: 35.78 kB / 1.317 GB, free: 7.809 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.777e-05/0.2948, allocations: 16 kB / 1.317 GB, free: 7.793 MB / 1.014 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.0001771/0.295, allocations: 192.1 kB / 1.317 GB, free: 7.598 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.6e-05/0.295, allocations: 31.84 kB / 1.317 GB, free: 7.566 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.135e-05/0.2951, allocations: 18.66 kB / 1.317 GB, free: 7.551 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.2951, allocations: 0 / 1.317 GB, free: 7.551 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.2951, allocations: 0 / 1.317 GB, free: 7.551 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.2951, allocations: 7.984 kB / 1.317 GB, free: 7.543 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009656/0.2961, allocations: 0.6627 MB / 1.317 GB, free: 6.832 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2961, allocations: 0 / 1.317 GB, free: 6.832 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.2962, allocations: 23.98 kB / 1.317 GB, free: 6.809 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.2962, allocations: 0 / 1.317 GB, free: 6.809 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.469e-05/0.2962, allocations: 11.98 kB / 1.317 GB, free: 6.797 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.2962, allocations: 4 kB / 1.317 GB, free: 6.793 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.2962, allocations: 3.938 kB / 1.317 GB, free: 6.789 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007104/0.2969, allocations: 0.5078 MB / 1.318 GB, free: 6.262 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 2.589e-05/0.2969, allocations: 19.88 kB / 1.318 GB, free: 6.242 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.729e-05/0.297, allocations: 19.98 kB / 1.318 GB, free: 6.223 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.2971, allocations: 11.98 kB / 1.318 GB, free: 6.211 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.446e-05/0.2972, allocations: 19.97 kB / 1.318 GB, free: 6.191 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.818e-05/0.2972, allocations: 11.98 kB / 1.318 GB, free: 6.18 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000103/0.2973, allocations: 140.2 kB / 1.318 GB, free: 6.043 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.2973, allocations: 0 / 1.318 GB, free: 6.043 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004338/0.2977, allocations: 111.6 kB / 1.318 GB, free: 5.934 MB / 1.014 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.0007799/0.2985, allocations: 332.5 kB / 1.319 GB, free: 5.66 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004844/0.299, allocations: 275.7 kB / 1.319 GB, free: 5.391 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.299, allocations: 4 kB / 1.319 GB, free: 5.387 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001782/0.2992, allocations: 103.8 kB / 1.319 GB, free: 5.285 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/0.2995, allocations: 26.3 kB / 1.319 GB, free: 5.262 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008545/0.3003, allocations: 0.4894 MB / 1.319 GB, free: 4.742 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.3007, allocations: 0.7518 MB / 1.32 GB, free: 3.965 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001219/0.3008, allocations: 58.23 kB / 1.32 GB, free: 3.91 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.483e-05/0.3008, allocations: 19.44 kB / 1.32 GB, free: 3.891 MB / 1.014 GB Notification: Performance of SimCode: time 3.11e-07/0.3008, allocations: 0 / 1.32 GB, free: 3.891 MB / 1.014 GB Notification: Performance of Templates: time 0.007107/0.308, allocations: 3.454 MB / 1.324 GB, free: 448 kB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.sim & ./Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Python_3_8_Examples_SimpleRoom.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.864860061556101]