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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|eqnTim.nDay|eqnTim.eqnTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 99.34 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 182.7 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.87/2.87, allocations: 462.6 MB / 0.737 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003918/0.0003918, allocations: 17.67 kB / 0.9034 GB, free: 36.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3485, allocations: 159.6 MB / 1.059 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.001753/0.3504, allocations: 1.174 MB / 1.06 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008913/0.3513, allocations: 498.6 kB / 1.061 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.935e-05/0.3513, allocations: 0 / 1.061 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.775e-05/0.3514, allocations: 0 / 1.061 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002705/0.3517, allocations: 31.91 kB / 1.061 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001229/0.3518, allocations: 19.97 kB / 1.061 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.186e-05/0.3519, allocations: 51.78 kB / 1.061 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.959e-05/0.352, allocations: 8 kB / 1.061 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.3521, allocations: 19.97 kB / 1.061 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.69e-05/0.3522, allocations: 27.86 kB / 1.061 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.3523, allocations: 0 / 1.061 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.518e-05/0.3523, allocations: 4 kB / 1.061 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.464e-05/0.3523, allocations: 7.922 kB / 1.061 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.565e-05/0.3524, allocations: 45.61 kB / 1.061 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.312e-05/0.3525, allocations: 32.17 kB / 1.061 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3525, allocations: 3.938 kB / 1.061 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.284e-06/0.3525, allocations: 4 kB / 1.061 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.3525, allocations: 4 kB / 1.061 GB, free: 3.016 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000573/0.3531, allocations: 335.6 kB / 1.062 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.3531, allocations: 11.97 kB / 1.062 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.982e-05/0.3532, allocations: 12.83 kB / 1.062 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.3533, allocations: 168.3 kB / 1.062 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.3533, allocations: 384 / 1.062 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/0.3534, allocations: 8.375 kB / 1.062 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.3535, allocations: 61.92 kB / 1.062 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.3535, allocations: 3.984 kB / 1.062 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.3536, allocations: 4 kB / 1.062 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.3536, allocations: 0 / 1.062 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.525e-05/0.3536, allocations: 23.97 kB / 1.062 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003876/0.354, allocations: 276.7 kB / 1.062 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000225/0.3543, allocations: 74.61 kB / 1.062 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.37e-05/0.3543, allocations: 16.86 kB / 1.062 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.3544, allocations: 4 kB / 1.062 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000169/0.3545, allocations: 71.31 kB / 1.062 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.3545, allocations: 0 / 1.062 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0002483/0.3548, allocations: 97.61 kB / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.3548, allocations: 51.41 kB / 1.062 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.337e-05/0.3549, allocations: 105.8 kB / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.3549, allocations: 29.7 kB / 1.062 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.898e-05/0.355, allocations: 80.14 kB / 1.063 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.104e-05/0.355, allocations: 27.64 kB / 1.063 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.534e-05/0.3551, allocations: 9.719 kB / 1.063 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.746e-05/0.3552, allocations: 318.8 kB / 1.063 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.809e-05/0.3552, allocations: 19.98 kB / 1.063 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.612e-05/0.3552, allocations: 12 kB / 1.063 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.617e-05/0.3553, allocations: 44.98 kB / 1.063 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3553, allocations: 0 / 1.063 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001241/0.3555, allocations: 73.69 kB / 1.063 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.3555, allocations: 4 kB / 1.063 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3555, allocations: 0 / 1.063 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.3555, allocations: 4 kB / 1.063 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.783e-05/0.3556, allocations: 11.98 kB / 1.063 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.3556, allocations: 0 / 1.063 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.639e-05/0.3557, allocations: 12 kB / 1.063 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.3557, allocations: 3.984 kB / 1.063 GB, free: 0.8516 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (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 (7): * Single equations (assignments): 7 * 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 9.247e-05/0.3558, allocations: 117.8 kB / 1.063 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.683e-05/0.3558, allocations: 11.84 kB / 1.063 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000206/0.356, allocations: 101.6 kB / 1.063 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.3561, allocations: 0 / 1.063 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3561, allocations: 0 / 1.063 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3561, allocations: 0 / 1.063 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.3562, allocations: 189.6 kB / 1.063 GB, free: 384 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3562, allocations: 256 / 1.063 GB, free: 384 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.446e-05/0.3563, allocations: 15.94 kB / 1.063 GB, free: 368 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.3563, allocations: 0 / 1.063 GB, free: 368 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.3563, allocations: 0 / 1.063 GB, free: 368 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.3563, allocations: 4 kB / 1.063 GB, free: 364 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3563, allocations: 0 / 1.063 GB, free: 364 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001811/0.3565, allocations: 124.9 kB / 1.064 GB, free: 220 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.945e-05/0.3566, allocations: 88.98 kB / 1.064 GB, free: 112 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.3566, allocations: 8 kB / 1.064 GB, free: 104 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.891e-05/0.3567, allocations: 4 kB / 1.064 GB, free: 100 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.819e-05/0.3567, allocations: 3.984 kB / 1.064 GB, free: 96 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.3568, allocations: 4 kB / 1.064 GB, free: 92 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.024e-05/0.3568, allocations: 91.44 kB / 1.064 GB, free: 0 / 0.8106 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3568, allocations: 0 / 1.064 GB, free: 0 / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002133/0.357, allocations: 16.05 kB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,eqnTim.tNext) * Number of discrete states: 1 (eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001234/0.3572, allocations: 99.25 kB / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001456/0.3573, allocations: 51.81 kB / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3573, allocations: 0 / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.382e-05/0.3574, allocations: 40.05 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001841/0.3576, allocations: 8 kB / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003681/0.358, allocations: 186.3 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/0.3582, allocations: 0.6848 MB / 1.065 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.909e-05/0.3583, allocations: 11.44 kB / 1.065 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of SimCode: time 3.2e-07/0.3583, allocations: 0 / 1.065 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of Templates: time 0.002469/0.3607, allocations: 0.8171 MB / 1.066 GB, free: 14.04 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches