Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001928/0.001928, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002305/0.002305, allocations: 199.8 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.783/2.783, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=2500,variableFilter="time|eqnTim.nDay|eqnTim.eqnTim",fileNamePrefix="Buildings_11_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_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 67.89 kB / 1.109 GB, free: 6.547 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8601/0.8621, allocations: 168.7 MB / 1.274 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.003085/0.8651, allocations: 1.465 MB / 1.275 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.8662, allocations: 0.5158 MB / 1.276 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.713e-05/0.8663, allocations: 0 / 1.276 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.941e-05/0.8663, allocations: 0 / 1.276 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003077/0.8666, allocations: 27.84 kB / 1.276 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001374/0.8668, allocations: 23.92 kB / 1.276 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.8669, allocations: 55.78 kB / 1.276 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.867, allocations: 7.984 kB / 1.276 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.8671, allocations: 19.98 kB / 1.276 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.547e-05/0.8672, allocations: 23.91 kB / 1.276 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.8672, allocations: 4 kB / 1.276 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.587e-05/0.8673, allocations: 7.938 kB / 1.276 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.129e-05/0.8673, allocations: 11.92 kB / 1.276 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.843e-05/0.8673, allocations: 27.92 kB / 1.276 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.8675, allocations: 47.66 kB / 1.276 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.8675, allocations: 3.938 kB / 1.276 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8675, allocations: 0 / 1.276 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.159e-05/0.8675, allocations: 0 / 1.276 GB, free: 2.293 MB / 0.9669 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.0007404/0.8682, allocations: 354.2 kB / 1.277 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.8683, allocations: 8.031 kB / 1.277 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.553e-05/0.8683, allocations: 8.938 kB / 1.277 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.8685, allocations: 168.3 kB / 1.277 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.8685, allocations: 4.375 kB / 1.277 GB, free: 1.68 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.8685, allocations: 384 / 1.277 GB, free: 1.68 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.8686, allocations: 61.97 kB / 1.277 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.8686, allocations: 0 / 1.277 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.8687, allocations: 0 / 1.277 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.8687, allocations: 4 kB / 1.277 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.329e-05/0.8687, allocations: 27.92 kB / 1.277 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004322/0.8692, allocations: 276.8 kB / 1.277 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002273/0.8694, allocations: 62.66 kB / 1.277 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.796e-05/0.8694, allocations: 20.86 kB / 1.277 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.8695, allocations: 0 / 1.277 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00019/0.8697, allocations: 79.31 kB / 1.277 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.8697, allocations: 0 / 1.277 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0002509/0.8699, allocations: 85.61 kB / 1.277 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/0.87, allocations: 59.41 kB / 1.277 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.604e-05/0.8701, allocations: 101.8 kB / 1.278 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.8701, allocations: 25.7 kB / 1.278 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.257e-05/0.8701, allocations: 88.09 kB / 1.278 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.262e-05/0.8702, allocations: 27.83 kB / 1.278 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.425e-05/0.8702, allocations: 21.72 kB / 1.278 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.8704, allocations: 322.8 kB / 1.278 GB, free: 316 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.849e-05/0.8704, allocations: 12 kB / 1.278 GB, free: 304 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.767e-05/0.8704, allocations: 19.98 kB / 1.278 GB, free: 284 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.498e-05/0.8705, allocations: 37 kB / 1.278 GB, free: 244 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.8705, allocations: 0 / 1.278 GB, free: 244 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001288/0.8707, allocations: 73.62 kB / 1.278 GB, free: 164 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.8707, allocations: 8 kB / 1.278 GB, free: 156 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.8707, allocations: 0 / 1.278 GB, free: 156 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.8707, allocations: 0 / 1.278 GB, free: 156 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.022e-05/0.8708, allocations: 23.86 kB / 1.278 GB, free: 132 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.8708, allocations: 0 / 1.278 GB, free: 132 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.029e-05/0.8708, allocations: 4.25 kB / 1.278 GB, free: 128 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.8709, allocations: 0 / 1.278 GB, free: 128 kB / 0.9669 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 0.0001366/0.871, allocations: 122 kB / 1.278 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.468e-05/0.871, allocations: 4 kB / 1.278 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000238/0.8712, allocations: 101.6 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.8712, allocations: 0 / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.8712, allocations: 8 kB / 1.278 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.8713, allocations: 3.984 kB / 1.278 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001971/0.8715, allocations: 185.5 kB / 1.279 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.8715, allocations: 0 / 1.279 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.758e-05/0.8715, allocations: 11.98 kB / 1.279 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.8715, allocations: 0 / 1.279 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.8715, allocations: 4 kB / 1.279 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.8715, allocations: 0 / 1.279 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.8715, allocations: 0 / 1.279 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/0.8717, allocations: 121 kB / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.232e-05/0.8718, allocations: 89 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.8718, allocations: 0 / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.333e-05/0.8719, allocations: 15.92 kB / 1.279 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/0.8719, allocations: 11.92 kB / 1.279 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.8719, allocations: 0 / 1.279 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.012e-05/0.872, allocations: 83.28 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.872, allocations: 0 / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001943/0.8722, allocations: 12 kB / 1.279 GB, free: 15.26 MB / 0.9825 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.0001589/0.8724, allocations: 109.3 kB / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001661/0.8725, allocations: 52.03 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.8725, allocations: 0 / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.676e-05/0.8726, allocations: 27.98 kB / 1.279 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001603/0.8728, allocations: 7.938 kB / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003955/0.8731, allocations: 161.3 kB / 1.279 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.8735, allocations: 0.6846 MB / 1.28 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4e-05/0.8735, allocations: 8.312 kB / 1.28 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.102e-05/0.8736, allocations: 15.42 kB / 1.28 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.8736, allocations: 0 / 1.28 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of Templates: time 0.003582/0.8772, allocations: 0.7057 MB / 1.281 GB, free: 13.45 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.620909302961081]