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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001233/0.001233, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.00153/0.00153, allocations: 177.3 kB / 15.94 MB, free: 228 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.409/1.409, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.386/2.386, allocations: 390.3 MB / 0.6653 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003123/0.0003123, allocations: 12 kB / 0.8145 GB, free: 14.3 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6458/0.6461, allocations: 142.3 MB / 0.9535 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.001225/0.6474, allocations: 1.153 MB / 0.9546 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005996/0.648, allocations: 466.8 kB / 0.9551 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.376e-05/0.648, allocations: 1.156 kB / 0.9551 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.217e-05/0.6481, allocations: 0 / 0.9551 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001858/0.6483, allocations: 29.7 kB / 0.9551 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 8.94e-05/0.6484, allocations: 20.77 kB / 0.9551 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.151e-05/0.6484, allocations: 30.73 kB / 0.9552 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.755e-05/0.6485, allocations: 10.45 kB / 0.9552 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.621e-05/0.6486, allocations: 21.83 kB / 0.9552 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.098e-05/0.6487, allocations: 20.75 kB / 0.9552 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.6487, allocations: 2.344 kB / 0.9552 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.23e-05/0.6487, allocations: 1.312 kB / 0.9552 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.963e-05/0.6487, allocations: 18.28 kB / 0.9552 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.083e-05/0.6488, allocations: 28.27 kB / 0.9553 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.006e-05/0.6488, allocations: 29.45 kB / 0.9553 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.6488, allocations: 0 / 0.9553 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6488, allocations: 1.344 kB / 0.9553 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.346e-06/0.6489, allocations: 0 / 0.9553 GB, free: 6.695 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.0004439/0.6493, allocations: 345.4 kB / 0.9556 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.6493, allocations: 13.84 kB / 0.9556 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.344e-05/0.6494, allocations: 9.406 kB / 0.9556 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.385e-05/0.6495, allocations: 165.5 kB / 0.9558 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.6495, allocations: 5.594 kB / 0.9558 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.71e-05/0.6495, allocations: 6.125 kB / 0.9558 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.6496, allocations: 53.11 kB / 0.9559 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.6497, allocations: 0 / 0.9559 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.6497, allocations: 1.219 kB / 0.9559 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.6497, allocations: 5.234 kB / 0.9559 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.373e-05/0.6498, allocations: 28.09 kB / 0.9559 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002808/0.65, allocations: 277.9 kB / 0.9562 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.6502, allocations: 64.73 kB / 0.9562 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.6503, allocations: 1.344 kB / 0.9562 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001439/0.6504, allocations: 68.02 kB / 0.9563 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.442e-06/0.6504, allocations: 1.531 kB / 0.9563 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0002067/0.6506, allocations: 106.5 kB / 0.9564 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.302e-05/0.6507, allocations: 52.62 kB / 0.9564 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.723e-05/0.6507, allocations: 99.64 kB / 0.9565 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.6507, allocations: 30.77 kB / 0.9566 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.585e-05/0.6508, allocations: 93.41 kB / 0.9567 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.6508, allocations: 10.75 kB / 0.9567 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/0.6508, allocations: 4 kB / 0.9567 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.807e-05/0.6508, allocations: 316.2 kB / 0.957 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.369e-05/0.6509, allocations: 15.45 kB / 0.957 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.899e-05/0.6509, allocations: 19.05 kB / 0.957 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.485e-05/0.651, allocations: 12.19 kB / 0.957 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.651, allocations: 0 / 0.957 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001037/0.6511, allocations: 74.81 kB / 0.9571 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.6511, allocations: 5.812 kB / 0.9571 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.6511, allocations: 80 / 0.9571 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.6511, allocations: 3.953 kB / 0.9571 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.387e-05/0.6512, allocations: 16.48 kB / 0.9571 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.6512, allocations: 3.984 kB / 0.9571 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.951e-05/0.6513, allocations: 12.22 kB / 0.9571 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.6513, allocations: 5.391 kB / 0.9571 GB, free: 4.82 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 ($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 5.325e-05/0.6514, allocations: 110.3 kB / 0.9572 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.195e-05/0.6514, allocations: 2.719 kB / 0.9572 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001786/0.6516, allocations: 111.3 kB / 0.9573 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.6516, allocations: 5.031 kB / 0.9574 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.6516, allocations: 4.828 kB / 0.9574 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.6516, allocations: 0 / 0.9574 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.038e-05/0.6517, allocations: 181.9 kB / 0.9575 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.6517, allocations: 0.7812 kB / 0.9575 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.316e-05/0.6518, allocations: 12.94 kB / 0.9575 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.6518, allocations: 1 kB / 0.9575 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.6518, allocations: 1.156 kB / 0.9575 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.6518, allocations: 1.031 kB / 0.9575 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.6518, allocations: 0 / 0.9575 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001409/0.6519, allocations: 125.2 kB / 0.9577 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.034e-05/0.652, allocations: 86.88 kB / 0.9577 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.652, allocations: 6.031 kB / 0.9578 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.967e-05/0.6521, allocations: 3.312 kB / 0.9578 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.62e-05/0.6521, allocations: 7.641 kB / 0.9578 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.6521, allocations: 1.812 kB / 0.9578 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.823e-05/0.6522, allocations: 91.75 kB / 0.9579 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6522, allocations: 7.938 kB / 0.9579 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001945/0.6524, allocations: 9.875 kB / 0.9579 GB, free: 4.082 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 (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 8.955e-05/0.6525, allocations: 102.7 kB / 0.958 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000129/0.6526, allocations: 47.61 kB / 0.958 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.6526, allocations: 0 / 0.958 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.028e-05/0.6527, allocations: 34.39 kB / 0.958 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.976e-05/0.6528, allocations: 1.125 kB / 0.958 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002643/0.653, allocations: 160.2 kB / 0.9582 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.775e-05/0.6531, allocations: 0.6877 MB / 0.9589 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.129e-05/0.6532, allocations: 3.594 kB / 0.9589 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.046e-05/0.6532, allocations: 11.84 kB / 0.9589 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.6532, allocations: 4 kB / 0.9589 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of Templates: time 0.002413/0.6557, allocations: 0.6081 MB / 0.9595 GB, free: 2.781 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","../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches