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.001986/0.001986, allocations: 75.75 kB / 19.76 MB, free: 1.875 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.002773/0.002773, allocations: 156.7 kB / 23.01 MB, free: 4.602 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.513/1.513, allocations: 177.2 MB / 203.4 MB, free: 8.977 MB / 190.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 2.969/2.969, allocations: 394.2 MB / 0.6386 GB, free: 11.91 MB / 0.6075 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.002195/0.002195, allocations: 59.91 kB / 1.009 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9222/0.9244, allocations: 181.8 MB / 1.187 GB, free: 16.14 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002319/0.9268, allocations: 1.482 MB / 1.188 GB, free: 15.12 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.000912/0.9277, allocations: 0.5189 MB / 1.189 GB, free: 14.79 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.684e-05/0.9277, allocations: 0 / 1.189 GB, free: 14.79 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.068e-05/0.9277, allocations: 8.594 kB / 1.189 GB, free: 14.78 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.000227/0.928, allocations: 19.84 kB / 1.189 GB, free: 14.77 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001558/0.9281, allocations: 39.48 kB / 1.189 GB, free: 14.74 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 8.781e-05/0.9282, allocations: 46.44 kB / 1.189 GB, free: 14.72 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 8.878e-05/0.9283, allocations: 5.094 kB / 1.189 GB, free: 14.72 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000147/0.9284, allocations: 37.91 kB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 8.912e-05/0.9285, allocations: 21.78 kB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.9285, allocations: 3.531 kB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 5.435e-05/0.9286, allocations: 17.45 kB / 1.189 GB, free: 14.69 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.119e-05/0.9286, allocations: 7.984 kB / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.398e-05/0.9287, allocations: 16.2 kB / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001353/0.9288, allocations: 53.95 kB / 1.189 GB, free: 14.66 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.9288, allocations: 1.438 kB / 1.189 GB, free: 14.66 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.014e-06/0.9288, allocations: 0.8906 kB / 1.189 GB, free: 14.66 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.9288, allocations: 0 / 1.189 GB, free: 14.66 MB / 1.076 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.0005084/0.9293, allocations: 274.2 kB / 1.189 GB, free: 14.39 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.9294, allocations: 13.34 kB / 1.189 GB, free: 14.39 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001754/0.9295, allocations: 9.672 kB / 1.189 GB, free: 14.39 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.535e-05/0.9296, allocations: 119.8 kB / 1.189 GB, free: 14.25 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.9296, allocations: 3.5 kB / 1.189 GB, free: 14.25 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.9297, allocations: 5.656 kB / 1.189 GB, free: 14.25 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.9298, allocations: 59.64 kB / 1.189 GB, free: 14.21 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.9298, allocations: 0 / 1.189 GB, free: 14.21 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.9298, allocations: 0.75 kB / 1.189 GB, free: 14.21 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.9298, allocations: 1.344 kB / 1.189 GB, free: 14.21 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.915e-05/0.9299, allocations: 24.88 kB / 1.189 GB, free: 14.2 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002731/0.9301, allocations: 222.1 kB / 1.19 GB, free: 13.98 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002173/0.9304, allocations: 67.47 kB / 1.19 GB, free: 13.93 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.117e-05/0.9304, allocations: 19.66 kB / 1.19 GB, free: 13.92 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.9304, allocations: 3.984 kB / 1.19 GB, free: 13.92 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001561/0.9306, allocations: 73.66 kB / 1.19 GB, free: 13.86 MB / 1.076 GB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.9306, allocations: 1.188 kB / 1.19 GB, free: 13.86 MB / 1.076 GB Notification: Performance of matching and sorting (n=6): time 0.00022/0.9308, allocations: 89.36 kB / 1.19 GB, free: 13.81 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.9308, allocations: 52.44 kB / 1.19 GB, free: 13.75 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.565e-05/0.9309, allocations: 103.5 kB / 1.19 GB, free: 13.64 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.537e-06/0.9309, allocations: 30.83 kB / 1.19 GB, free: 13.61 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.316e-05/0.9309, allocations: 89.86 kB / 1.19 GB, free: 13.52 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.931, allocations: 15.69 kB / 1.19 GB, free: 13.51 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-05/0.931, allocations: 21.56 kB / 1.19 GB, free: 13.49 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.245e-05/0.931, allocations: 317.9 kB / 1.19 GB, free: 13.17 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.889e-05/0.9311, allocations: 13.62 kB / 1.19 GB, free: 13.17 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.21e-05/0.9311, allocations: 21.98 kB / 1.19 GB, free: 13.16 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.064e-05/0.9312, allocations: 40.09 kB / 1.19 GB, free: 13.13 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.9312, allocations: 0.5625 kB / 1.19 GB, free: 13.13 MB / 1.076 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001137/0.9313, allocations: 77.42 kB / 1.191 GB, free: 13.08 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.9313, allocations: 10.62 kB / 1.191 GB, free: 13.08 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.9313, allocations: 1.797 kB / 1.191 GB, free: 13.08 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.9313, allocations: 0 / 1.191 GB, free: 13.08 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.982e-05/0.9314, allocations: 14.16 kB / 1.191 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.9314, allocations: 9.875 kB / 1.191 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.017e-05/0.9315, allocations: 3.047 kB / 1.191 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.9315, allocations: 3.344 kB / 1.191 GB, free: 13.07 MB / 1.076 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.466e-05/0.9315, allocations: 117.6 kB / 1.191 GB, free: 12.95 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.387e-05/0.9316, allocations: 5.938 kB / 1.191 GB, free: 12.94 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001931/0.9317, allocations: 105.7 kB / 1.191 GB, free: 12.88 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.9318, allocations: 0.875 kB / 1.191 GB, free: 12.88 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.9318, allocations: 4.906 kB / 1.191 GB, free: 12.87 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.696e-06/0.9318, allocations: 0.6094 kB / 1.191 GB, free: 12.87 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.989e-05/0.9318, allocations: 124.8 kB / 1.191 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.9318, allocations: 0.6562 kB / 1.191 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.917e-05/0.9319, allocations: 14.2 kB / 1.191 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.9319, allocations: 0.7812 kB / 1.191 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.9319, allocations: 1.562 kB / 1.191 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.9319, allocations: 1.719 kB / 1.191 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.9319, allocations: 0 / 1.191 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001537/0.9321, allocations: 123.9 kB / 1.191 GB, free: 12.64 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.323e-05/0.9321, allocations: 11.55 kB / 1.191 GB, free: 12.63 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.9321, allocations: 1.312 kB / 1.191 GB, free: 12.63 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.085e-05/0.9322, allocations: 7.922 kB / 1.191 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.439e-05/0.9322, allocations: 6.703 kB / 1.191 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.9322, allocations: 4.797 kB / 1.191 GB, free: 12.62 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.538e-05/0.9323, allocations: 88.55 kB / 1.191 GB, free: 12.54 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.9323, allocations: 0 / 1.191 GB, free: 12.54 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002019/0.9325, allocations: 14.41 kB / 1.191 GB, free: 12.54 MB / 1.076 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 7.449e-05/0.9325, allocations: 108.9 kB / 1.191 GB, free: 12.44 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001395/0.9327, allocations: 44.56 kB / 1.191 GB, free: 12.43 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.9327, allocations: 0 / 1.191 GB, free: 12.43 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 5.726e-05/0.9327, allocations: 27.69 kB / 1.191 GB, free: 12.42 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001529/0.9329, allocations: 9.953 kB / 1.191 GB, free: 12.41 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000298/0.9332, allocations: 142.9 kB / 1.191 GB, free: 12.29 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.471e-05/0.9332, allocations: 71.44 kB / 1.192 GB, free: 12.21 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.3e-05/0.9333, allocations: 14.56 kB / 1.192 GB, free: 12.21 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.472e-05/0.9333, allocations: 12.25 kB / 1.192 GB, free: 12.2 MB / 1.076 GB Notification: Performance of SimCode: time 3.3e-07/0.9333, allocations: 1.25 kB / 1.192 GB, free: 12.2 MB / 1.076 GB Notification: Performance of Templates: time 0.003479/0.9368, allocations: 0.6765 MB / 1.192 GB, free: 12.11 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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: 9.083739118999802]