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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001029/0.001029, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001261/0.001261, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.747/2.747, allocations: 437.8 MB / 0.7117 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003962/0.0003962, allocations: 12 kB / 0.8722 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8368/0.8372, allocations: 153.8 MB / 1.022 GB, free: 140 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.001757/0.839, allocations: 1.164 MB / 1.024 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008918/0.84, allocations: 479.2 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.967e-05/0.84, allocations: 0 / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.964e-05/0.8401, allocations: 0 / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002699/0.8404, allocations: 15.86 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000171/0.8405, allocations: 31.91 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001148/0.8407, allocations: 47.84 kB / 1.024 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.8408, allocations: 7.984 kB / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.8409, allocations: 19.92 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.841, allocations: 23.95 kB / 1.024 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.8411, allocations: 4 kB / 1.024 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.427e-05/0.8411, allocations: 0 / 1.024 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.558e-05/0.8411, allocations: 7.938 kB / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.894e-05/0.8412, allocations: 29.7 kB / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.465e-05/0.8413, allocations: 25.91 kB / 1.024 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.8413, allocations: 0 / 1.024 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.956e-06/0.8413, allocations: 8 kB / 1.024 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.8413, allocations: 0 / 1.024 GB, free: 14.27 MB / 0.7794 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.0006268/0.8419, allocations: 343.2 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.842, allocations: 8.562 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.799e-05/0.8421, allocations: 7.906 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/0.8422, allocations: 175 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.603e-05/0.8423, allocations: 8 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/0.8423, allocations: 4 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.8425, allocations: 61.61 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.445e-06/0.8425, allocations: 3.938 kB / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.8425, allocations: 0 / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.8425, allocations: 0 / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.602e-05/0.8426, allocations: 27.97 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004679/0.8431, allocations: 272.8 kB / 1.025 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002288/0.8433, allocations: 70.61 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.904e-05/0.8434, allocations: 20.86 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.8434, allocations: 0 / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001972/0.8436, allocations: 71.38 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.8436, allocations: 4 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0002617/0.8439, allocations: 93.52 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.8439, allocations: 55.41 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.142e-05/0.844, allocations: 101.8 kB / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.844, allocations: 25.7 kB / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.849e-05/0.8441, allocations: 88.14 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.615e-05/0.8441, allocations: 11.81 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-06/0.8441, allocations: 0 / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.8443, allocations: 322.8 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.606e-05/0.8443, allocations: 16 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.247e-05/0.8444, allocations: 20.05 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.61e-05/0.8444, allocations: 23.89 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.8444, allocations: 0 / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001348/0.8446, allocations: 77.52 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.8446, allocations: 4 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.8446, allocations: 0 / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.8446, allocations: 0 / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.828e-05/0.8447, allocations: 8 kB / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.8447, allocations: 4 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.975e-05/0.8448, allocations: 7.984 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.8448, allocations: 4 kB / 1.026 GB, free: 12.15 MB / 0.7794 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 ($whenCondition1,$PRE.eqnTim.tNext,eqnTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.996e-05/0.8449, allocations: 117.8 kB / 1.026 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.329e-05/0.8449, allocations: 0 / 1.026 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002288/0.8452, allocations: 113.4 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.8452, allocations: 0 / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.8452, allocations: 0 / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.8452, allocations: 4 kB / 1.026 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001477/0.8454, allocations: 181.6 kB / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.8454, allocations: 3.953 kB / 1.026 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.448e-05/0.8454, allocations: 19.92 kB / 1.026 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.8455, allocations: 256 / 1.026 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.8455, allocations: 4.188 kB / 1.026 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/0.8455, allocations: 4 kB / 1.026 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.8455, allocations: 0 / 1.026 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001727/0.8457, allocations: 125 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.162e-05/0.8457, allocations: 84.97 kB / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.8457, allocations: 0 / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.085e-05/0.8458, allocations: 11.98 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.019e-05/0.8459, allocations: 4 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.8459, allocations: 8.172 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.065e-05/0.846, allocations: 83.28 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.846, allocations: 3.938 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002006/0.8462, allocations: 8 kB / 1.027 GB, free: 11.29 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000144/0.8463, allocations: 107.2 kB / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001712/0.8465, allocations: 51.91 kB / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.8465, allocations: 0 / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.045e-05/0.8466, allocations: 31.94 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001695/0.8468, allocations: 10.38 kB / 1.027 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000359/0.8471, allocations: 156.7 kB / 1.027 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.8474, allocations: 0.6848 MB / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.559e-05/0.8474, allocations: 4.188 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.329e-05/0.8475, allocations: 11.44 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of SimCode: time 1.523e-06/0.8475, allocations: 0 / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of Templates: time 0.003023/0.8505, allocations: 0.6142 MB / 1.028 GB, free: 9.57 MB / 0.7794 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