Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.01067/0.01067, allocations: 102 kB / 15.73 MB, free: 6.02 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.002452/0.002452, allocations: 190.3 kB / 16.67 MB, free: 5.934 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.655/2.655, allocations: 472.6 MB / 0.7453 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 63.84 kB / 1.069 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9462/0.9476, allocations: 159.9 MB / 1.226 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002944/0.9506, allocations: 1.448 MB / 1.227 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0009564/0.9516, allocations: 0.5024 MB / 1.227 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.191e-05/0.9516, allocations: 0 / 1.227 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.16e-05/0.9517, allocations: 3.938 kB / 1.228 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.000252/0.9519, allocations: 27.84 kB / 1.228 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001105/0.9521, allocations: 31.91 kB / 1.228 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 9.153e-05/0.9522, allocations: 39.92 kB / 1.228 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.9523, allocations: 15.91 kB / 1.228 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.679e-05/0.9524, allocations: 27.92 kB / 1.228 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 9.024e-05/0.9525, allocations: 19.92 kB / 1.228 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.9525, allocations: 4 kB / 1.228 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.579e-05/0.9525, allocations: 4 kB / 1.228 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.885e-05/0.9526, allocations: 15.91 kB / 1.228 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.59e-05/0.9526, allocations: 23.94 kB / 1.228 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000116/0.9527, allocations: 47.66 kB / 1.228 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.9527, allocations: 0 / 1.228 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.443e-06/0.9527, allocations: 0 / 1.228 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.9528, allocations: 0 / 1.228 GB, free: 11.32 MB / 0.9512 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.0005974/0.9534, allocations: 356 kB / 1.228 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.9534, allocations: 8.031 kB / 1.228 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.01e-05/0.9535, allocations: 0.9375 kB / 1.228 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.9536, allocations: 176.3 kB / 1.228 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.9536, allocations: 12.36 kB / 1.228 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.9536, allocations: 384 / 1.228 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.9538, allocations: 59.2 kB / 1.228 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.9538, allocations: 0 / 1.228 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.9538, allocations: 0 / 1.228 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.9538, allocations: 0 / 1.228 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.498e-05/0.9539, allocations: 27.98 kB / 1.228 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003826/0.9543, allocations: 284.7 kB / 1.229 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002087/0.9545, allocations: 62.67 kB / 1.229 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.682e-05/0.9546, allocations: 24.84 kB / 1.229 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.9546, allocations: 0 / 1.229 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001938/0.9548, allocations: 75.31 kB / 1.229 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.9548, allocations: 4 kB / 1.229 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6): time 0.0002753/0.9551, allocations: 89.67 kB / 1.229 GB, free: 10 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/0.9551, allocations: 51.41 kB / 1.229 GB, free: 9.938 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.017e-05/0.9552, allocations: 105.8 kB / 1.229 GB, free: 9.824 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.9553, allocations: 29.64 kB / 1.229 GB, free: 9.789 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.906e-05/0.9553, allocations: 88.09 kB / 1.229 GB, free: 9.699 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.117e-05/0.9554, allocations: 19.91 kB / 1.229 GB, free: 9.68 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.476e-05/0.9554, allocations: 21.7 kB / 1.229 GB, free: 9.652 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.9555, allocations: 326.8 kB / 1.229 GB, free: 9.324 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.267e-05/0.9556, allocations: 15.98 kB / 1.23 GB, free: 9.309 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.469e-05/0.9556, allocations: 12 kB / 1.23 GB, free: 9.297 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.635e-05/0.9557, allocations: 40.78 kB / 1.23 GB, free: 9.254 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.9557, allocations: 0 / 1.23 GB, free: 9.254 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001268/0.9559, allocations: 73.78 kB / 1.23 GB, free: 9.176 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.9559, allocations: 4 kB / 1.23 GB, free: 9.172 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.9559, allocations: 4 kB / 1.23 GB, free: 9.168 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.9559, allocations: 0 / 1.23 GB, free: 9.168 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.661e-05/0.956, allocations: 15.98 kB / 1.23 GB, free: 9.152 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.956, allocations: 0 / 1.23 GB, free: 9.152 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.534e-05/0.9561, allocations: 4 kB / 1.23 GB, free: 9.148 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.9561, allocations: 7.984 kB / 1.23 GB, free: 9.141 MB / 0.9512 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.833e-05/0.9562, allocations: 118.2 kB / 1.23 GB, free: 9.016 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.09e-05/0.9562, allocations: 0 / 1.23 GB, free: 9.016 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002181/0.9564, allocations: 105.6 kB / 1.23 GB, free: 8.902 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.9564, allocations: 0 / 1.23 GB, free: 8.902 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.9565, allocations: 4 kB / 1.23 GB, free: 8.898 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.9565, allocations: 0 / 1.23 GB, free: 8.898 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/0.9566, allocations: 197.5 kB / 1.23 GB, free: 8.656 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.9566, allocations: 0 / 1.23 GB, free: 8.656 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.902e-05/0.9567, allocations: 8 kB / 1.23 GB, free: 8.648 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.9567, allocations: 96 / 1.23 GB, free: 8.648 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.9567, allocations: 3.938 kB / 1.23 GB, free: 8.645 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.9567, allocations: 4 kB / 1.23 GB, free: 8.641 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.9567, allocations: 0 / 1.23 GB, free: 8.641 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.9569, allocations: 125 kB / 1.23 GB, free: 8.5 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.045e-05/0.957, allocations: 81.06 kB / 1.23 GB, free: 8.402 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.957, allocations: 8 kB / 1.23 GB, free: 8.395 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.252e-05/0.9571, allocations: 192 / 1.23 GB, free: 8.395 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.089e-05/0.9571, allocations: 7.984 kB / 1.23 GB, free: 8.387 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.9571, allocations: 8.234 kB / 1.23 GB, free: 8.379 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.224e-05/0.9572, allocations: 91.2 kB / 1.23 GB, free: 8.289 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9572, allocations: 0 / 1.23 GB, free: 8.289 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001892/0.9574, allocations: 8 kB / 1.23 GB, free: 8.281 MB / 0.9512 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.0001124/0.9575, allocations: 115.1 kB / 1.231 GB, free: 8.16 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001391/0.9576, allocations: 47.92 kB / 1.231 GB, free: 8.113 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.9576, allocations: 0 / 1.231 GB, free: 8.113 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 6.616e-05/0.9577, allocations: 35.92 kB / 1.231 GB, free: 8.078 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001486/0.9579, allocations: 8 kB / 1.231 GB, free: 8.07 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003206/0.9582, allocations: 149.3 kB / 1.231 GB, free: 7.898 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/0.9584, allocations: 0.6846 MB / 1.231 GB, free: 7.188 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.988e-05/0.9585, allocations: 7.984 kB / 1.231 GB, free: 7.18 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.698e-05/0.9585, allocations: 11.44 kB / 1.231 GB, free: 7.168 MB / 0.9512 GB Notification: Performance of SimCode: time 1.483e-06/0.9585, allocations: 0 / 1.231 GB, free: 7.168 MB / 0.9512 GB Notification: Performance of Templates: time 0.002698/0.9612, allocations: 0.7015 MB / 1.232 GB, free: 6.48 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches