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.001815/0.001815, allocations: 77.55 kB / 19.76 MB, free: 2.027 MB / 14.72 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.002185/0.002185, allocations: 158 kB / 23.01 MB, free: 4.949 MB / 14.72 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.416/1.416, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.627/2.627, allocations: 359.1 MB / 0.6044 GB, free: 14.82 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00214/0.00214, allocations: 63.89 kB / 0.9515 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2831, allocations: 169.9 MB / 1.117 GB, free: 2.543 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.003344/0.2865, allocations: 1.811 MB / 1.119 GB, free: 0.7188 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002725/0.2892, allocations: 1.71 MB / 1.121 GB, free: 15 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.065e-05/0.2893, allocations: 7.938 kB / 1.121 GB, free: 14.99 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001714/0.2895, allocations: 31.72 kB / 1.121 GB, free: 14.96 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.2896, allocations: 23.8 kB / 1.121 GB, free: 14.94 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007006/0.2903, allocations: 259.2 kB / 1.121 GB, free: 14.68 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003226/0.2906, allocations: 251.5 kB / 1.121 GB, free: 14.44 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.2907, allocations: 41.77 kB / 1.121 GB, free: 14.4 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001962/0.2909, allocations: 103.7 kB / 1.122 GB, free: 14.3 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.2911, allocations: 79.66 kB / 1.122 GB, free: 14.22 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.716e-05/0.2911, allocations: 16 kB / 1.122 GB, free: 14.2 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004034/0.2915, allocations: 239.6 kB / 1.122 GB, free: 13.97 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.2916, allocations: 83.75 kB / 1.122 GB, free: 13.89 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.2917, allocations: 79.58 kB / 1.122 GB, free: 13.81 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0005066/0.2922, allocations: 390.7 kB / 1.122 GB, free: 13.43 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2922, allocations: 0 / 1.122 GB, free: 13.43 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.093e-06/0.2922, allocations: 0 / 1.122 GB, free: 13.43 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.2922, allocations: 0 / 1.122 GB, free: 13.43 MB / 1.076 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.0008466/0.2931, allocations: 0.4967 MB / 1.123 GB, free: 12.9 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.2931, allocations: 8.031 kB / 1.123 GB, free: 12.89 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001731/0.2933, allocations: 40.78 kB / 1.123 GB, free: 12.85 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003736/0.2937, allocations: 195 kB / 1.123 GB, free: 12.63 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.441e-05/0.2937, allocations: 28.3 kB / 1.123 GB, free: 12.61 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.473e-05/0.2937, allocations: 31.88 kB / 1.123 GB, free: 12.57 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003794/0.2941, allocations: 201.3 kB / 1.123 GB, free: 12.37 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.2941, allocations: 0 / 1.123 GB, free: 12.37 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.249e-05/0.2942, allocations: 8 kB / 1.123 GB, free: 12.36 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.2942, allocations: 4 kB / 1.123 GB, free: 12.36 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002583/0.2944, allocations: 119.9 kB / 1.123 GB, free: 12.24 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.2956, allocations: 487.9 kB / 1.124 GB, free: 11.73 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003547/0.296, allocations: 182.6 kB / 1.124 GB, free: 11.55 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001759/0.2961, allocations: 100.7 kB / 1.124 GB, free: 11.45 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.2962, allocations: 3.938 kB / 1.124 GB, free: 11.44 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002913/0.2965, allocations: 177.3 kB / 1.124 GB, free: 11.26 MB / 1.076 GB Notification: Performance of pre-optimization done (n=27): time 1.683e-06/0.2965, allocations: 0 / 1.124 GB, free: 11.26 MB / 1.076 GB Notification: Performance of matching and sorting (n=27): time 0.000737/0.2972, allocations: 381.1 kB / 1.125 GB, free: 10.88 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.757e-05/0.2973, allocations: 67.39 kB / 1.125 GB, free: 10.8 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.2974, allocations: 171 kB / 1.125 GB, free: 10.63 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.307e-05/0.2975, allocations: 49.69 kB / 1.125 GB, free: 10.57 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 9.13e-05/0.2976, allocations: 129 kB / 1.125 GB, free: 10.45 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 8.373e-05/0.2977, allocations: 87.36 kB / 1.125 GB, free: 10.36 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.2978, allocations: 82.19 kB / 1.125 GB, free: 10.27 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.2979, allocations: 342.8 kB / 1.126 GB, free: 9.926 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002094/0.2981, allocations: 112.9 kB / 1.126 GB, free: 9.816 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003475/0.2985, allocations: 283.7 kB / 1.126 GB, free: 9.477 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005178/0.299, allocations: 364 kB / 1.126 GB, free: 9.062 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.626e-06/0.299, allocations: 8 kB / 1.126 GB, free: 9.055 MB / 1.076 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006953/0.2997, allocations: 424.8 kB / 1.127 GB, free: 8.633 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.2997, allocations: 11.94 kB / 1.127 GB, free: 8.621 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.2997, allocations: 4 kB / 1.127 GB, free: 8.617 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.2997, allocations: 8 kB / 1.127 GB, free: 8.609 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002156/0.3, allocations: 59.91 kB / 1.127 GB, free: 8.551 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.425e-05/0.3, allocations: 12.41 kB / 1.127 GB, free: 8.539 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/0.3001, allocations: 39.77 kB / 1.127 GB, free: 8.5 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.64e-05/0.3002, allocations: 16 kB / 1.127 GB, free: 8.484 MB / 1.076 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.0001859/0.3003, allocations: 176.3 kB / 1.127 GB, free: 8.301 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.129e-05/0.3004, allocations: 23.84 kB / 1.127 GB, free: 8.277 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.538e-05/0.3004, allocations: 22.58 kB / 1.127 GB, free: 8.254 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.3004, allocations: 8 kB / 1.127 GB, free: 8.246 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3004, allocations: 0 / 1.127 GB, free: 8.246 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.3004, allocations: 0 / 1.127 GB, free: 8.246 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.3014, allocations: 0.6155 MB / 1.128 GB, free: 7.594 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3014, allocations: 0 / 1.128 GB, free: 7.594 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.3016, allocations: 19.92 kB / 1.128 GB, free: 7.574 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3016, allocations: 4 kB / 1.128 GB, free: 7.57 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.693e-05/0.3016, allocations: 11.98 kB / 1.128 GB, free: 7.559 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.3016, allocations: 3.938 kB / 1.128 GB, free: 7.555 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.634e-06/0.3016, allocations: 3.984 kB / 1.128 GB, free: 7.551 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008054/0.3024, allocations: 0.5158 MB / 1.128 GB, free: 7.016 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.64e-05/0.3024, allocations: 23.83 kB / 1.128 GB, free: 6.992 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.75e-05/0.3025, allocations: 15.98 kB / 1.128 GB, free: 6.977 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.3026, allocations: 12.17 kB / 1.128 GB, free: 6.965 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.769e-05/0.3027, allocations: 23.97 kB / 1.128 GB, free: 6.941 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.145e-05/0.3027, allocations: 23.86 kB / 1.128 GB, free: 6.918 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001004/0.3028, allocations: 115.2 kB / 1.129 GB, free: 6.805 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.3028, allocations: 4 kB / 1.129 GB, free: 6.801 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004638/0.3033, allocations: 111.7 kB / 1.129 GB, free: 6.691 MB / 1.076 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.000853/0.3041, allocations: 338.9 kB / 1.129 GB, free: 6.43 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005098/0.3046, allocations: 279 kB / 1.129 GB, free: 6.16 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3046, allocations: 0 / 1.129 GB, free: 6.16 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001949/0.3048, allocations: 99.88 kB / 1.129 GB, free: 6.062 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.3051, allocations: 28.8 kB / 1.129 GB, free: 6.035 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008613/0.306, allocations: 496.4 kB / 1.13 GB, free: 5.523 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001484/0.3061, allocations: 144.5 kB / 1.13 GB, free: 5.363 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001261/0.3063, allocations: 50.25 kB / 1.13 GB, free: 5.312 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.667e-05/0.3063, allocations: 28.44 kB / 1.13 GB, free: 5.285 MB / 1.076 GB Notification: Performance of SimCode: time 3.2e-07/0.3063, allocations: 0 / 1.13 GB, free: 5.285 MB / 1.076 GB Notification: Performance of Templates: time 0.007533/0.3138, allocations: 3.262 MB / 1.133 GB, free: 2.066 MB / 1.076 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=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe 2>&1) [Timeout 400] 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/jenkins1/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: 8.306827635969967]