Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009845/0.0009845, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001014/0.001014, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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.9482/0.9482, allocations: 177.1 MB / 204.2 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.936/1.936, allocations: 377.8 MB / 0.6236 GB, free: 8.562 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eqnTim.nDay|eqnTim.eqnTim",fileNamePrefix="Buildings_12_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_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.387e-06/3.387e-06, allocations: 3.984 kB / 0.8115 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.033e-05/3.371e-05, allocations: 9.125 kB / 0.8116 GB, free: 1.699 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.003041/0.003075, allocations: 1.502 MB / 0.813 GB, free: 212 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.004108, allocations: 0.5469 MB / 0.8136 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.383e-05/0.004172, allocations: 5.406 kB / 0.8136 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.638e-05/0.004218, allocations: 7.922 kB / 0.8136 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003163/0.004535, allocations: 15.81 kB / 0.8136 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002144/0.004749, allocations: 36.98 kB / 0.8136 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.004861, allocations: 55.83 kB / 0.8137 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.004971, allocations: 4.688 kB / 0.8137 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002017/0.005173, allocations: 39.84 kB / 0.8137 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.694e-05/0.00526, allocations: 28.86 kB / 0.8137 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.005281, allocations: 4 kB / 0.8137 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.49e-05/0.005346, allocations: 12.66 kB / 0.8138 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.495e-05/0.005371, allocations: 19.91 kB / 0.8138 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.575e-05/0.005417, allocations: 13.89 kB / 0.8138 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001499/0.005567, allocations: 55.75 kB / 0.8138 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.00557, allocations: 0 / 0.8138 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.704e-06/0.005572, allocations: 0 / 0.8138 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.144e-06/0.005579, allocations: 0 / 0.8138 GB, free: 15.37 MB / 0.7761 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.0005956/0.006175, allocations: 378.6 kB / 0.8142 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.006217, allocations: 12.03 kB / 0.8142 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001727/0.00639, allocations: 17.61 kB / 0.8142 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.006507, allocations: 116.6 kB / 0.8143 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.006524, allocations: 5.25 kB / 0.8143 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.006535, allocations: 4.375 kB / 0.8144 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.006653, allocations: 64.19 kB / 0.8144 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.006661, allocations: 192 / 0.8144 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.006674, allocations: 8.312 kB / 0.8144 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.006684, allocations: 3.938 kB / 0.8144 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.179e-05/0.006726, allocations: 16.52 kB / 0.8144 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005653/0.007291, allocations: 285 kB / 0.8147 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.007462, allocations: 67.09 kB / 0.8148 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.886e-05/0.007491, allocations: 20.78 kB / 0.8148 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/0.007506, allocations: 4 kB / 0.8148 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001147/0.00762, allocations: 77.86 kB / 0.8149 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.007622, allocations: 0 / 0.8149 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0001999/0.007822, allocations: 85.7 kB / 0.815 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.294e-05/0.007875, allocations: 61.08 kB / 0.815 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.461e-05/0.007959, allocations: 165.9 kB / 0.8152 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.007976, allocations: 29.64 kB / 0.8152 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.299e-05/0.008029, allocations: 134.9 kB / 0.8153 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.427e-05/0.008063, allocations: 21.38 kB / 0.8153 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.264e-05/0.008106, allocations: 31.36 kB / 0.8154 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.008238, allocations: 496.1 kB / 0.8159 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.115e-05/0.008269, allocations: 11.98 kB / 0.8159 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.12e-05/0.00829, allocations: 8.5 kB / 0.8159 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.717e-05/0.008358, allocations: 43.61 kB / 0.8159 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.00836, allocations: 1.531 kB / 0.8159 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.965e-05/0.00846, allocations: 69.62 kB / 0.816 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.008477, allocations: 11.98 kB / 0.816 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.008482, allocations: 0 / 0.816 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.008496, allocations: 0.5 kB / 0.816 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.195e-05/0.008568, allocations: 20.78 kB / 0.816 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.008573, allocations: 0 / 0.816 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.021e-05/0.008614, allocations: 13.62 kB / 0.816 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.008624, allocations: 4 kB / 0.816 GB, free: 12.93 MB / 0.7761 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 7.973e-05/0.008703, allocations: 160.6 kB / 0.8162 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.351e-05/0.008717, allocations: 7.938 kB / 0.8162 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001724/0.008889, allocations: 98.53 kB / 0.8163 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.008893, allocations: 4.672 kB / 0.8163 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.008897, allocations: 0 / 0.8163 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.0089, allocations: 0.5625 kB / 0.8163 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.14e-05/0.008991, allocations: 132.6 kB / 0.8164 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.008994, allocations: 5.125 kB / 0.8164 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.138e-05/0.009035, allocations: 11.98 kB / 0.8164 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.009041, allocations: 8.75 kB / 0.8164 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.00905, allocations: 0 / 0.8164 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.009052, allocations: 0 / 0.8164 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.009053, allocations: 0.9375 kB / 0.8164 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.009176, allocations: 124.7 kB / 0.8166 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.522e-05/0.009191, allocations: 9.234 kB / 0.8166 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.009216, allocations: 15.92 kB / 0.8166 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.733e-05/0.009243, allocations: 0 / 0.8166 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.108e-05/0.009284, allocations: 11.92 kB / 0.8166 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.009291, allocations: 0.8125 kB / 0.8166 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.686e-05/0.009338, allocations: 139.1 kB / 0.8167 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.009338, allocations: 1.969 kB / 0.8167 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001339/0.009472, allocations: 12 kB / 0.8167 GB, free: 12.14 MB / 0.7761 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.86e-05/0.009571, allocations: 103.2 kB / 0.8168 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000139/0.00971, allocations: 55.62 kB / 0.8169 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.009712, allocations: 0.75 kB / 0.8169 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.66e-05/0.009759, allocations: 43.59 kB / 0.8169 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001382/0.009897, allocations: 3.438 kB / 0.8169 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006207/0.01052, allocations: 166.2 kB / 0.8171 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.193e-05/0.01056, allocations: 55.36 kB / 0.8171 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.2e-05/0.0106, allocations: 7.984 kB / 0.8172 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.109e-05/0.01064, allocations: 13.12 kB / 0.8172 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of SimCode: time 1.042e-06/0.01064, allocations: 1.125 kB / 0.8172 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of Templates: time 0.003015/0.01366, allocations: 0.7657 MB / 0.8179 GB, free: 10.91 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 4.998446135781705]