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.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.001665/0.001665, allocations: 104.8 kB / 18.84 MB, free: 3.023 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.001395/0.001395, allocations: 190.7 kB / 22.1 MB, free: 4.227 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.461/1.461, allocations: 225.6 MB / 250.8 MB, free: 2.93 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.936/2.936, allocations: 495.8 MB / 0.7831 GB, free: 12.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/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_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.2.",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 71.89 kB / 1.137 GB, free: 12.28 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.048/1.05, allocations: 173.6 MB / 1.307 GB, free: 33.75 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.003169/1.054, allocations: 1.836 MB / 1.309 GB, free: 32.49 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002276/1.056, allocations: 1.717 MB / 1.31 GB, free: 31.29 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/1.056, allocations: 2.594 kB / 1.31 GB, free: 31.29 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002115/1.056, allocations: 28.94 kB / 1.31 GB, free: 31.27 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001206/1.056, allocations: 22.09 kB / 1.31 GB, free: 31.25 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007179/1.057, allocations: 251 kB / 1.31 GB, free: 31.13 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003107/1.057, allocations: 249.1 kB / 1.311 GB, free: 31.03 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/1.057, allocations: 49.77 kB / 1.311 GB, free: 31 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/1.058, allocations: 99.69 kB / 1.311 GB, free: 30.96 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001366/1.058, allocations: 88.34 kB / 1.311 GB, free: 30.92 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.304e-05/1.058, allocations: 11.25 kB / 1.311 GB, free: 30.92 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004019/1.058, allocations: 246.2 kB / 1.311 GB, free: 30.84 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001094/1.058, allocations: 78.14 kB / 1.311 GB, free: 30.8 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.331e-05/1.058, allocations: 93.34 kB / 1.311 GB, free: 30.74 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004599/1.059, allocations: 384.4 kB / 1.312 GB, free: 30.61 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/1.059, allocations: 2.562 kB / 1.312 GB, free: 30.61 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.054e-06/1.059, allocations: 3.938 kB / 1.312 GB, free: 30.61 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.643e-06/1.059, allocations: 0 / 1.312 GB, free: 30.61 MB / 1.061 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.0008434/1.06, allocations: 0.4964 MB / 1.312 GB, free: 30.2 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/1.06, allocations: 11.88 kB / 1.312 GB, free: 30.2 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.522e-05/1.06, allocations: 24.48 kB / 1.312 GB, free: 30.19 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002845/1.06, allocations: 193 kB / 1.312 GB, free: 30.03 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.681e-05/1.06, allocations: 17.31 kB / 1.312 GB, free: 30.02 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.998e-05/1.06, allocations: 32.56 kB / 1.312 GB, free: 30.01 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003421/1.061, allocations: 208.3 kB / 1.313 GB, free: 29.92 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/1.061, allocations: 0 / 1.313 GB, free: 29.92 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.415e-05/1.061, allocations: 10.05 kB / 1.313 GB, free: 29.92 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/1.061, allocations: 3 kB / 1.313 GB, free: 29.92 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002223/1.061, allocations: 114 kB / 1.313 GB, free: 29.89 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001134/1.062, allocations: 0.5548 MB / 1.313 GB, free: 29.54 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003071/1.062, allocations: 191.7 kB / 1.314 GB, free: 29.46 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/1.062, allocations: 92.3 kB / 1.314 GB, free: 29.43 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/1.062, allocations: 2.906 kB / 1.314 GB, free: 29.43 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003236/1.063, allocations: 175.6 kB / 1.314 GB, free: 29.34 MB / 1.061 GB Notification: Performance of pre-optimization done (n=27): time 1.783e-06/1.063, allocations: 0 / 1.314 GB, free: 29.34 MB / 1.061 GB Notification: Performance of matching and sorting (n=27): time 0.0006705/1.063, allocations: 381 kB / 1.314 GB, free: 29.22 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/1.063, allocations: 69.22 kB / 1.314 GB, free: 29.15 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/1.064, allocations: 194.5 kB / 1.314 GB, free: 29.01 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.651e-05/1.064, allocations: 47.41 kB / 1.314 GB, free: 28.97 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.396e-05/1.064, allocations: 136.3 kB / 1.315 GB, free: 28.85 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.988e-05/1.064, allocations: 84.41 kB / 1.315 GB, free: 28.79 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.921e-05/1.064, allocations: 82.16 kB / 1.315 GB, free: 28.74 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.891e-05/1.064, allocations: 337.6 kB / 1.315 GB, free: 28.42 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001745/1.064, allocations: 113.1 kB / 1.315 GB, free: 28.39 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002382/1.064, allocations: 254.4 kB / 1.315 GB, free: 28.18 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000381/1.065, allocations: 366.2 kB / 1.316 GB, free: 27.93 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/1.065, allocations: 10.16 kB / 1.316 GB, free: 27.92 MB / 1.061 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005417/1.065, allocations: 421.9 kB / 1.316 GB, free: 27.75 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/1.065, allocations: 7.875 kB / 1.316 GB, free: 27.75 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/1.065, allocations: 6.562 kB / 1.316 GB, free: 27.74 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.347e-05/1.065, allocations: 8.344 kB / 1.316 GB, free: 27.74 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001897/1.065, allocations: 67.66 kB / 1.316 GB, free: 27.73 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/1.065, allocations: 15.19 kB / 1.316 GB, free: 27.72 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/1.066, allocations: 33.16 kB / 1.316 GB, free: 27.7 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.435e-05/1.066, allocations: 17.72 kB / 1.316 GB, free: 27.7 MB / 1.061 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.0001546/1.066, allocations: 192.2 kB / 1.317 GB, free: 27.54 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/1.066, allocations: 20.36 kB / 1.317 GB, free: 27.53 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.886e-05/1.066, allocations: 28.27 kB / 1.317 GB, free: 27.52 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/1.066, allocations: 3.125 kB / 1.317 GB, free: 27.52 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.405e-06/1.066, allocations: 0 / 1.317 GB, free: 27.52 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/1.066, allocations: 0 / 1.317 GB, free: 27.52 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008797/1.067, allocations: 0.664 MB / 1.317 GB, free: 27.13 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/1.067, allocations: 3.188 kB / 1.317 GB, free: 27.13 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/1.067, allocations: 21.72 kB / 1.317 GB, free: 27.12 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/1.067, allocations: 0 / 1.317 GB, free: 27.12 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/1.067, allocations: 12.61 kB / 1.317 GB, free: 27.12 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/1.067, allocations: 3.062 kB / 1.317 GB, free: 27.12 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/1.067, allocations: 4 kB / 1.317 GB, free: 27.12 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006372/1.068, allocations: 0.5177 MB / 1.318 GB, free: 26.86 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.412e-05/1.068, allocations: 20.62 kB / 1.318 GB, free: 26.85 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.532e-05/1.068, allocations: 15.81 kB / 1.318 GB, free: 26.85 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/1.068, allocations: 14.08 kB / 1.318 GB, free: 26.84 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.129e-05/1.068, allocations: 22.17 kB / 1.318 GB, free: 26.84 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.827e-05/1.068, allocations: 11.34 kB / 1.318 GB, free: 26.84 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.301e-05/1.068, allocations: 134.6 kB / 1.318 GB, free: 26.74 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.068, allocations: 0 / 1.318 GB, free: 26.74 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004758/1.068, allocations: 113.8 kB / 1.318 GB, free: 26.71 MB / 1.061 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.0008735/1.069, allocations: 344 kB / 1.318 GB, free: 26.53 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004741/1.07, allocations: 265.1 kB / 1.319 GB, free: 26.46 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.07, allocations: 0 / 1.319 GB, free: 26.46 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000168/1.07, allocations: 100.1 kB / 1.319 GB, free: 26.43 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000321/1.07, allocations: 25.91 kB / 1.319 GB, free: 26.42 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008455/1.071, allocations: 0.5014 MB / 1.319 GB, free: 26.12 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001844/1.071, allocations: 0.7508 MB / 1.32 GB, free: 25.42 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001234/1.071, allocations: 54.58 kB / 1.32 GB, free: 25.41 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.631e-05/1.071, allocations: 20.56 kB / 1.32 GB, free: 25.4 MB / 1.061 GB Notification: Performance of SimCode: time 3.81e-07/1.071, allocations: 3.938 kB / 1.32 GB, free: 25.4 MB / 1.061 GB Notification: Performance of Templates: time 0.007394/1.079, allocations: 3.452 MB / 1.323 GB, free: 25.1 MB / 1.061 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.432448910549283]