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.001389/0.001389, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001502/0.001502, allocations: 183 kB / 17.34 MB, free: 5.766 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.175/2.175, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 63.91 kB / 0.9515 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9571/0.9586, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002639/0.9613, allocations: 1.442 MB / 1.09 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008444/0.9622, allocations: 0.506 MB / 1.091 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.143e-05/0.9622, allocations: 0 / 1.091 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.148e-05/0.9623, allocations: 5.609 kB / 1.091 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002349/0.9625, allocations: 19.81 kB / 1.091 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001105/0.9626, allocations: 35.3 kB / 1.091 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.561e-05/0.9627, allocations: 47.52 kB / 1.091 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.9628, allocations: 8.875 kB / 1.091 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.491e-05/0.9629, allocations: 29.75 kB / 1.091 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.334e-05/0.963, allocations: 23.2 kB / 1.091 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.963, allocations: 4.031 kB / 1.091 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.517e-05/0.9631, allocations: 3.969 kB / 1.091 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.258e-05/0.9631, allocations: 7.438 kB / 1.091 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.169e-05/0.9631, allocations: 25.56 kB / 1.091 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000122/0.9633, allocations: 48.84 kB / 1.091 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.595e-06/0.9633, allocations: 0 / 1.091 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.044e-06/0.9633, allocations: 0 / 1.091 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.9633, allocations: 1.344 kB / 1.091 GB, free: 4.051 MB / 0.8575 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.0005631/0.9639, allocations: 348.7 kB / 1.091 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.9639, allocations: 9.531 kB / 1.091 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.136e-05/0.964, allocations: 11.25 kB / 1.091 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.9641, allocations: 171.2 kB / 1.091 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.9641, allocations: 1.844 kB / 1.091 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.9641, allocations: 3.391 kB / 1.091 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.9643, allocations: 66.44 kB / 1.091 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.9643, allocations: 0.9375 kB / 1.091 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.9643, allocations: 0 / 1.091 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.9643, allocations: 1.062 kB / 1.091 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.498e-05/0.9644, allocations: 29.17 kB / 1.091 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003546/0.9648, allocations: 287.1 kB / 1.092 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002217/0.965, allocations: 68.98 kB / 1.092 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.89e-05/0.965, allocations: 23.38 kB / 1.092 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.9651, allocations: 1.594 kB / 1.092 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001784/0.9652, allocations: 72.05 kB / 1.092 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.9653, allocations: 0 / 1.092 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0002468/0.9655, allocations: 93.39 kB / 1.092 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/0.9655, allocations: 53.33 kB / 1.092 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.736e-05/0.9656, allocations: 102.2 kB / 1.092 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.9656, allocations: 26.77 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.824e-05/0.9657, allocations: 89.55 kB / 1.092 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.547e-05/0.9657, allocations: 12.2 kB / 1.092 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.146e-05/0.9657, allocations: 21.11 kB / 1.092 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.741e-05/0.9658, allocations: 325.2 kB / 1.093 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.818e-05/0.9658, allocations: 13.25 kB / 1.093 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.425e-05/0.9659, allocations: 15.52 kB / 1.093 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.975e-05/0.9659, allocations: 35.5 kB / 1.093 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.9659, allocations: 0 / 1.093 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000127/0.9661, allocations: 76.47 kB / 1.093 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.9661, allocations: 5.469 kB / 1.093 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.9661, allocations: 0.6094 kB / 1.093 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.9661, allocations: 1.062 kB / 1.093 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.572e-05/0.9662, allocations: 13.7 kB / 1.093 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.9662, allocations: 1.641 kB / 1.093 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.017e-05/0.9663, allocations: 11.33 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.9663, allocations: 6.719 kB / 1.093 GB, free: 2.223 MB / 0.8575 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 6.125e-05/0.9664, allocations: 116.9 kB / 1.093 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.343e-05/0.9664, allocations: 3.5 kB / 1.093 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002071/0.9666, allocations: 106.8 kB / 1.093 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.9666, allocations: 5.625 kB / 1.093 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.9666, allocations: 0.7969 kB / 1.093 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.9666, allocations: 0.9062 kB / 1.093 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/0.9668, allocations: 180.7 kB / 1.093 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.9668, allocations: 0.7812 kB / 1.093 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.491e-05/0.9668, allocations: 15.03 kB / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.9668, allocations: 1.094 kB / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.9669, allocations: 1.766 kB / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.9669, allocations: 1.047 kB / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.9669, allocations: 0.9375 kB / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000162/0.967, allocations: 125.8 kB / 1.093 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.414e-05/0.9671, allocations: 87.39 kB / 1.093 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.9671, allocations: 2.359 kB / 1.093 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.664e-05/0.9672, allocations: 3.656 kB / 1.093 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.076e-05/0.9672, allocations: 6.141 kB / 1.093 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.9672, allocations: 7.203 kB / 1.093 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.023e-05/0.9673, allocations: 81.22 kB / 1.093 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9673, allocations: 0 / 1.093 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001907/0.9675, allocations: 18.34 kB / 1.093 GB, free: 1.531 MB / 0.8575 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.0001103/0.9676, allocations: 99.98 kB / 1.094 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001555/0.9677, allocations: 53.39 kB / 1.094 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.9677, allocations: 0.8438 kB / 1.094 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.369e-05/0.9678, allocations: 33.52 kB / 1.094 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001498/0.968, allocations: 6.953 kB / 1.094 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003352/0.9683, allocations: 167.8 kB / 1.094 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001352/0.9685, allocations: 0.6874 MB / 1.094 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.106e-05/0.9685, allocations: 16.38 kB / 1.094 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of SimCode: time 3.3e-07/0.9685, allocations: 0.9375 kB / 1.094 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of Templates: time 0.002769/0.9713, allocations: 0.8359 MB / 1.095 GB, free: 500 kB / 0.8575 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/jenkins1/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