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.005497/0.005497, allocations: 100.5 kB / 15.87 MB, free: 5.867 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.00125/0.00125, allocations: 192.5 kB / 16.79 MB, free: 5.809 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.457/1.457, allocations: 222.9 MB / 240.5 MB, free: 4.551 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.574/2.574, allocations: 437 MB / 0.7106 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002088/0.002088, allocations: 59.91 kB / 0.8692 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7539/0.756, allocations: 151.6 MB / 1.017 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.003243/0.7593, allocations: 1.515 MB / 1.019 GB, free: 1.227 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000942/0.7602, allocations: 0.4987 MB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.594e-05/0.7603, allocations: 0 / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.154e-05/0.7604, allocations: 0 / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002564/0.7607, allocations: 23.92 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001237/0.7608, allocations: 15.97 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.745e-05/0.7609, allocations: 51.8 kB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.905e-05/0.761, allocations: 4 kB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.7611, allocations: 31.84 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.433e-05/0.7612, allocations: 19.97 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.7612, allocations: 4 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.405e-05/0.7613, allocations: 3.938 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.164e-05/0.7613, allocations: 15.97 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.198e-05/0.7614, allocations: 11.94 kB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.841e-05/0.7615, allocations: 33.92 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.7615, allocations: 0 / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.172e-06/0.7615, allocations: 0 / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.73e-06/0.7615, allocations: 0 / 1.019 GB, free: 0.5117 MB / 0.7637 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.0006766/0.7622, allocations: 351.4 kB / 1.02 GB, free: 124 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.7622, allocations: 12.03 kB / 1.02 GB, free: 112 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.85e-05/0.7623, allocations: 4.938 kB / 1.02 GB, free: 108 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.7624, allocations: 172.4 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.7625, allocations: 4.375 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.7625, allocations: 4.375 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.7626, allocations: 65.91 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.7627, allocations: 0 / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.7627, allocations: 0 / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.7627, allocations: 0 / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.871e-05/0.7628, allocations: 27.92 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004089/0.7632, allocations: 284.7 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002326/0.7634, allocations: 62.62 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.959e-05/0.7635, allocations: 24.84 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.7635, allocations: 7.938 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002092/0.7637, allocations: 71.38 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.7638, allocations: 0 / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0002633/0.764, allocations: 93.61 kB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.094e-05/0.7641, allocations: 51.41 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.968e-05/0.7642, allocations: 105.8 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.7642, allocations: 25.7 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.84e-05/0.7643, allocations: 80.14 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.193e-05/0.7643, allocations: 23.72 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.895e-05/0.7644, allocations: 21.7 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.7645, allocations: 318.8 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.3e-05/0.7645, allocations: 15.98 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.261e-05/0.7646, allocations: 12 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.859e-05/0.7647, allocations: 40.91 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.7647, allocations: 4 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001345/0.7648, allocations: 69.62 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.7648, allocations: 4 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.7648, allocations: 4 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.7649, allocations: 3.984 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.875e-05/0.765, allocations: 8 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.765, allocations: 256 / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.434e-05/0.765, allocations: 7.984 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.7651, allocations: 12 kB / 1.021 GB, free: 14.33 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 (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.703e-05/0.7652, allocations: 110.5 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.685e-05/0.7652, allocations: 7.906 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002154/0.7654, allocations: 109.5 kB / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.7654, allocations: 4 kB / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.7654, allocations: 0 / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.7654, allocations: 0 / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/0.7656, allocations: 185.6 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.7656, allocations: 0 / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.646e-05/0.7657, allocations: 15.94 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.7657, allocations: 3.938 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.7657, allocations: 3.984 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.7657, allocations: 0 / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.7657, allocations: 8.078 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001899/0.7659, allocations: 129 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.159e-05/0.766, allocations: 81.09 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.766, allocations: 4 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.128e-05/0.7661, allocations: 4 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.45e-05/0.7661, allocations: 7.984 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.7661, allocations: 0 / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.143e-05/0.7662, allocations: 95.27 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7662, allocations: 0 / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001929/0.7664, allocations: 8 kB / 1.022 GB, free: 13.46 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 (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.0001276/0.7666, allocations: 103.2 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001413/0.7667, allocations: 51.86 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.7667, allocations: 0 / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.606e-05/0.7668, allocations: 35.92 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001638/0.767, allocations: 4.719 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003841/0.7673, allocations: 192.9 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.7676, allocations: 0.6887 MB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.532e-05/0.7677, allocations: 11.44 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.7677, allocations: 3.938 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of Templates: time 0.002307/0.77, allocations: 0.8233 MB / 1.024 GB, free: 11.5 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/jenkins1/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