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.00167/0.00167, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.002367/0.002367, allocations: 217.6 kB / 23.01 MB, free: 4.609 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.562/1.562, allocations: 230.6 MB / 256.8 MB, free: 8.031 MB / 206.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 3.291/3.291, allocations: 0.505 GB / 0.8108 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: 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.002217/0.002217, allocations: 68.06 kB / 1.178 GB, free: 16.93 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3797/0.3819, allocations: 180.2 MB / 1.354 GB, free: 7.988 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002855/0.3848, allocations: 1.482 MB / 1.356 GB, free: 6.496 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001101/0.3859, allocations: 0.5649 MB / 1.356 GB, free: 5.926 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.797e-05/0.386, allocations: 4 kB / 1.356 GB, free: 5.922 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.326e-05/0.386, allocations: 3.938 kB / 1.356 GB, free: 5.918 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002463/0.3862, allocations: 27.84 kB / 1.356 GB, free: 5.891 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001554/0.3864, allocations: 27.91 kB / 1.356 GB, free: 5.863 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.3865, allocations: 47.86 kB / 1.356 GB, free: 5.816 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.3866, allocations: 23.84 kB / 1.356 GB, free: 5.793 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000148/0.3868, allocations: 27.92 kB / 1.356 GB, free: 5.766 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.427e-05/0.3869, allocations: 23.91 kB / 1.356 GB, free: 5.742 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.3869, allocations: 4 kB / 1.356 GB, free: 5.738 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 5.387e-05/0.3869, allocations: 12 kB / 1.356 GB, free: 5.727 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.145e-05/0.387, allocations: 11.98 kB / 1.356 GB, free: 5.715 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.491e-05/0.387, allocations: 19.92 kB / 1.356 GB, free: 5.695 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001334/0.3871, allocations: 47.86 kB / 1.356 GB, free: 5.648 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3871, allocations: 0 / 1.356 GB, free: 5.648 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3871, allocations: 4 kB / 1.356 GB, free: 5.645 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.3871, allocations: 0 / 1.356 GB, free: 5.645 MB / 1.045 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.0006234/0.3878, allocations: 286.1 kB / 1.357 GB, free: 5.336 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.3878, allocations: 12.03 kB / 1.357 GB, free: 5.324 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001879/0.388, allocations: 12.88 kB / 1.357 GB, free: 5.312 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.3881, allocations: 114.5 kB / 1.357 GB, free: 5.176 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.3881, allocations: 12.31 kB / 1.357 GB, free: 5.164 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.3882, allocations: 4.375 kB / 1.357 GB, free: 5.16 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.3883, allocations: 53.98 kB / 1.357 GB, free: 5.102 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.3883, allocations: 0 / 1.357 GB, free: 5.102 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.3883, allocations: 4 kB / 1.357 GB, free: 5.098 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.3883, allocations: 4 kB / 1.357 GB, free: 5.094 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.856e-05/0.3884, allocations: 23.92 kB / 1.357 GB, free: 5.07 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004133/0.3888, allocations: 255.8 kB / 1.357 GB, free: 4.777 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002199/0.389, allocations: 62.67 kB / 1.357 GB, free: 4.707 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.829e-05/0.3891, allocations: 20.84 kB / 1.357 GB, free: 4.684 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.3891, allocations: 0 / 1.357 GB, free: 4.684 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001646/0.3893, allocations: 71.33 kB / 1.357 GB, free: 4.602 MB / 1.045 GB Notification: Performance of pre-optimization done (n=6): time 1.193e-06/0.3893, allocations: 0 / 1.357 GB, free: 4.602 MB / 1.045 GB Notification: Performance of matching and sorting (n=6): time 0.0002489/0.3895, allocations: 97.66 kB / 1.357 GB, free: 4.5 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/0.3896, allocations: 51.41 kB / 1.357 GB, free: 4.438 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.473e-05/0.3897, allocations: 101.8 kB / 1.358 GB, free: 4.328 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.3897, allocations: 29.7 kB / 1.358 GB, free: 4.293 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.254e-05/0.3897, allocations: 88.69 kB / 1.358 GB, free: 4.203 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.3898, allocations: 15.86 kB / 1.358 GB, free: 4.188 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.363e-05/0.3898, allocations: 21.7 kB / 1.358 GB, free: 4.16 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.39, allocations: 318.8 kB / 1.358 GB, free: 3.84 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.885e-05/0.39, allocations: 19.94 kB / 1.358 GB, free: 3.82 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.394e-05/0.39, allocations: 15.98 kB / 1.358 GB, free: 3.805 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.839e-05/0.3901, allocations: 36.84 kB / 1.358 GB, free: 3.766 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3901, allocations: 0 / 1.358 GB, free: 3.766 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000128/0.3902, allocations: 73.75 kB / 1.358 GB, free: 3.688 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.3903, allocations: 4 kB / 1.358 GB, free: 3.684 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.3903, allocations: 0 / 1.358 GB, free: 3.684 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.3903, allocations: 0 / 1.358 GB, free: 3.684 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.309e-05/0.3904, allocations: 19.92 kB / 1.358 GB, free: 3.664 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.3904, allocations: 0 / 1.358 GB, free: 3.664 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.766e-05/0.3904, allocations: 12.2 kB / 1.358 GB, free: 3.652 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.3904, allocations: 0 / 1.358 GB, free: 3.652 MB / 1.045 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.0001062/0.3905, allocations: 117.8 kB / 1.358 GB, free: 3.527 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.97e-05/0.3906, allocations: 11.98 kB / 1.358 GB, free: 3.516 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002145/0.3908, allocations: 101.5 kB / 1.358 GB, free: 3.41 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.3908, allocations: 11.92 kB / 1.358 GB, free: 3.398 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.3908, allocations: 0 / 1.358 GB, free: 3.398 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.3908, allocations: 0 / 1.358 GB, free: 3.398 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.3909, allocations: 152.7 kB / 1.359 GB, free: 3.207 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3909, allocations: 0 / 1.359 GB, free: 3.207 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.578e-05/0.391, allocations: 15.98 kB / 1.359 GB, free: 3.191 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.391, allocations: 0 / 1.359 GB, free: 3.191 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.391, allocations: 4 kB / 1.359 GB, free: 3.188 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.391, allocations: 0 / 1.359 GB, free: 3.188 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.391, allocations: 0 / 1.359 GB, free: 3.188 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002583/0.3913, allocations: 124.9 kB / 1.359 GB, free: 3.047 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.235e-05/0.3913, allocations: 7.953 kB / 1.359 GB, free: 3.039 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.3913, allocations: 3.984 kB / 1.359 GB, free: 3.035 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.766e-05/0.3914, allocations: 4 kB / 1.359 GB, free: 3.031 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.935e-05/0.3914, allocations: 11.98 kB / 1.359 GB, free: 3.02 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.3914, allocations: 0 / 1.359 GB, free: 3.02 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.885e-05/0.3915, allocations: 83.22 kB / 1.359 GB, free: 2.938 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3915, allocations: 4 kB / 1.359 GB, free: 2.934 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001952/0.3917, allocations: 15.98 kB / 1.359 GB, free: 2.918 MB / 1.045 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.0001235/0.3918, allocations: 99.25 kB / 1.359 GB, free: 2.812 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001517/0.392, allocations: 51.86 kB / 1.359 GB, free: 2.762 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.392, allocations: 0 / 1.359 GB, free: 2.762 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 6.202e-05/0.392, allocations: 27.98 kB / 1.359 GB, free: 2.734 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001421/0.3922, allocations: 384 / 1.359 GB, free: 2.734 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003881/0.3926, allocations: 179.2 kB / 1.359 GB, free: 2.527 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/0.3929, allocations: 0.6807 MB / 1.36 GB, free: 1.82 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.517e-05/0.3929, allocations: 19.42 kB / 1.36 GB, free: 1.801 MB / 1.045 GB Notification: Performance of SimCode: time 3.21e-07/0.3929, allocations: 0 / 1.36 GB, free: 1.801 MB / 1.045 GB Notification: Performance of Templates: time 0.002382/0.3953, allocations: 0.8288 MB / 1.361 GB, free: 0.9727 MB / 1.045 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/jenkins1/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: 11.584657951985719]