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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001096/0.001096, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001285/0.001285, allocations: 193.4 kB / 16.25 MB, free: 6.633 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.409/1.409, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.672/2.672, allocations: 437 MB / 0.71 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001326, allocations: 67.89 kB / 0.8687 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7452/0.7466, allocations: 151.6 MB / 1.017 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002882/0.7495, allocations: 1.515 MB / 1.018 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008928/0.7504, allocations: 0.4987 MB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.545e-05/0.7505, allocations: 0 / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.162e-05/0.7505, allocations: 3.938 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002636/0.7508, allocations: 27.91 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001105/0.7509, allocations: 15.98 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.649e-05/0.751, allocations: 55.77 kB / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.7512, allocations: 11.98 kB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.7513, allocations: 23.98 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.944e-05/0.7514, allocations: 23.91 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.7514, allocations: 4 kB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.629e-05/0.7514, allocations: 4 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.663e-05/0.7514, allocations: 11.92 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.057e-05/0.7515, allocations: 23.92 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.7516, allocations: 41.84 kB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.7516, allocations: 3.984 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of FrontEnd: time 3.356e-06/0.7516, allocations: 0 / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.7517, allocations: 7.938 kB / 1.019 GB, free: 464 kB / 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.0007948/0.7525, allocations: 347.4 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.7525, allocations: 12.03 kB / 1.019 GB, free: 56 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.21e-05/0.7526, allocations: 0.9375 kB / 1.019 GB, free: 56 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.7527, allocations: 172.4 kB / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.7528, allocations: 384 / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.7528, allocations: 4.375 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.7529, allocations: 57.98 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.7529, allocations: 4 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.753, allocations: 0 / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.753, allocations: 4 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.654e-05/0.7531, allocations: 31.91 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003695/0.7534, allocations: 288.6 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002176/0.7537, allocations: 62.67 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.02e-05/0.7537, allocations: 24.86 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.7538, allocations: 0 / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002042/0.754, allocations: 71.31 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.754, allocations: 0 / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0002419/0.7542, allocations: 89.67 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.7543, allocations: 51.41 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.372e-05/0.7543, allocations: 109.8 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.7544, allocations: 29.64 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.099e-05/0.7544, allocations: 84.14 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.117e-05/0.7544, allocations: 19.7 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.692e-05/0.7545, allocations: 17.72 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.7546, allocations: 322.7 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.731e-05/0.7547, allocations: 15.98 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.213e-05/0.7547, allocations: 15.98 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.979e-05/0.7548, allocations: 40.86 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.7548, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001189/0.7549, allocations: 73.73 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.7549, allocations: 4 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.7549, allocations: 0 / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.755, allocations: 4 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.455e-05/0.755, allocations: 11.94 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.755, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.006e-05/0.7551, allocations: 7.984 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.7551, allocations: 4 kB / 1.021 GB, free: 14.29 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 9.09e-05/0.7552, allocations: 122.3 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.377e-05/0.7553, allocations: 3.906 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002114/0.7555, allocations: 105.5 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.7555, allocations: 0 / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.7555, allocations: 0 / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.7555, allocations: 0 / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/0.7557, allocations: 181.6 kB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.7557, allocations: 0 / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.011e-05/0.7557, allocations: 16.25 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.7558, allocations: 4.266 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.7558, allocations: 7.938 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.7558, allocations: 0 / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.7558, allocations: 0 / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001734/0.756, allocations: 128.9 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.968e-05/0.756, allocations: 77.11 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.7561, allocations: 8 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.741e-05/0.7561, allocations: 7.984 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-05/0.7562, allocations: 4 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/0.7562, allocations: 4 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.573e-05/0.7563, allocations: 95.14 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7563, allocations: 0 / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001935/0.7565, allocations: 12 kB / 1.022 GB, free: 13.42 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.0001663/0.7566, allocations: 99.25 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001773/0.7568, allocations: 55.84 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.7568, allocations: 4 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.575e-05/0.7569, allocations: 28 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001689/0.7571, allocations: 14.61 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003337/0.7574, allocations: 165.4 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002201/0.7577, allocations: 0.6807 MB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.415e-05/0.7577, allocations: 8 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.744e-05/0.7578, allocations: 11.44 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.7578, allocations: 0 / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of Templates: time 0.002866/0.7606, allocations: 0.6675 MB / 1.023 GB, free: 11.64 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