Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.007397/0.007397, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001893/0.001894, allocations: 201.8 kB / 16.68 MB, free: 5.969 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.662/2.662, allocations: 437 MB / 0.7105 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 63.89 kB / 1.019 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.3378, allocations: 151.6 MB / 1.167 GB, free: 6.797 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.003132/0.341, allocations: 1.435 MB / 1.168 GB, free: 5.344 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001057/0.3421, allocations: 0.5181 MB / 1.169 GB, free: 4.82 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.287e-05/0.3421, allocations: 0 / 1.169 GB, free: 4.82 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.41e-05/0.3422, allocations: 0 / 1.169 GB, free: 4.82 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002648/0.3425, allocations: 19.86 kB / 1.169 GB, free: 4.801 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001312/0.3426, allocations: 31.91 kB / 1.169 GB, free: 4.77 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.3427, allocations: 47.84 kB / 1.169 GB, free: 4.723 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.3428, allocations: 12 kB / 1.169 GB, free: 4.711 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.343, allocations: 23.91 kB / 1.169 GB, free: 4.688 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.616e-05/0.3431, allocations: 23.91 kB / 1.169 GB, free: 4.664 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.3431, allocations: 4 kB / 1.169 GB, free: 4.66 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.299e-05/0.3431, allocations: 4 kB / 1.169 GB, free: 4.656 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.377e-05/0.3432, allocations: 8 kB / 1.169 GB, free: 4.648 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.238e-05/0.3432, allocations: 23.91 kB / 1.169 GB, free: 4.625 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001384/0.3434, allocations: 47.75 kB / 1.169 GB, free: 4.578 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.3434, allocations: 3.938 kB / 1.169 GB, free: 4.574 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3434, allocations: 0 / 1.169 GB, free: 4.574 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.3434, allocations: 0 / 1.169 GB, free: 4.574 MB / 0.92 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.0006679/0.3441, allocations: 355.4 kB / 1.169 GB, free: 4.18 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.3441, allocations: 8.031 kB / 1.169 GB, free: 4.172 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.803e-05/0.3442, allocations: 8.891 kB / 1.169 GB, free: 4.164 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.3443, allocations: 168.4 kB / 1.169 GB, free: 3.961 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.3444, allocations: 384 / 1.169 GB, free: 3.961 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.3444, allocations: 8.359 kB / 1.169 GB, free: 3.953 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002678/0.3447, allocations: 65.97 kB / 1.169 GB, free: 3.883 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.3447, allocations: 0 / 1.169 GB, free: 3.883 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.3447, allocations: 3.984 kB / 1.169 GB, free: 3.879 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.3447, allocations: 0 / 1.169 GB, free: 3.879 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.562e-05/0.3448, allocations: 27.92 kB / 1.169 GB, free: 3.852 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004305/0.3452, allocations: 276.7 kB / 1.17 GB, free: 3.531 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000268/0.3455, allocations: 66.67 kB / 1.17 GB, free: 3.457 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.882e-05/0.3456, allocations: 20.86 kB / 1.17 GB, free: 3.434 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.3456, allocations: 7.938 kB / 1.17 GB, free: 3.426 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002201/0.3458, allocations: 67.38 kB / 1.17 GB, free: 3.348 MB / 0.92 GB Notification: Performance of pre-optimization done (n=6): time 2.264e-06/0.3458, allocations: 3.938 kB / 1.17 GB, free: 3.344 MB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.000266/0.3461, allocations: 89.67 kB / 1.17 GB, free: 3.25 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.3462, allocations: 51.41 kB / 1.17 GB, free: 3.188 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.347e-05/0.3462, allocations: 109.8 kB / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.3463, allocations: 29.64 kB / 1.17 GB, free: 3.035 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.173e-05/0.3463, allocations: 84.14 kB / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/0.3464, allocations: 19.84 kB / 1.17 GB, free: 2.93 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.552e-05/0.3464, allocations: 17.72 kB / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.3465, allocations: 322.8 kB / 1.17 GB, free: 2.582 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.144e-05/0.3466, allocations: 12 kB / 1.171 GB, free: 2.57 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.396e-05/0.3466, allocations: 20.05 kB / 1.171 GB, free: 2.551 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.969e-05/0.3467, allocations: 36.86 kB / 1.171 GB, free: 2.512 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3467, allocations: 0 / 1.171 GB, free: 2.512 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001262/0.3469, allocations: 73.67 kB / 1.171 GB, free: 2.434 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.3469, allocations: 6.031 kB / 1.171 GB, free: 2.43 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3469, allocations: 0 / 1.171 GB, free: 2.43 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.3469, allocations: 0 / 1.171 GB, free: 2.43 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.852e-05/0.347, allocations: 15.88 kB / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.347, allocations: 3.984 kB / 1.171 GB, free: 2.41 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.162e-05/0.3471, allocations: 15.89 kB / 1.171 GB, free: 2.395 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.3471, allocations: 4.25 kB / 1.171 GB, free: 2.391 MB / 0.92 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 0.0001017/0.3472, allocations: 120 kB / 1.171 GB, free: 2.266 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.426e-05/0.3473, allocations: 4 kB / 1.171 GB, free: 2.262 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000216/0.3475, allocations: 97.56 kB / 1.171 GB, free: 2.156 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.3475, allocations: 8 kB / 1.171 GB, free: 2.148 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3475, allocations: 0 / 1.171 GB, free: 2.148 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.3475, allocations: 3.984 kB / 1.171 GB, free: 2.145 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/0.3477, allocations: 185.5 kB / 1.171 GB, free: 1.914 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3477, allocations: 0 / 1.171 GB, free: 1.914 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.49e-05/0.3478, allocations: 19.98 kB / 1.171 GB, free: 1.895 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3478, allocations: 0 / 1.171 GB, free: 1.895 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.3478, allocations: 0 / 1.171 GB, free: 1.895 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.3478, allocations: 0 / 1.171 GB, free: 1.895 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3478, allocations: 0 / 1.171 GB, free: 1.895 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001749/0.348, allocations: 125 kB / 1.171 GB, free: 1.754 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.986e-05/0.348, allocations: 85.06 kB / 1.171 GB, free: 1.652 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.348, allocations: 0 / 1.171 GB, free: 1.652 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.606e-05/0.3481, allocations: 11.98 kB / 1.171 GB, free: 1.641 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.376e-05/0.3482, allocations: 8.125 kB / 1.171 GB, free: 1.633 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.3482, allocations: 7.984 kB / 1.171 GB, free: 1.625 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001706/0.3484, allocations: 87.27 kB / 1.171 GB, free: 1.539 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3484, allocations: 0 / 1.171 GB, free: 1.539 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001911/0.3486, allocations: 12 kB / 1.171 GB, free: 1.527 MB / 0.92 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.0001233/0.3487, allocations: 99.25 kB / 1.172 GB, free: 1.422 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001566/0.3488, allocations: 55.84 kB / 1.172 GB, free: 1.367 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3489, allocations: 4 kB / 1.172 GB, free: 1.363 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.349, allocations: 31.98 kB / 1.172 GB, free: 1.332 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001545/0.3491, allocations: 4 kB / 1.172 GB, free: 1.328 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003464/0.3495, allocations: 149.3 kB / 1.172 GB, free: 1.156 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004171/0.3499, allocations: 0.6846 MB / 1.172 GB, free: 456 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.982e-05/0.35, allocations: 8 kB / 1.172 GB, free: 448 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.438e-05/0.35, allocations: 15.42 kB / 1.172 GB, free: 432 kB / 0.92 GB Notification: Performance of SimCode: time 1.633e-06/0.35, allocations: 0 / 1.172 GB, free: 432 kB / 0.92 GB Notification: Performance of Templates: time 0.002735/0.3528, allocations: 0.6922 MB / 1.173 GB, free: 15.74 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches