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.001391/0.001391, allocations: 111.7 kB / 17.13 MB, free: 5.926 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.001495/0.001495, allocations: 204 kB / 20.09 MB, free: 2.977 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.516/1.516, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.005/3.005, allocations: 0.49 GB / 0.7923 GB, free: 1.324 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002132/0.002132, allocations: 67.91 kB / 1.15 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9578/0.9599, allocations: 176.1 MB / 1.322 GB, free: 25.03 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.00245/0.9624, allocations: 1.47 MB / 1.323 GB, free: 24 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008937/0.9633, allocations: 0.5739 MB / 1.324 GB, free: 23.6 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.386e-05/0.9633, allocations: 0 / 1.324 GB, free: 23.6 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.147e-05/0.9634, allocations: 0 / 1.324 GB, free: 23.6 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002469/0.9636, allocations: 24.05 kB / 1.324 GB, free: 23.59 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001476/0.9638, allocations: 38.06 kB / 1.324 GB, free: 23.57 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.8e-05/0.9638, allocations: 51.73 kB / 1.324 GB, free: 23.54 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.794e-05/0.9639, allocations: 6.844 kB / 1.324 GB, free: 23.54 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001522/0.9641, allocations: 28.83 kB / 1.324 GB, free: 23.53 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.099e-05/0.9642, allocations: 27.64 kB / 1.324 GB, free: 23.51 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.9642, allocations: 5.062 kB / 1.324 GB, free: 23.51 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.536e-05/0.9643, allocations: 11.33 kB / 1.324 GB, free: 23.51 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.147e-05/0.9643, allocations: 9.906 kB / 1.324 GB, free: 23.51 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.14e-05/0.9643, allocations: 17.34 kB / 1.324 GB, free: 23.5 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.9645, allocations: 57.45 kB / 1.324 GB, free: 23.47 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.9645, allocations: 6.844 kB / 1.324 GB, free: 23.47 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.913e-06/0.9645, allocations: 0 / 1.324 GB, free: 23.47 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.066e-05/0.9645, allocations: 0 / 1.324 GB, free: 23.47 MB / 1.061 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.0005687/0.9651, allocations: 357.4 kB / 1.325 GB, free: 23.11 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.9651, allocations: 14.36 kB / 1.325 GB, free: 23.11 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001917/0.9653, allocations: 15.81 kB / 1.325 GB, free: 23.1 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.952e-05/0.9654, allocations: 170.9 kB / 1.325 GB, free: 22.9 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.9654, allocations: 384 / 1.325 GB, free: 22.9 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.9654, allocations: 6.844 kB / 1.325 GB, free: 22.89 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.9655, allocations: 68.86 kB / 1.325 GB, free: 22.84 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.9655, allocations: 0 / 1.325 GB, free: 22.84 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.9656, allocations: 0 / 1.325 GB, free: 22.84 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.9656, allocations: 0 / 1.325 GB, free: 22.84 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.848e-05/0.9656, allocations: 24.16 kB / 1.325 GB, free: 22.84 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003358/0.966, allocations: 282.1 kB / 1.325 GB, free: 22.55 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002121/0.9662, allocations: 63.05 kB / 1.325 GB, free: 22.51 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.129e-05/0.9662, allocations: 17.48 kB / 1.325 GB, free: 22.5 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.9662, allocations: 3.047 kB / 1.325 GB, free: 22.5 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001683/0.9664, allocations: 71.55 kB / 1.325 GB, free: 22.44 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 1.123e-06/0.9664, allocations: 4 kB / 1.325 GB, free: 22.43 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0002248/0.9666, allocations: 95.8 kB / 1.325 GB, free: 22.38 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.724e-05/0.9667, allocations: 54.25 kB / 1.325 GB, free: 22.31 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.971e-05/0.9667, allocations: 103.2 kB / 1.326 GB, free: 22.21 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.9667, allocations: 25.7 kB / 1.326 GB, free: 22.18 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.8e-05/0.9668, allocations: 87.39 kB / 1.326 GB, free: 22.09 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.9668, allocations: 15.8 kB / 1.326 GB, free: 22.08 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.511e-05/0.9668, allocations: 26.94 kB / 1.326 GB, free: 22.05 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.783e-05/0.9669, allocations: 326.2 kB / 1.326 GB, free: 21.73 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.84e-05/0.9669, allocations: 12.84 kB / 1.326 GB, free: 21.73 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.599e-05/0.9669, allocations: 16.44 kB / 1.326 GB, free: 21.72 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.427e-05/0.967, allocations: 43.08 kB / 1.326 GB, free: 21.7 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.967, allocations: 0 / 1.326 GB, free: 21.7 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001048/0.9671, allocations: 70.62 kB / 1.326 GB, free: 21.65 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.9671, allocations: 8.562 kB / 1.326 GB, free: 21.64 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.9671, allocations: 2.281 kB / 1.326 GB, free: 21.64 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.9671, allocations: 0 / 1.326 GB, free: 21.64 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.439e-05/0.9672, allocations: 16.09 kB / 1.326 GB, free: 21.64 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.9672, allocations: 4 kB / 1.326 GB, free: 21.64 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.547e-05/0.9673, allocations: 6.688 kB / 1.326 GB, free: 21.64 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.9673, allocations: 0 / 1.326 GB, free: 21.64 MB / 1.061 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 6.5e-05/0.9674, allocations: 119.5 kB / 1.326 GB, free: 21.52 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.385e-05/0.9674, allocations: 3.953 kB / 1.326 GB, free: 21.51 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001841/0.9676, allocations: 103.2 kB / 1.326 GB, free: 21.45 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.9676, allocations: 0 / 1.326 GB, free: 21.45 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.9676, allocations: 4 kB / 1.326 GB, free: 21.44 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.9676, allocations: 0 / 1.326 GB, free: 21.44 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.9677, allocations: 181.2 kB / 1.327 GB, free: 21.24 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.9677, allocations: 0 / 1.327 GB, free: 21.24 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.991e-05/0.9677, allocations: 18.31 kB / 1.327 GB, free: 21.23 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.9677, allocations: 0 / 1.327 GB, free: 21.23 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.9677, allocations: 0 / 1.327 GB, free: 21.23 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.9677, allocations: 0 / 1.327 GB, free: 21.23 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.9677, allocations: 2.656 kB / 1.327 GB, free: 21.23 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001543/0.9679, allocations: 128.1 kB / 1.327 GB, free: 21.13 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.751e-05/0.9679, allocations: 83.53 kB / 1.327 GB, free: 21.04 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.9679, allocations: 0 / 1.327 GB, free: 21.04 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.53e-05/0.968, allocations: 6.781 kB / 1.327 GB, free: 21.04 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.751e-05/0.9681, allocations: 10.34 kB / 1.327 GB, free: 21.03 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.9681, allocations: 3.031 kB / 1.327 GB, free: 21.03 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.527e-05/0.9681, allocations: 81.56 kB / 1.327 GB, free: 20.96 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9681, allocations: 0 / 1.327 GB, free: 20.96 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001967/0.9683, allocations: 23.36 kB / 1.327 GB, free: 20.95 MB / 1.061 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.0001054/0.9684, allocations: 109.7 kB / 1.327 GB, free: 20.85 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001477/0.9686, allocations: 56.95 kB / 1.327 GB, free: 20.83 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.9686, allocations: 0 / 1.327 GB, free: 20.83 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.536e-05/0.9686, allocations: 32.53 kB / 1.327 GB, free: 20.82 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/0.9688, allocations: 0 / 1.327 GB, free: 20.82 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003279/0.9691, allocations: 173.8 kB / 1.327 GB, free: 20.66 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001143/0.9692, allocations: 0.6895 MB / 1.328 GB, free: 19.96 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.77e-05/0.9692, allocations: 14.25 kB / 1.328 GB, free: 19.95 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/0.9692, allocations: 0 / 1.328 GB, free: 19.95 MB / 1.061 GB Notification: Performance of Templates: time 0.00234/0.9716, allocations: 0.84 MB / 1.329 GB, free: 19.88 MB / 1.061 GB " [Timeout remaining time 299] 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/jenkins1/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: 11.39236728900869]