Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002503/0.002503, allocations: 83.69 kB / 20.23 MB, free: 4.184 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002989/0.002989, allocations: 161.3 kB / 23.55 MB, free: 0.8711 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.563/1.563, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.027/3.027, allocations: 377.8 MB / 0.6232 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eqnTim.nDay|eqnTim.eqnTim",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eqnTim.nDay|eqnTim.eqnTim",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 0.8108 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.177e-05/3.312e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.113 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002928/0.002961, allocations: 1.477 MB / 0.8123 GB, free: 0.6484 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001125/0.004086, allocations: 0.543 MB / 0.8128 GB, free: 104 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.048e-05/0.004126, allocations: 1.5 kB / 0.8128 GB, free: 104 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.812e-05/0.004154, allocations: 3.938 kB / 0.8128 GB, free: 100 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0002246/0.004379, allocations: 21.56 kB / 0.8128 GB, free: 80 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001591/0.004538, allocations: 39.83 kB / 0.8129 GB, free: 40 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.004655, allocations: 51.92 kB / 0.8129 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.849e-05/0.004744, allocations: 8 kB / 0.8129 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001706/0.004914, allocations: 41.19 kB / 0.8129 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.173e-05/0.004996, allocations: 23.95 kB / 0.813 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.147e-05/0.005028, allocations: 4 kB / 0.813 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.383e-05/0.005081, allocations: 13.75 kB / 0.813 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.655e-05/0.005108, allocations: 15.92 kB / 0.813 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.003e-05/0.005148, allocations: 11.98 kB / 0.813 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.005304, allocations: 79.64 kB / 0.8131 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.005306, allocations: 0 / 0.8131 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.71e-07/0.005307, allocations: 1.344 kB / 0.8131 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.005311, allocations: 0 / 0.8131 GB, free: 15.8 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006572/0.005968, allocations: 386.1 kB / 0.8135 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.006014, allocations: 8.031 kB / 0.8135 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001903/0.006204, allocations: 16.86 kB / 0.8135 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.006349, allocations: 116.6 kB / 0.8136 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.006369, allocations: 10.75 kB / 0.8136 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.006383, allocations: 4.375 kB / 0.8136 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.006517, allocations: 54.23 kB / 0.8137 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.006527, allocations: 192 / 0.8137 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.00654, allocations: 4.375 kB / 0.8137 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.006547, allocations: 3.938 kB / 0.8137 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.277e-05/0.006629, allocations: 28.64 kB / 0.8137 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005271/0.007157, allocations: 280.3 kB / 0.814 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002578/0.007414, allocations: 80.89 kB / 0.814 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.558e-05/0.00747, allocations: 27.62 kB / 0.8141 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.00749, allocations: 4 kB / 0.8141 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001607/0.00765, allocations: 84.95 kB / 0.8142 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.007651, allocations: 0.6562 kB / 0.8142 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0002817/0.007933, allocations: 99.11 kB / 0.8142 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.007987, allocations: 55.34 kB / 0.8143 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002684/0.008255, allocations: 169.9 kB / 0.8145 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.919e-05/0.008284, allocations: 34.86 kB / 0.8145 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.489e-05/0.008359, allocations: 126.9 kB / 0.8146 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.94e-05/0.008398, allocations: 27.78 kB / 0.8146 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.562e-05/0.008454, allocations: 31.38 kB / 0.8147 GB, free: 14 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002512/0.008705, allocations: 497.3 kB / 0.8151 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.21e-05/0.008757, allocations: 23.98 kB / 0.8152 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.961e-05/0.008797, allocations: 16 kB / 0.8152 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001014/0.008898, allocations: 48.2 kB / 0.8152 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.0089, allocations: 0.8125 kB / 0.8152 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00016/0.00906, allocations: 89.56 kB / 0.8153 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.009077, allocations: 4.844 kB / 0.8153 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.009083, allocations: 3.984 kB / 0.8153 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.009099, allocations: 1.938 kB / 0.8153 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.489e-05/0.009194, allocations: 15.94 kB / 0.8153 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.009204, allocations: 4.062 kB / 0.8153 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.7e-05/0.009271, allocations: 15.94 kB / 0.8154 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.009283, allocations: 0 / 0.8154 GB, free: 13.28 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (eqnTim.k,$PRE.eqnTim.k,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 (9): * Single equations (assignments): 9 * 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 0.0001359/0.009419, allocations: 165.4 kB / 0.8155 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.059e-05/0.009439, allocations: 10.22 kB / 0.8155 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002592/0.009699, allocations: 105.7 kB / 0.8156 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.009703, allocations: 4 kB / 0.8156 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.009708, allocations: 0 / 0.8156 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.009716, allocations: 4 kB / 0.8156 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001844/0.009901, allocations: 140.5 kB / 0.8158 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.009902, allocations: 2.062 kB / 0.8158 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.208e-05/0.009974, allocations: 15.98 kB / 0.8158 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/0.009982, allocations: 7.938 kB / 0.8158 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.009995, allocations: 0 / 0.8158 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.009997, allocations: 0 / 0.8158 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.009997, allocations: 0.5 kB / 0.8158 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002264/0.01022, allocations: 136.4 kB / 0.8159 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.568e-05/0.01024, allocations: 8.484 kB / 0.8159 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.01026, allocations: 9.609 kB / 0.8159 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.228e-05/0.01031, allocations: 0 / 0.8159 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.065e-05/0.01036, allocations: 11.98 kB / 0.816 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.01037, allocations: 11.88 kB / 0.816 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.28e-05/0.01046, allocations: 123.2 kB / 0.8161 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01046, allocations: 0.5 kB / 0.8161 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001889/0.01065, allocations: 21.33 kB / 0.8161 GB, free: 12.45 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,eqnTim.tNext,eqnTim.k) * Number of discrete states: 2 (eqnTim.k,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001398/0.01079, allocations: 99.25 kB / 0.8162 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001852/0.01097, allocations: 72.69 kB / 0.8163 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.01097, allocations: 0 / 0.8163 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.753e-05/0.01105, allocations: 44.33 kB / 0.8163 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001465/0.0112, allocations: 6.188 kB / 0.8163 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003661/0.01156, allocations: 164.2 kB / 0.8165 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.979e-05/0.01163, allocations: 71.2 kB / 0.8165 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.389e-05/0.01169, allocations: 7.984 kB / 0.8165 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.409e-05/0.01173, allocations: 12.5 kB / 0.8166 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of SimCode: time 4.91e-07/0.01173, allocations: 0 / 0.8166 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of Templates: time 0.003726/0.01546, allocations: 0.7417 MB / 0.8173 GB, free: 11.21 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.147433153004386]