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.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.001883/0.001883, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002515/0.002515, allocations: 211.8 kB / 22.24 MB, free: 5.262 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.547/1.547, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.918/2.918, allocations: 475.9 MB / 0.7699 GB, free: 4.773 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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: 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.002143/0.002143, allocations: 64.98 kB / 1.117 GB, free: 41.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3646/0.3668, allocations: 169.9 MB / 1.283 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.003294/0.3701, allocations: 1.473 MB / 1.284 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001244/0.3713, allocations: 0.5199 MB / 1.285 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.922e-05/0.3714, allocations: 4 kB / 1.285 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.197e-05/0.3714, allocations: 3.938 kB / 1.285 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002504/0.3716, allocations: 30.09 kB / 1.285 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001936/0.3718, allocations: 39.89 kB / 1.285 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001082/0.3719, allocations: 43.86 kB / 1.285 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.792e-05/0.372, allocations: 11.92 kB / 1.285 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001669/0.3722, allocations: 31.91 kB / 1.285 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.705e-05/0.3723, allocations: 19.92 kB / 1.285 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.3723, allocations: 11.94 kB / 1.285 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.292e-05/0.3724, allocations: 8 kB / 1.285 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.947e-05/0.3724, allocations: 7.984 kB / 1.285 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.423e-05/0.3724, allocations: 23.91 kB / 1.285 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.3726, allocations: 47.88 kB / 1.285 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3726, allocations: 0 / 1.285 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.392e-06/0.3726, allocations: 0 / 1.285 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.3726, allocations: 0 / 1.285 GB, free: 9.707 MB / 0.9825 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.0006346/0.3732, allocations: 274.2 kB / 1.285 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.3733, allocations: 16.03 kB / 1.286 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000186/0.3735, allocations: 8.922 kB / 1.286 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.3736, allocations: 122.5 kB / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.3736, allocations: 4.375 kB / 1.286 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.3736, allocations: 384 / 1.286 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.3738, allocations: 61.92 kB / 1.286 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.3738, allocations: 3.938 kB / 1.286 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.3738, allocations: 3.938 kB / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.3738, allocations: 4 kB / 1.286 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.787e-05/0.3739, allocations: 23.98 kB / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003865/0.3743, allocations: 220.5 kB / 1.286 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002359/0.3745, allocations: 62.56 kB / 1.286 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.864e-05/0.3745, allocations: 20.84 kB / 1.286 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.3746, allocations: 0 / 1.286 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001964/0.3748, allocations: 71.38 kB / 1.286 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.452e-06/0.3748, allocations: 0 / 1.286 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0002654/0.375, allocations: 97.56 kB / 1.286 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.3751, allocations: 51.41 kB / 1.286 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.06e-05/0.3752, allocations: 109.8 kB / 1.286 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.3752, allocations: 25.7 kB / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.164e-05/0.3752, allocations: 84.14 kB / 1.286 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.917e-05/0.3753, allocations: 11.98 kB / 1.286 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.425e-05/0.3753, allocations: 25.69 kB / 1.286 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.3755, allocations: 318.8 kB / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.342e-05/0.3755, allocations: 15.98 kB / 1.287 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.235e-05/0.3755, allocations: 12 kB / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.034e-05/0.3756, allocations: 40.78 kB / 1.287 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.3756, allocations: 0 / 1.287 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001385/0.3758, allocations: 81.72 kB / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.3758, allocations: 8 kB / 1.287 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.3758, allocations: 4 kB / 1.287 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.3758, allocations: 0 / 1.287 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.466e-05/0.3759, allocations: 11.98 kB / 1.287 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.3759, allocations: 0 / 1.287 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.139e-05/0.376, allocations: 4 kB / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.376, allocations: 3.984 kB / 1.287 GB, free: 7.766 MB / 0.9825 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.000106/0.3761, allocations: 117.8 kB / 1.287 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.508e-05/0.3761, allocations: 3.953 kB / 1.287 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000227/0.3763, allocations: 114 kB / 1.287 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.3763, allocations: 7.984 kB / 1.287 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.3763, allocations: 4 kB / 1.287 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.3763, allocations: 96 / 1.287 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001396/0.3765, allocations: 129.2 kB / 1.287 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3765, allocations: 3.938 kB / 1.287 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.083e-05/0.3766, allocations: 15.92 kB / 1.287 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.3766, allocations: 0 / 1.287 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.3766, allocations: 0 / 1.287 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.3766, allocations: 4 kB / 1.287 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3766, allocations: 0 / 1.287 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002151/0.3768, allocations: 128.9 kB / 1.287 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.502e-05/0.3768, allocations: 4 kB / 1.287 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.3768, allocations: 4 kB / 1.287 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.396e-05/0.3769, allocations: 7.984 kB / 1.287 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.429e-05/0.3769, allocations: 7.984 kB / 1.287 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.377, allocations: 0 / 1.287 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.505e-05/0.377, allocations: 83.28 kB / 1.288 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.377, allocations: 0 / 1.288 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002015/0.3772, allocations: 12 kB / 1.288 GB, free: 7.062 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.0001261/0.3773, allocations: 103.2 kB / 1.288 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001659/0.3775, allocations: 55.91 kB / 1.288 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3775, allocations: 0 / 1.288 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.759e-05/0.3776, allocations: 27.92 kB / 1.288 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.3777, allocations: 14.94 kB / 1.288 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004213/0.3782, allocations: 133.6 kB / 1.288 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.508e-05/0.3782, allocations: 69.06 kB / 1.288 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.628e-05/0.3783, allocations: 8 kB / 1.288 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.432e-05/0.3783, allocations: 15.42 kB / 1.288 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of SimCode: time 5.41e-07/0.3783, allocations: 288 / 1.288 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of Templates: time 0.003412/0.3817, allocations: 0.7038 MB / 1.289 GB, free: 5.91 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.48346795141697]