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.001133/0.001133, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001247/0.001247, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.364/1.364, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.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.401/2.401, allocations: 390.2 MB / 0.6642 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002067/0.002067, allocations: 63.91 kB / 0.8119 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8225/0.8246, allocations: 140.4 MB / 0.9489 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.00236/0.827, allocations: 1.514 MB / 0.9504 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006419/0.8277, allocations: 0.5009 MB / 0.9509 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.98e-05/0.8277, allocations: 1.375 kB / 0.9509 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.32e-05/0.8277, allocations: 0 / 0.9509 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002026/0.828, allocations: 17.42 kB / 0.9509 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 8.616e-05/0.8281, allocations: 25.47 kB / 0.9509 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.914e-05/0.8281, allocations: 48.12 kB / 0.951 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.819e-05/0.8282, allocations: 2.938 kB / 0.951 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.559e-05/0.8283, allocations: 27.62 kB / 0.951 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.449e-05/0.8284, allocations: 22.83 kB / 0.951 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.8284, allocations: 2.375 kB / 0.951 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.523e-05/0.8284, allocations: 3.156 kB / 0.951 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.265e-05/0.8285, allocations: 13.55 kB / 0.951 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.174e-05/0.8285, allocations: 24.88 kB / 0.9511 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.089e-05/0.8286, allocations: 36.61 kB / 0.9511 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.8286, allocations: 0 / 0.9511 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.243e-06/0.8286, allocations: 1.312 kB / 0.9511 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.8286, allocations: 0 / 0.9511 GB, free: 7.496 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.0005304/0.8292, allocations: 350.5 kB / 0.9514 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.8292, allocations: 13.69 kB / 0.9515 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.765e-05/0.8293, allocations: 7.469 kB / 0.9515 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.8294, allocations: 170.6 kB / 0.9516 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.8294, allocations: 1.812 kB / 0.9516 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.8294, allocations: 2.781 kB / 0.9516 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.8295, allocations: 61.89 kB / 0.9517 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.8296, allocations: 0 / 0.9517 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.8296, allocations: 0 / 0.9517 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.8296, allocations: 1.125 kB / 0.9517 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.395e-05/0.8297, allocations: 25.64 kB / 0.9517 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003193/0.83, allocations: 284.4 kB / 0.952 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002155/0.8302, allocations: 62.59 kB / 0.952 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.461e-05/0.8303, allocations: 25.09 kB / 0.9521 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.8303, allocations: 1.438 kB / 0.9521 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001617/0.8305, allocations: 81.66 kB / 0.9521 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.8305, allocations: 0 / 0.9521 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0002209/0.8307, allocations: 92.23 kB / 0.9522 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.8307, allocations: 51.41 kB / 0.9523 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.053e-05/0.8308, allocations: 108.1 kB / 0.9524 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.8308, allocations: 27.02 kB / 0.9524 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.362e-05/0.8308, allocations: 81.42 kB / 0.9525 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.159e-05/0.8309, allocations: 22.03 kB / 0.9525 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-05/0.8309, allocations: 22.14 kB / 0.9525 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.578e-05/0.831, allocations: 320 kB / 0.9528 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.735e-05/0.831, allocations: 16.83 kB / 0.9529 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.22e-05/0.831, allocations: 11.72 kB / 0.9529 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.881e-05/0.8311, allocations: 37.69 kB / 0.9529 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.8311, allocations: 0 / 0.9529 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001114/0.8312, allocations: 78.84 kB / 0.953 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.8313, allocations: 9.312 kB / 0.953 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.8313, allocations: 7.984 kB / 0.953 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.8313, allocations: 1.562 kB / 0.953 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.402e-05/0.8314, allocations: 7.188 kB / 0.953 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.8314, allocations: 1.219 kB / 0.953 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.029e-05/0.8314, allocations: 10.64 kB / 0.953 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.8315, allocations: 1.469 kB / 0.953 GB, free: 5.57 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 (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.167e-05/0.8315, allocations: 112.5 kB / 0.9531 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.426e-05/0.8315, allocations: 9.281 kB / 0.9531 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002052/0.8318, allocations: 108.7 kB / 0.9532 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.8318, allocations: 1.031 kB / 0.9532 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.8318, allocations: 1.312 kB / 0.9532 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.8318, allocations: 0 / 0.9532 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.8319, allocations: 182.7 kB / 0.9534 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.8319, allocations: 0 / 0.9534 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.132e-05/0.832, allocations: 12.69 kB / 0.9534 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.832, allocations: 1.5 kB / 0.9534 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.832, allocations: 3.984 kB / 0.9534 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.832, allocations: 1.25 kB / 0.9534 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.832, allocations: 4 kB / 0.9534 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001524/0.8322, allocations: 118.1 kB / 0.9535 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.335e-05/0.8322, allocations: 83.98 kB / 0.9536 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.8322, allocations: 8.188 kB / 0.9536 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.976e-05/0.8323, allocations: 7.562 kB / 0.9536 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.625e-05/0.8323, allocations: 6.891 kB / 0.9536 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.8324, allocations: 2.688 kB / 0.9536 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.053e-05/0.8324, allocations: 91.64 kB / 0.9537 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8324, allocations: 0 / 0.9537 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001944/0.8326, allocations: 13.72 kB / 0.9537 GB, free: 4.836 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 (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.0001011/0.8327, allocations: 99.59 kB / 0.9538 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001371/0.8329, allocations: 55.75 kB / 0.9539 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.8329, allocations: 0 / 0.9539 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.408e-05/0.8329, allocations: 30.03 kB / 0.9539 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001534/0.8331, allocations: 9.516 kB / 0.9539 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000295/0.8334, allocations: 163.8 kB / 0.9541 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.438e-05/0.8335, allocations: 0.686 MB / 0.9548 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.619e-05/0.8336, allocations: 8.562 kB / 0.9548 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.479e-05/0.8336, allocations: 10.5 kB / 0.9548 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.8336, allocations: 0 / 0.9548 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of Templates: time 0.00264/0.8362, allocations: 0.6357 MB / 0.9554 GB, free: 3.512 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","/var/lib/jenkins/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