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.001742/0.001742, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.002139/0.002139, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.644/1.644, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.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.895/2.895, allocations: 476.7 MB / 0.7629 GB, free: 15.2 MB / 0.6075 GB " [Timeout remaining time 176] 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.002046/0.002046, allocations: 67.89 kB / 1.107 GB, free: 4.566 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.15/1.152, allocations: 168.7 MB / 1.272 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002771/1.155, allocations: 1.475 MB / 1.273 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000932/1.156, allocations: 0.5054 MB / 1.274 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.428e-05/1.156, allocations: 0.9375 kB / 1.274 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.852e-05/1.156, allocations: 3.938 kB / 1.274 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002138/1.156, allocations: 29.23 kB / 1.274 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001026/1.156, allocations: 30.95 kB / 1.274 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.215e-05/1.156, allocations: 46.91 kB / 1.274 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.406e-05/1.156, allocations: 7.266 kB / 1.274 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/1.156, allocations: 26.23 kB / 1.274 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.487e-05/1.156, allocations: 22.91 kB / 1.274 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.8e-05/1.156, allocations: 3.75 kB / 1.274 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.476e-05/1.156, allocations: 4.562 kB / 1.274 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.619e-05/1.156, allocations: 7.625 kB / 1.274 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.379e-05/1.156, allocations: 33.31 kB / 1.274 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000101/1.157, allocations: 40.66 kB / 1.274 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/1.157, allocations: 0.6875 kB / 1.274 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.553e-06/1.157, allocations: 0 / 1.274 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.41e-06/1.157, allocations: 0.5625 kB / 1.274 GB, free: 6.414 MB / 0.9981 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.0005812/1.157, allocations: 354.4 kB / 1.274 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/1.157, allocations: 8.938 kB / 1.275 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.52e-05/1.157, allocations: 6.812 kB / 1.275 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/1.157, allocations: 171.2 kB / 1.275 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/1.157, allocations: 4.719 kB / 1.275 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/1.157, allocations: 2.75 kB / 1.275 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/1.157, allocations: 62.3 kB / 1.275 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/1.157, allocations: 0.7812 kB / 1.275 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/1.157, allocations: 0 / 1.275 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/1.157, allocations: 0.9688 kB / 1.275 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.656e-05/1.158, allocations: 25.58 kB / 1.275 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003454/1.158, allocations: 282.4 kB / 1.275 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002227/1.158, allocations: 58.03 kB / 1.275 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.408e-05/1.158, allocations: 22.05 kB / 1.275 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/1.158, allocations: 2.859 kB / 1.275 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001798/1.158, allocations: 74.03 kB / 1.275 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/1.158, allocations: 0 / 1.275 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.000254/1.159, allocations: 85.72 kB / 1.275 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/1.159, allocations: 56.94 kB / 1.275 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.925e-05/1.159, allocations: 103.7 kB / 1.275 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.877e-06/1.159, allocations: 26.52 kB / 1.275 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.23e-05/1.159, allocations: 85.03 kB / 1.276 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.529e-05/1.159, allocations: 21.44 kB / 1.276 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.122e-05/1.159, allocations: 24.23 kB / 1.276 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.262e-05/1.159, allocations: 322.4 kB / 1.276 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.782e-05/1.159, allocations: 12.69 kB / 1.276 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.253e-05/1.159, allocations: 26.05 kB / 1.276 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.139e-05/1.159, allocations: 49.06 kB / 1.276 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/1.159, allocations: 1.094 kB / 1.276 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001134/1.159, allocations: 70.66 kB / 1.276 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/1.159, allocations: 5.312 kB / 1.276 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/1.159, allocations: 1.969 kB / 1.276 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/1.159, allocations: 5.438 kB / 1.276 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.597e-05/1.159, allocations: 8.594 kB / 1.276 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/1.159, allocations: 5.953 kB / 1.276 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.739e-05/1.159, allocations: 7.109 kB / 1.276 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/1.159, allocations: 3.812 kB / 1.276 GB, free: 4.59 MB / 0.9981 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 5.436e-05/1.159, allocations: 116.4 kB / 1.276 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.297e-05/1.159, allocations: 1.875 kB / 1.276 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002184/1.16, allocations: 103.1 kB / 1.276 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/1.16, allocations: 6.859 kB / 1.276 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/1.16, allocations: 0 / 1.276 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/1.16, allocations: 0.75 kB / 1.276 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/1.16, allocations: 189.4 kB / 1.276 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/1.16, allocations: 0 / 1.276 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.282e-05/1.16, allocations: 11.56 kB / 1.276 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/1.16, allocations: 0 / 1.276 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/1.16, allocations: 2.312 kB / 1.276 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/1.16, allocations: 1.312 kB / 1.276 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/1.16, allocations: 0 / 1.276 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001673/1.16, allocations: 124.6 kB / 1.277 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.135e-05/1.16, allocations: 87.19 kB / 1.277 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/1.16, allocations: 0.625 kB / 1.277 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.883e-05/1.16, allocations: 8.906 kB / 1.277 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.78e-05/1.16, allocations: 6.359 kB / 1.277 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/1.16, allocations: 1.719 kB / 1.277 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.099e-05/1.16, allocations: 89.53 kB / 1.277 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.16, allocations: 0.8438 kB / 1.277 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001983/1.16, allocations: 13.5 kB / 1.277 GB, free: 3.898 MB / 0.9981 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.0001033/1.16, allocations: 108.9 kB / 1.277 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001475/1.161, allocations: 52.12 kB / 1.277 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/1.161, allocations: 0 / 1.277 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.365e-05/1.161, allocations: 27.23 kB / 1.277 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001601/1.161, allocations: 6.938 kB / 1.277 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003562/1.161, allocations: 162 kB / 1.277 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001035/1.161, allocations: 0.683 MB / 1.278 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.116e-05/1.161, allocations: 10.97 kB / 1.278 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.678e-05/1.161, allocations: 11.78 kB / 1.278 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of SimCode: time 3.91e-07/1.161, allocations: 0 / 1.278 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of Templates: time 0.003353/1.165, allocations: 0.7141 MB / 1.279 GB, free: 2.848 MB / 0.9981 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.627329366281629]