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.007505/0.007504, allocations: 100.7 kB / 15.73 MB, free: 6.035 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.001277/0.001277, allocations: 199.3 kB / 16.67 MB, free: 5.969 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.188 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.472/2.472, allocations: 390.2 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 66.61 kB / 0.9508 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.328, allocations: 140.4 MB / 1.088 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002787/0.3308, allocations: 1.45 MB / 1.089 GB, free: 40 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009702/0.3318, allocations: 0.5118 MB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.377e-05/0.3319, allocations: 0 / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.846e-05/0.332, allocations: 7.922 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002815/0.3323, allocations: 15.92 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001379/0.3324, allocations: 27.91 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.3325, allocations: 55.78 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.3326, allocations: 7.984 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.3328, allocations: 23.98 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.3329, allocations: 19.92 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.532e-05/0.3329, allocations: 7.938 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.453e-05/0.3329, allocations: 4 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.744e-05/0.333, allocations: 19.91 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.038e-05/0.333, allocations: 15.92 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.3331, allocations: 47.81 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.3332, allocations: 4 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3332, allocations: 0 / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.3332, allocations: 0 / 1.09 GB, free: 15.27 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.0007712/0.334, allocations: 355.4 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.334, allocations: 8.031 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.103e-05/0.3341, allocations: 8.922 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.3342, allocations: 168.4 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.3343, allocations: 4.375 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.3343, allocations: 4.375 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.3344, allocations: 57.92 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.3345, allocations: 4 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.3345, allocations: 4 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.3345, allocations: 0 / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.996e-05/0.3346, allocations: 23.98 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004765/0.3351, allocations: 276.7 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000254/0.3353, allocations: 62.62 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.914e-05/0.3354, allocations: 32.78 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.3354, allocations: 0 / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002593/0.3357, allocations: 71.38 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.3357, allocations: 3.938 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0003029/0.336, allocations: 93.61 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.869e-05/0.3361, allocations: 51.41 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.3362, allocations: 105.8 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.3362, allocations: 29.7 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.312e-05/0.3363, allocations: 84.05 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.864e-05/0.3364, allocations: 23.81 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.13e-05/0.3364, allocations: 21.7 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.3366, allocations: 314.8 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.713e-05/0.3366, allocations: 19.98 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.282e-05/0.3367, allocations: 12 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.3368, allocations: 40.84 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3368, allocations: 0 / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001435/0.3369, allocations: 73.62 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.337, allocations: 7.984 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.337, allocations: 0 / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.337, allocations: 0 / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.687e-05/0.3371, allocations: 8 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.3371, allocations: 256 / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.961e-05/0.3372, allocations: 11.89 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.3372, allocations: 8.234 kB / 1.092 GB, free: 13.09 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 8.712e-05/0.3373, allocations: 121.8 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.264e-05/0.3373, allocations: 4 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002066/0.3375, allocations: 101.6 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.3375, allocations: 4 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3375, allocations: 0 / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3375, allocations: 0 / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.3377, allocations: 185.6 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3377, allocations: 0 / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.84e-05/0.3378, allocations: 11.94 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.3378, allocations: 8 kB / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.3378, allocations: 3.984 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.3378, allocations: 0 / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3378, allocations: 4.125 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001703/0.338, allocations: 124.9 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.399e-05/0.3381, allocations: 89.03 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.3381, allocations: 4 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.364e-05/0.3381, allocations: 4 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.999e-05/0.3382, allocations: 11.98 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.3382, allocations: 0 / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.767e-05/0.3383, allocations: 87.27 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3383, allocations: 0 / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001856/0.3385, allocations: 12 kB / 1.093 GB, free: 12.23 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.000125/0.3386, allocations: 103.2 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001516/0.3387, allocations: 55.84 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3388, allocations: 0 / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.067e-05/0.3388, allocations: 35.94 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001621/0.339, allocations: 0 / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003514/0.3394, allocations: 145.5 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.3396, allocations: 0.6846 MB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.978e-05/0.3397, allocations: 11.75 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.654e-05/0.3397, allocations: 11.44 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.3397, allocations: 0 / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of Templates: time 0.00299/0.3427, allocations: 0.6925 MB / 1.094 GB, free: 10.44 MB / 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/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