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.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.001874/0.001874, allocations: 80.59 kB / 19.18 MB, free: 2.527 MB / 14.72 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.002279/0.002279, allocations: 165.5 kB / 22.46 MB, free: 5.355 MB / 14.72 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.484/1.484, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.914/2.914, allocations: 389 MB / 0.633 GB, free: 0.9531 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 1 GB, free: 7.25 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.127e-05/3.341e-05, allocations: 5.516 kB / 1 GB, free: 7.246 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.00304/0.003074, allocations: 1.465 MB / 1.002 GB, free: 5.773 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001181/0.004255, allocations: 0.5219 MB / 1.002 GB, free: 5.246 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.654e-05/0.004311, allocations: 4 kB / 1.002 GB, free: 5.242 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.407e-05/0.004356, allocations: 7.922 kB / 1.002 GB, free: 5.234 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.000271/0.004627, allocations: 23.86 kB / 1.002 GB, free: 5.211 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002025/0.004829, allocations: 35.83 kB / 1.002 GB, free: 5.176 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.004949, allocations: 55.84 kB / 1.002 GB, free: 5.121 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.791e-05/0.005047, allocations: 0 / 1.002 GB, free: 5.121 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001987/0.005245, allocations: 43.89 kB / 1.002 GB, free: 5.078 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.005351, allocations: 19.97 kB / 1.002 GB, free: 5.059 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.312e-05/0.005374, allocations: 8 kB / 1.002 GB, free: 5.051 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 6.683e-05/0.005441, allocations: 15.92 kB / 1.002 GB, free: 5.035 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.854e-05/0.005469, allocations: 15.92 kB / 1.002 GB, free: 5.02 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.286e-05/0.005512, allocations: 16 kB / 1.002 GB, free: 5.004 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001793/0.005691, allocations: 67.75 kB / 1.002 GB, free: 4.938 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.005695, allocations: 3.938 kB / 1.002 GB, free: 4.934 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.513e-06/0.005697, allocations: 0 / 1.002 GB, free: 4.934 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.005708, allocations: 0 / 1.002 GB, free: 4.934 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006973/0.006405, allocations: 282.3 kB / 1.003 GB, free: 4.629 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.006455, allocations: 8.031 kB / 1.003 GB, free: 4.621 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000188/0.006643, allocations: 12.94 kB / 1.003 GB, free: 4.609 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.006806, allocations: 121.7 kB / 1.003 GB, free: 4.465 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.006824, allocations: 4.375 kB / 1.003 GB, free: 4.461 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.006844, allocations: 8.312 kB / 1.003 GB, free: 4.453 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.006995, allocations: 58.23 kB / 1.003 GB, free: 4.391 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.007006, allocations: 192 / 1.003 GB, free: 4.391 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.007019, allocations: 384 / 1.003 GB, free: 4.391 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.007028, allocations: 3.938 kB / 1.003 GB, free: 4.387 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.651e-05/0.007124, allocations: 35.91 kB / 1.003 GB, free: 4.352 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005157/0.00764, allocations: 220.5 kB / 1.003 GB, free: 4.105 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002581/0.007898, allocations: 66.67 kB / 1.003 GB, free: 4.031 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.401e-05/0.007952, allocations: 24.84 kB / 1.003 GB, free: 4.004 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.007973, allocations: 4 kB / 1.003 GB, free: 4 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002293/0.008202, allocations: 79.25 kB / 1.003 GB, free: 3.91 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.492e-06/0.008203, allocations: 0 / 1.003 GB, free: 3.91 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0002817/0.008485, allocations: 89.62 kB / 1.003 GB, free: 3.816 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.601e-05/0.008541, allocations: 59.41 kB / 1.003 GB, free: 3.746 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.008648, allocations: 105.8 kB / 1.004 GB, free: 3.633 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.00867, allocations: 25.7 kB / 1.004 GB, free: 3.602 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.349e-05/0.008723, allocations: 80.14 kB / 1.004 GB, free: 3.52 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.916e-05/0.008762, allocations: 35.72 kB / 1.004 GB, free: 3.484 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.084e-05/0.008813, allocations: 21.7 kB / 1.004 GB, free: 3.457 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001776/0.008991, allocations: 318.8 kB / 1.004 GB, free: 3.137 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.067e-05/0.009041, allocations: 19.98 kB / 1.004 GB, free: 3.117 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.784e-05/0.009079, allocations: 16 kB / 1.004 GB, free: 3.102 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/0.009179, allocations: 56.84 kB / 1.004 GB, free: 3.043 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.009181, allocations: 0 / 1.004 GB, free: 3.043 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001793/0.00936, allocations: 89.69 kB / 1.004 GB, free: 2.949 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.009379, allocations: 6.5 kB / 1.004 GB, free: 2.945 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.009384, allocations: 0 / 1.004 GB, free: 2.945 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.009402, allocations: 7.984 kB / 1.004 GB, free: 2.938 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.938e-05/0.009482, allocations: 8 kB / 1.004 GB, free: 2.93 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.009488, allocations: 4 kB / 1.004 GB, free: 2.926 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.277e-05/0.00956, allocations: 7.938 kB / 1.004 GB, free: 2.918 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/0.009582, allocations: 7.938 kB / 1.004 GB, free: 2.91 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: 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.0001069/0.009689, allocations: 114.4 kB / 1.004 GB, free: 2.789 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.738e-05/0.009706, allocations: 3.938 kB / 1.004 GB, free: 2.785 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002408/0.009947, allocations: 109.7 kB / 1.004 GB, free: 2.672 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.009949, allocations: 0 / 1.004 GB, free: 2.672 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.009953, allocations: 4 kB / 1.004 GB, free: 2.668 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.009956, allocations: 0 / 1.004 GB, free: 2.668 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/0.01009, allocations: 121.3 kB / 1.005 GB, free: 2.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.01009, allocations: 4 kB / 1.005 GB, free: 2.516 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.841e-05/0.01016, allocations: 11.98 kB / 1.005 GB, free: 2.504 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.01017, allocations: 3.938 kB / 1.005 GB, free: 2.5 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.01018, allocations: 4 kB / 1.005 GB, free: 2.496 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.01018, allocations: 0 / 1.005 GB, free: 2.496 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01018, allocations: 4 kB / 1.005 GB, free: 2.492 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001987/0.01038, allocations: 117 kB / 1.005 GB, free: 2.359 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.867e-05/0.0104, allocations: 12.17 kB / 1.005 GB, free: 2.348 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.01043, allocations: 7.938 kB / 1.005 GB, free: 2.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.893e-05/0.0105, allocations: 7.984 kB / 1.005 GB, free: 2.332 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.763e-05/0.01054, allocations: 11.92 kB / 1.005 GB, free: 2.32 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.01055, allocations: 4 kB / 1.005 GB, free: 2.316 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.618e-05/0.01062, allocations: 79.28 kB / 1.005 GB, free: 2.238 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/0.01062, allocations: 0 / 1.005 GB, free: 2.238 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002064/0.01082, allocations: 16 kB / 1.005 GB, free: 2.223 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: 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.0001509/0.01097, allocations: 103.2 kB / 1.005 GB, free: 2.113 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001679/0.01114, allocations: 55.92 kB / 1.005 GB, free: 2.059 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01114, allocations: 4 kB / 1.005 GB, free: 2.055 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 6.383e-05/0.01121, allocations: 23.98 kB / 1.005 GB, free: 2.031 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001746/0.01138, allocations: 15.88 kB / 1.005 GB, free: 2.016 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004101/0.01179, allocations: 152.6 kB / 1.005 GB, free: 1.84 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.031e-05/0.01187, allocations: 75.33 kB / 1.005 GB, free: 1.746 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.62e-05/0.01192, allocations: 12.31 kB / 1.005 GB, free: 1.734 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.49e-05/0.01197, allocations: 16.5 kB / 1.005 GB, free: 1.719 MB / 0.9512 GB Notification: Performance of SimCode: time 7.61e-07/0.01197, allocations: 0 / 1.005 GB, free: 1.719 MB / 0.9512 GB Notification: Performance of Templates: time 0.00384/0.01581, allocations: 0.7221 MB / 1.006 GB, free: 1.008 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.233798276633024]