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.001891/0.001891, allocations: 88.39 kB / 20.23 MB, free: 4.172 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.002296/0.002296, allocations: 161.3 kB / 23.55 MB, free: 0.8633 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.583/1.583, allocations: 177.1 MB / 203.9 MB, free: 5.605 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 2.88/2.88, allocations: 377.8 MB / 0.6232 GB, free: 8.551 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 2.144e-06/2.144e-06, allocations: 0 / 0.8108 GB, free: 2.137 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.783e-05/2.998e-05, allocations: 4.703 kB / 0.8108 GB, free: 2.133 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002962/0.002992, allocations: 1.467 MB / 0.8123 GB, free: 0.6797 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001168/0.00416, allocations: 0.5305 MB / 0.8128 GB, free: 148 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.96e-05/0.004209, allocations: 1.062 kB / 0.8128 GB, free: 148 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.656e-05/0.004246, allocations: 3.938 kB / 0.8128 GB, free: 144 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0002581/0.004504, allocations: 21.27 kB / 0.8128 GB, free: 124 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002128/0.004717, allocations: 35.83 kB / 0.8128 GB, free: 88 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.004839, allocations: 57.66 kB / 0.8129 GB, free: 32 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 9.836e-05/0.004937, allocations: 7.984 kB / 0.8129 GB, free: 24 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002101/0.005147, allocations: 39.91 kB / 0.8129 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.471e-05/0.005242, allocations: 23.95 kB / 0.813 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.273e-05/0.005265, allocations: 4 kB / 0.813 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.911e-05/0.005324, allocations: 9.344 kB / 0.813 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.672e-05/0.005351, allocations: 15.92 kB / 0.813 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.387e-05/0.005405, allocations: 19.97 kB / 0.813 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001754/0.00558, allocations: 65.31 kB / 0.8131 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.005583, allocations: 4 kB / 0.8131 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.81e-07/0.005583, allocations: 0 / 0.8131 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.005588, allocations: 0 / 0.8131 GB, free: 15.85 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.000671/0.006259, allocations: 288.5 kB / 0.8133 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.006302, allocations: 8.031 kB / 0.8133 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002233/0.006525, allocations: 16.86 kB / 0.8134 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.006671, allocations: 114.5 kB / 0.8135 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.006693, allocations: 8.375 kB / 0.8135 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.00671, allocations: 4.906 kB / 0.8135 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.00687, allocations: 67.81 kB / 0.8136 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.006879, allocations: 192 / 0.8136 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.006891, allocations: 384 / 0.8136 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.006898, allocations: 3.938 kB / 0.8136 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.215e-05/0.00698, allocations: 27.98 kB / 0.8136 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005365/0.007517, allocations: 221.2 kB / 0.8138 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002613/0.007778, allocations: 67.92 kB / 0.8139 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.822e-05/0.007837, allocations: 24.84 kB / 0.8139 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.007855, allocations: 5.156 kB / 0.8139 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001979/0.008053, allocations: 71.33 kB / 0.814 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.008055, allocations: 0 / 0.814 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0003061/0.008361, allocations: 107.2 kB / 0.8141 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/0.008413, allocations: 51.41 kB / 0.8141 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.008519, allocations: 105.8 kB / 0.8142 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.008544, allocations: 27.36 kB / 0.8142 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.236e-05/0.008606, allocations: 88.14 kB / 0.8143 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.279e-05/0.008639, allocations: 23.8 kB / 0.8143 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.854e-05/0.008697, allocations: 29.7 kB / 0.8144 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.008868, allocations: 310.8 kB / 0.8147 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.59e-05/0.008924, allocations: 25.11 kB / 0.8147 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.45e-05/0.008968, allocations: 15.98 kB / 0.8147 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001016/0.00907, allocations: 44.8 kB / 0.8147 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.009072, allocations: 4.562 kB / 0.8148 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001692/0.009241, allocations: 86.89 kB / 0.8148 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.009256, allocations: 7.938 kB / 0.8148 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.009262, allocations: 0 / 0.8148 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/0.00928, allocations: 0.8438 kB / 0.8148 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.28e-05/0.009373, allocations: 15.97 kB / 0.8149 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.009384, allocations: 9.719 kB / 0.8149 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.741e-05/0.009461, allocations: 7.953 kB / 0.8149 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.009475, allocations: 4 kB / 0.8149 GB, free: 13.83 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.0001124/0.009587, allocations: 118.8 kB / 0.815 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/0.00961, allocations: 7.938 kB / 0.815 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002332/0.009843, allocations: 107.9 kB / 0.8151 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.009848, allocations: 4 kB / 0.8151 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.009852, allocations: 0 / 0.8151 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.009858, allocations: 3.984 kB / 0.8151 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.01001, allocations: 125.2 kB / 0.8152 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.01001, allocations: 0 / 0.8152 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.644e-05/0.01007, allocations: 10.16 kB / 0.8152 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.01008, allocations: 3.938 kB / 0.8152 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.01009, allocations: 7.938 kB / 0.8153 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.01009, allocations: 0 / 0.8153 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/0.0101, allocations: 4 kB / 0.8153 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002396/0.01034, allocations: 129 kB / 0.8154 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.69e-05/0.01035, allocations: 8.453 kB / 0.8154 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.01038, allocations: 4.469 kB / 0.8154 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.32e-05/0.01045, allocations: 5.906 kB / 0.8154 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.736e-05/0.0105, allocations: 7.984 kB / 0.8154 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.01051, allocations: 4 kB / 0.8154 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.118e-05/0.01057, allocations: 83.27 kB / 0.8155 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01057, allocations: 0 / 0.8155 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002136/0.01078, allocations: 20.59 kB / 0.8155 GB, free: 13.14 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.0001359/0.01092, allocations: 95.84 kB / 0.8156 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001666/0.01108, allocations: 63.34 kB / 0.8157 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.01109, allocations: 0 / 0.8157 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.636e-05/0.01117, allocations: 31.92 kB / 0.8157 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001588/0.01133, allocations: 6.625 kB / 0.8157 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003775/0.01171, allocations: 148.6 kB / 0.8158 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.683e-05/0.01178, allocations: 71.2 kB / 0.8159 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.319e-05/0.01183, allocations: 10.14 kB / 0.8159 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.887e-05/0.01188, allocations: 16.5 kB / 0.8159 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of SimCode: time 4.01e-07/0.01188, allocations: 0 / 0.8159 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of Templates: time 0.003465/0.01534, allocations: 0.7341 MB / 0.8166 GB, free: 11.95 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) [Timeout 400] 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: 7.891931774909608]