Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.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.0009746/0.0009746, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.0009984/0.0009984, allocations: 181 kB / 23.36 MB, free: 1.133 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.043/1.043, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.488/2.488, allocations: 438.8 MB / 0.6827 GB, free: 13.58 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eqnTim.nDay|eqnTim.eqnTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eqnTim.nDay|eqnTim.eqnTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.198e-05/2.357e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002306/0.00233, allocations: 1.549 MB / 0.8401 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0008266/0.003156, allocations: 0.5452 MB / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.911e-05/0.003206, allocations: 3.938 kB / 0.8407 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.029e-05/0.003236, allocations: 7.922 kB / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002635/0.003499, allocations: 23.86 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001234/0.003623, allocations: 27.91 kB / 0.8407 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 9.948e-05/0.003722, allocations: 63.77 kB / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.671e-05/0.003799, allocations: 4 kB / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.003933, allocations: 43.89 kB / 0.8408 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.699e-05/0.004, allocations: 19.91 kB / 0.8409 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.004016, allocations: 4 kB / 0.8409 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 5.822e-05/0.004074, allocations: 16 kB / 0.8409 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.784e-05/0.004092, allocations: 11.97 kB / 0.8409 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.724e-05/0.004119, allocations: 19.92 kB / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 9.812e-05/0.004217, allocations: 47.81 kB / 0.841 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.00422, allocations: 4 kB / 0.841 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.82e-07/0.004221, allocations: 0 / 0.841 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.004225, allocations: 0 / 0.841 GB, free: 11.74 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003757/0.004601, allocations: 264.8 kB / 0.8412 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.004648, allocations: 8.625 kB / 0.8412 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001256/0.004773, allocations: 24.88 kB / 0.8412 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.149e-05/0.004855, allocations: 109.7 kB / 0.8413 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.004866, allocations: 4.375 kB / 0.8414 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.757e-06/0.004875, allocations: 8.312 kB / 0.8414 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.51e-05/0.00496, allocations: 70.91 kB / 0.8414 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.004968, allocations: 192 / 0.8414 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-06/0.004975, allocations: 384 / 0.8414 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.00498, allocations: 3.938 kB / 0.8414 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.824e-05/0.005009, allocations: 15.92 kB / 0.8414 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002666/0.005275, allocations: 168.4 kB / 0.8416 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.005392, allocations: 46.56 kB / 0.8417 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.998e-05/0.005412, allocations: 16.84 kB / 0.8417 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.005426, allocations: 7.984 kB / 0.8417 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.949e-05/0.005525, allocations: 83.23 kB / 0.8418 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.005527, allocations: 0 / 0.8418 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0001215/0.005648, allocations: 57.62 kB / 0.8418 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.005685, allocations: 59.39 kB / 0.8419 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.204e-05/0.005737, allocations: 102.7 kB / 0.842 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.005752, allocations: 29.7 kB / 0.842 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.788e-05/0.00578, allocations: 84.14 kB / 0.8421 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.005806, allocations: 19.78 kB / 0.8421 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-05/0.005838, allocations: 33.62 kB / 0.8421 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.518e-05/0.005914, allocations: 318.8 kB / 0.8424 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.687e-05/0.00593, allocations: 4 kB / 0.8424 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.488e-05/0.005945, allocations: 11.98 kB / 0.8424 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.209e-05/0.005987, allocations: 28.83 kB / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.00599, allocations: 0 / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9) (initialization): time 7.619e-05/0.006067, allocations: 65.8 kB / 0.8425 GB, free: 9.969 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.00608, allocations: 7.938 kB / 0.8425 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.006085, allocations: 0 / 0.8425 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.006097, allocations: 0 / 0.8425 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.214e-05/0.006159, allocations: 15.98 kB / 0.8426 GB, free: 9.945 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-06/0.006162, allocations: 4 kB / 0.8426 GB, free: 9.941 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.113e-05/0.006193, allocations: 4 kB / 0.8426 GB, free: 9.938 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.0062, allocations: 0 / 0.8426 GB, free: 9.938 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (eqnTim.k,$PRE.eqnTim.k,eqnTim.tNext,$PRE.eqnTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 6.604e-05/0.006266, allocations: 125.8 kB / 0.8427 GB, free: 9.805 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.005e-05/0.006276, allocations: 4 kB / 0.8427 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001063/0.006382, allocations: 73.72 kB / 0.8428 GB, free: 9.727 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.006384, allocations: 0 / 0.8428 GB, free: 9.727 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.006386, allocations: 3.938 kB / 0.8428 GB, free: 9.723 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.00639, allocations: 0 / 0.8428 GB, free: 9.723 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.562e-05/0.006465, allocations: 81.88 kB / 0.8428 GB, free: 9.625 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.006467, allocations: 7.938 kB / 0.8428 GB, free: 9.617 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.782e-05/0.006505, allocations: 12 kB / 0.8429 GB, free: 9.605 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.006507, allocations: 0 / 0.8429 GB, free: 9.605 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.006512, allocations: 0 / 0.8429 GB, free: 9.605 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.006513, allocations: 0 / 0.8429 GB, free: 9.605 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.006515, allocations: 3.938 kB / 0.8429 GB, free: 9.602 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.22e-05/0.006597, allocations: 101 kB / 0.843 GB, free: 9.484 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.227e-05/0.006609, allocations: 7.891 kB / 0.843 GB, free: 9.477 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.006624, allocations: 4 kB / 0.843 GB, free: 9.473 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.521e-05/0.006649, allocations: 4 kB / 0.843 GB, free: 9.469 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.798e-05/0.006677, allocations: 15.92 kB / 0.843 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.006682, allocations: 0 / 0.843 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.315e-05/0.006695, allocations: 12.84 kB / 0.843 GB, free: 9.438 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.006695, allocations: 0 / 0.843 GB, free: 9.438 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001079/0.006803, allocations: 16 kB / 0.843 GB, free: 9.422 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,eqnTim.tNext,eqnTim.k) * Number of discrete states: 2 (eqnTim.k,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 9.516e-05/0.006898, allocations: 76.42 kB / 0.8431 GB, free: 9.34 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.109e-05/0.006979, allocations: 40.78 kB / 0.8431 GB, free: 9.297 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.006982, allocations: 0 / 0.8431 GB, free: 9.297 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.71e-05/0.007019, allocations: 32.78 kB / 0.8432 GB, free: 9.262 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.745e-05/0.007096, allocations: 8 kB / 0.8432 GB, free: 9.254 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004689/0.007565, allocations: 167.9 kB / 0.8433 GB, free: 9.066 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.668e-05/0.007602, allocations: 55.36 kB / 0.8434 GB, free: 8.992 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.871e-05/0.007641, allocations: 8.312 kB / 0.8434 GB, free: 8.984 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.699e-05/0.007698, allocations: 55.38 kB / 0.8434 GB, free: 8.93 MB / 0.8073 GB Notification: Performance of SimCode: time 1.202e-06/0.007699, allocations: 0 / 0.8434 GB, free: 8.93 MB / 0.8073 GB Notification: Performance of Templates: time 0.002841/0.01054, allocations: 0.7985 MB / 0.8442 GB, free: 8.145 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.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.397539603989571]