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.001353/0.001353, allocations: 80.81 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.001443/0.001443, allocations: 173 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 0.9914/0.9914, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.351/2.351, allocations: 438.8 MB / 0.6827 GB, free: 13.59 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.784e-06/1.784e-06, allocations: 0 / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.163e-05/2.342e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002804/0.002827, allocations: 1.502 MB / 0.8401 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0008996/0.003727, allocations: 0.5414 MB / 0.8406 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.856e-05/0.003765, allocations: 0 / 0.8406 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.951e-05/0.003795, allocations: 3.938 kB / 0.8406 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002279/0.004023, allocations: 31.78 kB / 0.8406 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000218/0.004241, allocations: 31.89 kB / 0.8406 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 8.85e-05/0.004329, allocations: 47.86 kB / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.368e-05/0.004403, allocations: 7.984 kB / 0.8407 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001569/0.00456, allocations: 51.83 kB / 0.8407 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 7.563e-05/0.004636, allocations: 15.98 kB / 0.8408 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.004653, allocations: 4 kB / 0.8408 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 5.326e-05/0.004707, allocations: 23.91 kB / 0.8408 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.751e-05/0.004724, allocations: 4 kB / 0.8408 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.535e-05/0.00476, allocations: 19.98 kB / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001196/0.004879, allocations: 47.75 kB / 0.8409 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.004881, allocations: 0 / 0.8409 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.092e-06/0.004882, allocations: 0 / 0.8409 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.206e-06/0.004885, allocations: 0 / 0.8409 GB, free: 11.87 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.0004372/0.005323, allocations: 272.8 kB / 0.8411 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.005359, allocations: 8.625 kB / 0.8411 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000159/0.005518, allocations: 20.88 kB / 0.8411 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.109e-05/0.005609, allocations: 117.7 kB / 0.8413 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.005622, allocations: 384 / 0.8413 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/0.005638, allocations: 8.375 kB / 0.8413 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.005738, allocations: 66.86 kB / 0.8413 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.005746, allocations: 192 / 0.8413 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.005759, allocations: 8.375 kB / 0.8413 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.005767, allocations: 3.938 kB / 0.8413 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.657e-05/0.005803, allocations: 11.98 kB / 0.8414 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002906/0.006094, allocations: 168.3 kB / 0.8415 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.006235, allocations: 46.55 kB / 0.8416 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.17e-05/0.006257, allocations: 12.8 kB / 0.8416 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.006269, allocations: 4 kB / 0.8416 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001027/0.006372, allocations: 75.38 kB / 0.8416 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.006373, allocations: 0 / 0.8416 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0001364/0.00651, allocations: 65.61 kB / 0.8417 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.006553, allocations: 63.28 kB / 0.8418 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.06e-05/0.006613, allocations: 110.7 kB / 0.8419 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.006629, allocations: 25.7 kB / 0.8419 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.297e-05/0.006662, allocations: 88.14 kB / 0.842 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.006689, allocations: 23.8 kB / 0.842 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.754e-05/0.006737, allocations: 25.69 kB / 0.842 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.767e-05/0.006825, allocations: 318.8 kB / 0.8423 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.148e-05/0.006846, allocations: 11.98 kB / 0.8423 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.969e-05/0.006866, allocations: 8 kB / 0.8424 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.068e-05/0.006916, allocations: 32.83 kB / 0.8424 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.006918, allocations: 0 / 0.8424 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9) (initialization): time 8.869e-05/0.007007, allocations: 61.75 kB / 0.8424 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.00702, allocations: 10.44 kB / 0.8425 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.007026, allocations: 3.984 kB / 0.8425 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.007039, allocations: 0 / 0.8425 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.036e-05/0.007109, allocations: 12 kB / 0.8425 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.007112, allocations: 3.938 kB / 0.8425 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.301e-05/0.007155, allocations: 11.98 kB / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.007162, allocations: 0 / 0.8425 GB, free: 10.04 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.472e-05/0.007227, allocations: 113.8 kB / 0.8426 GB, free: 9.922 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.246e-05/0.00724, allocations: 4 kB / 0.8426 GB, free: 9.918 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.007356, allocations: 77.66 kB / 0.8427 GB, free: 9.84 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.007359, allocations: 4 kB / 0.8427 GB, free: 9.836 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.00736, allocations: 0 / 0.8427 GB, free: 9.836 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.007364, allocations: 0 / 0.8427 GB, free: 9.836 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.94e-05/0.007454, allocations: 77.88 kB / 0.8427 GB, free: 9.742 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.007455, allocations: 0 / 0.8427 GB, free: 9.742 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.507e-05/0.0075, allocations: 12 kB / 0.8428 GB, free: 9.73 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.007503, allocations: 4 kB / 0.8428 GB, free: 9.727 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.007511, allocations: 7.984 kB / 0.8428 GB, free: 9.719 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.007512, allocations: 0 / 0.8428 GB, free: 9.719 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.007514, allocations: 3.938 kB / 0.8428 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.904e-05/0.007613, allocations: 89.03 kB / 0.8429 GB, free: 9.609 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.336e-05/0.007627, allocations: 12.08 kB / 0.8429 GB, free: 9.598 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.007645, allocations: 4 kB / 0.8429 GB, free: 9.594 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.771e-05/0.007683, allocations: 4 kB / 0.8429 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.175e-05/0.007715, allocations: 15.84 kB / 0.8429 GB, free: 9.574 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.007724, allocations: 7.984 kB / 0.8429 GB, free: 9.566 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.52e-05/0.007739, allocations: 12.86 kB / 0.8429 GB, free: 9.551 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.007739, allocations: 0 / 0.8429 GB, free: 9.551 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001891/0.007928, allocations: 16 kB / 0.8429 GB, free: 9.535 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.009e-05/0.008018, allocations: 84.36 kB / 0.843 GB, free: 9.445 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.885e-05/0.008107, allocations: 36.83 kB / 0.843 GB, free: 9.406 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.008109, allocations: 0 / 0.843 GB, free: 9.406 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.319e-05/0.008152, allocations: 24.8 kB / 0.8431 GB, free: 9.379 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.301e-05/0.008225, allocations: 11.98 kB / 0.8431 GB, free: 9.367 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005091/0.008734, allocations: 159.3 kB / 0.8432 GB, free: 9.188 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.571e-05/0.00877, allocations: 63.34 kB / 0.8433 GB, free: 9.105 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.197e-05/0.008812, allocations: 8 kB / 0.8433 GB, free: 9.098 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.77e-05/0.00887, allocations: 55.38 kB / 0.8434 GB, free: 9.043 MB / 0.8073 GB Notification: Performance of SimCode: time 7.72e-07/0.00887, allocations: 0 / 0.8434 GB, free: 9.043 MB / 0.8073 GB Notification: Performance of Templates: time 0.00288/0.01175, allocations: 0.7858 MB / 0.8441 GB, free: 8.27 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 -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.091231985017657]