Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.0007974/0.0007975, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004877/0.004877, allocations: 169.9 kB / 16.26 MB, free: 6.676 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: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.556/2.556, allocations: 390.9 MB / 0.6663 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003765/0.000377, allocations: 8 kB / 0.816 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.882/0.8824, allocations: 142.4 MB / 0.955 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.001529/0.8839, allocations: 1.172 MB / 0.9562 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007455/0.8847, allocations: 498.8 kB / 0.9567 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.987e-05/0.8848, allocations: 0 / 0.9567 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.138e-05/0.8848, allocations: 0 / 0.9567 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002382/0.885, allocations: 21.84 kB / 0.9567 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 9.691e-05/0.8851, allocations: 25.48 kB / 0.9567 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.298e-05/0.8852, allocations: 52.58 kB / 0.9568 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.616e-05/0.8853, allocations: 3.25 kB / 0.9568 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.8854, allocations: 25.61 kB / 0.9568 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.652e-05/0.8855, allocations: 24.62 kB / 0.9568 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.8856, allocations: 1.281 kB / 0.9568 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.24e-05/0.8856, allocations: 2.219 kB / 0.9568 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.557e-05/0.8856, allocations: 14.14 kB / 0.9568 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.779e-05/0.8857, allocations: 43.38 kB / 0.9569 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.284e-05/0.8857, allocations: 40.08 kB / 0.9569 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.8858, allocations: 3.938 kB / 0.9569 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.844e-06/0.8858, allocations: 0 / 0.9569 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.137e-06/0.8858, allocations: 1.062 kB / 0.9569 GB, free: 6.23 MB / 0.7169 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.0005398/0.8863, allocations: 344.9 kB / 0.9572 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.8864, allocations: 9.406 kB / 0.9572 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.527e-05/0.8864, allocations: 7.375 kB / 0.9573 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.8865, allocations: 174.5 kB / 0.9574 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.8865, allocations: 2.781 kB / 0.9574 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.8866, allocations: 2.562 kB / 0.9574 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.8867, allocations: 56.92 kB / 0.9575 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.8867, allocations: 1.188 kB / 0.9575 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.8867, allocations: 0 / 0.9575 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.8867, allocations: 1.188 kB / 0.9575 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.053e-05/0.8868, allocations: 28.61 kB / 0.9575 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003286/0.8871, allocations: 285.3 kB / 0.9578 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002126/0.8874, allocations: 65.45 kB / 0.9578 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.662e-05/0.8874, allocations: 21.84 kB / 0.9579 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.8874, allocations: 5.188 kB / 0.9579 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000169/0.8876, allocations: 72.75 kB / 0.9579 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.8876, allocations: 1.031 kB / 0.9579 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0002702/0.8879, allocations: 91.83 kB / 0.958 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.8879, allocations: 52.5 kB / 0.9581 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.342e-05/0.888, allocations: 104 kB / 0.9582 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.888, allocations: 26.64 kB / 0.9582 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.329e-05/0.8881, allocations: 89.36 kB / 0.9583 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.8881, allocations: 10.12 kB / 0.9583 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.711e-05/0.8881, allocations: 16.03 kB / 0.9583 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.853e-05/0.8882, allocations: 319.9 kB / 0.9586 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.048e-05/0.8883, allocations: 14.94 kB / 0.9586 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.171e-05/0.8883, allocations: 16.27 kB / 0.9586 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.838e-05/0.8884, allocations: 38.8 kB / 0.9587 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.8884, allocations: 0 / 0.9587 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001202/0.8885, allocations: 75.22 kB / 0.9588 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.8885, allocations: 8.156 kB / 0.9588 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.8885, allocations: 3.938 kB / 0.9588 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.8886, allocations: 1.906 kB / 0.9588 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.436e-05/0.8886, allocations: 15.42 kB / 0.9588 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.8887, allocations: 240 / 0.9588 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.752e-05/0.8887, allocations: 3.75 kB / 0.9588 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.8887, allocations: 2.094 kB / 0.9588 GB, free: 4.328 MB / 0.7169 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 8.754e-05/0.8888, allocations: 125.6 kB / 0.9589 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.199e-05/0.8889, allocations: 1.969 kB / 0.9589 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002102/0.8891, allocations: 111 kB / 0.959 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.8891, allocations: 1.438 kB / 0.959 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.8891, allocations: 256 / 0.959 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-06/0.8891, allocations: 3.984 kB / 0.959 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.8892, allocations: 191.3 kB / 0.9592 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.8893, allocations: 0 / 0.9592 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.045e-05/0.8893, allocations: 12.7 kB / 0.9592 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.8893, allocations: 1.406 kB / 0.9592 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.8893, allocations: 1.562 kB / 0.9592 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.8894, allocations: 4 kB / 0.9592 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.8894, allocations: 0 / 0.9592 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001788/0.8895, allocations: 118.9 kB / 0.9593 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.193e-05/0.8896, allocations: 81.83 kB / 0.9594 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.8896, allocations: 5.047 kB / 0.9594 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.717e-05/0.8897, allocations: 8.344 kB / 0.9594 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.029e-05/0.8897, allocations: 7.141 kB / 0.9594 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.8898, allocations: 6.875 kB / 0.9594 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.88e-05/0.8898, allocations: 83.03 kB / 0.9595 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8898, allocations: 0 / 0.9595 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001972/0.89, allocations: 9.812 kB / 0.9595 GB, free: 3.59 MB / 0.7169 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.0001834/0.8902, allocations: 110.6 kB / 0.9596 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001653/0.8904, allocations: 52.58 kB / 0.9597 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.8904, allocations: 0 / 0.9597 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.356e-05/0.8905, allocations: 35.05 kB / 0.9597 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001805/0.8906, allocations: 8.016 kB / 0.9597 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004083/0.8911, allocations: 157.2 kB / 0.9599 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001928/0.8913, allocations: 0.6864 MB / 0.9605 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.894e-05/0.8913, allocations: 12.44 kB / 0.9606 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.261e-05/0.8914, allocations: 14.19 kB / 0.9606 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of SimCode: time 5.71e-07/0.8914, allocations: 0 / 0.9606 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of Templates: time 0.003247/0.8946, allocations: 0.6216 MB / 0.9612 GB, free: 2.258 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches