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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.009064/0.009065, allocations: 103.5 kB / 15.73 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 188.1 kB / 16.67 MB, free: 6.379 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.459/1.459, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.796/2.796, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 63.89 kB / 1.054 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3417, allocations: 157.4 MB / 1.208 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002574/0.3444, allocations: 1.45 MB / 1.209 GB, free: 8.172 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008057/0.3452, allocations: 0.4991 MB / 1.21 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.707e-05/0.3452, allocations: 0 / 1.21 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.99e-05/0.3453, allocations: 3.938 kB / 1.21 GB, free: 7.664 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002178/0.3455, allocations: 31.84 kB / 1.21 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 9.856e-05/0.3456, allocations: 23.89 kB / 1.21 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.459e-05/0.3457, allocations: 47.86 kB / 1.21 GB, free: 7.562 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.671e-05/0.3458, allocations: 7.984 kB / 1.21 GB, free: 7.555 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.676e-05/0.3459, allocations: 35.91 kB / 1.21 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.908e-05/0.346, allocations: 23.92 kB / 1.21 GB, free: 7.496 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.346, allocations: 4 kB / 1.21 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.221e-05/0.346, allocations: 4 kB / 1.21 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.309e-05/0.3461, allocations: 11.92 kB / 1.21 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.922e-05/0.3461, allocations: 19.92 kB / 1.21 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.418e-05/0.3462, allocations: 39.81 kB / 1.21 GB, free: 7.418 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3462, allocations: 0 / 1.21 GB, free: 7.418 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3462, allocations: 0 / 1.21 GB, free: 7.418 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.241e-06/0.3462, allocations: 4 kB / 1.21 GB, free: 7.414 MB / 0.9669 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.0005494/0.3468, allocations: 351.5 kB / 1.21 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.3468, allocations: 12.62 kB / 1.21 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.438e-05/0.3469, allocations: 4.938 kB / 1.21 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.347, allocations: 180.2 kB / 1.21 GB, free: 6.793 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.347, allocations: 384 / 1.21 GB, free: 6.793 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.347, allocations: 8.375 kB / 1.21 GB, free: 6.785 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.3472, allocations: 61.98 kB / 1.21 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.3472, allocations: 0 / 1.21 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.3472, allocations: 0 / 1.21 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.3472, allocations: 0 / 1.21 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.488e-05/0.3473, allocations: 27.97 kB / 1.211 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003398/0.3476, allocations: 268.8 kB / 1.211 GB, free: 6.379 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002258/0.3479, allocations: 78.53 kB / 1.211 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.833e-05/0.3479, allocations: 28.84 kB / 1.211 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.117e-05/0.3479, allocations: 0 / 1.211 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001574/0.3481, allocations: 63.39 kB / 1.211 GB, free: 6.188 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.3481, allocations: 0 / 1.211 GB, free: 6.188 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0002379/0.3484, allocations: 97.5 kB / 1.211 GB, free: 6.086 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.3484, allocations: 59.34 kB / 1.211 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.505e-05/0.3485, allocations: 105.9 kB / 1.211 GB, free: 5.902 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.3485, allocations: 25.7 kB / 1.211 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.613e-05/0.3485, allocations: 84.12 kB / 1.211 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.138e-05/0.3486, allocations: 19.75 kB / 1.211 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.069e-05/0.3486, allocations: 21.7 kB / 1.211 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.575e-05/0.3487, allocations: 314.8 kB / 1.212 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.974e-05/0.3488, allocations: 15.98 kB / 1.212 GB, free: 5.406 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.171e-05/0.3488, allocations: 16 kB / 1.212 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.62e-05/0.3489, allocations: 52.84 kB / 1.212 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3489, allocations: 0 / 1.212 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001196/0.349, allocations: 69.59 kB / 1.212 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.349, allocations: 4 kB / 1.212 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.349, allocations: 0 / 1.212 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.3491, allocations: 0 / 1.212 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.379e-05/0.3491, allocations: 11.98 kB / 1.212 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.81e-06/0.3492, allocations: 4 kB / 1.212 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.468e-05/0.3492, allocations: 0 / 1.212 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.3492, allocations: 4 kB / 1.212 GB, free: 5.238 MB / 0.9669 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.514e-05/0.3493, allocations: 125.7 kB / 1.212 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.141e-05/0.3494, allocations: 4 kB / 1.212 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002192/0.3496, allocations: 105.6 kB / 1.212 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3496, allocations: 0 / 1.212 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3496, allocations: 256 / 1.212 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3496, allocations: 0 / 1.212 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/0.3498, allocations: 189.5 kB / 1.212 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3498, allocations: 0 / 1.212 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.231e-05/0.3498, allocations: 12 kB / 1.212 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.3499, allocations: 4 kB / 1.212 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.3499, allocations: 96 / 1.212 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3499, allocations: 3.938 kB / 1.212 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3499, allocations: 0 / 1.212 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001804/0.3501, allocations: 121 kB / 1.212 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.322e-05/0.3501, allocations: 88.94 kB / 1.212 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.3501, allocations: 0 / 1.212 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.911e-05/0.3502, allocations: 8 kB / 1.212 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.861e-05/0.3503, allocations: 15.92 kB / 1.212 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.3503, allocations: 4 kB / 1.212 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.345e-05/0.3503, allocations: 83.28 kB / 1.213 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3503, allocations: 0 / 1.213 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001891/0.3505, allocations: 8 kB / 1.213 GB, free: 4.375 MB / 0.9669 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.000118/0.3507, allocations: 111.2 kB / 1.213 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001463/0.3508, allocations: 51.91 kB / 1.213 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3508, allocations: 0 / 1.213 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.61e-05/0.3509, allocations: 39.92 kB / 1.213 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.351, allocations: 2.062 kB / 1.213 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000335/0.3514, allocations: 145.5 kB / 1.213 GB, free: 4 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.3517, allocations: 0.6807 MB / 1.214 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.864e-05/0.3517, allocations: 16.3 kB / 1.214 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.005e-05/0.3518, allocations: 15.44 kB / 1.214 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of SimCode: time 2.4e-07/0.3518, allocations: 0 / 1.214 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of Templates: time 0.002854/0.3546, allocations: 0.7131 MB / 1.214 GB, free: 2.562 MB / 0.9669 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/jenkins/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