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.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.001645/0.001645, allocations: 113.5 kB / 17.08 MB, free: 5.957 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.001821/0.001821, allocations: 192.7 kB / 20.02 MB, free: 3.039 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.443/1.443, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.015/3.015, allocations: 489.3 MB / 0.7687 GB, free: 3.828 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 71.89 kB / 1.103 GB, free: 0.8281 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.071/1.073, allocations: 163.8 MB / 1.263 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002409/1.075, allocations: 1.454 MB / 1.264 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008232/1.076, allocations: 0.5052 MB / 1.264 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.978e-05/1.076, allocations: 2.594 kB / 1.264 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.575e-05/1.076, allocations: 1.656 kB / 1.264 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002103/1.077, allocations: 19.61 kB / 1.265 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001005/1.077, allocations: 27.94 kB / 1.265 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.571e-05/1.077, allocations: 46.59 kB / 1.265 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.74e-05/1.077, allocations: 13.55 kB / 1.265 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.909e-05/1.077, allocations: 25.73 kB / 1.265 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.8e-05/1.077, allocations: 21.92 kB / 1.265 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/1.077, allocations: 4.188 kB / 1.265 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.53e-05/1.077, allocations: 4.25 kB / 1.265 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.867e-05/1.077, allocations: 20.69 kB / 1.265 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.243e-05/1.077, allocations: 16.23 kB / 1.265 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001066/1.077, allocations: 44.92 kB / 1.265 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/1.077, allocations: 4.812 kB / 1.265 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.673e-06/1.077, allocations: 0 / 1.265 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.16e-06/1.077, allocations: 0 / 1.265 GB, free: 6.547 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.0005152/1.078, allocations: 356.6 kB / 1.265 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/1.078, allocations: 9.156 kB / 1.265 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.656e-05/1.078, allocations: 4 kB / 1.265 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.453e-05/1.078, allocations: 173.1 kB / 1.265 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/1.078, allocations: 6.375 kB / 1.265 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/1.078, allocations: 2.406 kB / 1.265 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/1.078, allocations: 58.61 kB / 1.265 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/1.078, allocations: 8.688 kB / 1.265 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/1.078, allocations: 0.9062 kB / 1.265 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/1.078, allocations: 0.6875 kB / 1.265 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.533e-05/1.078, allocations: 24.38 kB / 1.265 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000325/1.079, allocations: 271.2 kB / 1.266 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002152/1.079, allocations: 77.44 kB / 1.266 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.788e-05/1.079, allocations: 19.95 kB / 1.266 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/1.079, allocations: 0.7812 kB / 1.266 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001554/1.079, allocations: 68.08 kB / 1.266 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/1.079, allocations: 3.938 kB / 1.266 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.0002422/1.079, allocations: 101.2 kB / 1.266 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.712e-05/1.079, allocations: 52.81 kB / 1.266 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.828e-05/1.079, allocations: 103 kB / 1.266 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.217e-06/1.079, allocations: 26.39 kB / 1.266 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.354e-05/1.079, allocations: 86.09 kB / 1.266 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.627e-05/1.079, allocations: 23.98 kB / 1.266 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.716e-05/1.08, allocations: 16.69 kB / 1.266 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.809e-05/1.08, allocations: 322.3 kB / 1.266 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.296e-05/1.08, allocations: 17.92 kB / 1.266 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.43e-05/1.08, allocations: 14.44 kB / 1.266 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.322e-05/1.08, allocations: 39.61 kB / 1.267 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/1.08, allocations: 0 / 1.267 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001205/1.08, allocations: 75.94 kB / 1.267 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/1.08, allocations: 5.875 kB / 1.267 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/1.08, allocations: 0.5156 kB / 1.267 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/1.08, allocations: 4.844 kB / 1.267 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.615e-05/1.08, allocations: 10.84 kB / 1.267 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/1.08, allocations: 4.703 kB / 1.267 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.546e-05/1.08, allocations: 3.859 kB / 1.267 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/1.08, allocations: 2.516 kB / 1.267 GB, free: 4.727 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.374e-05/1.08, allocations: 117.2 kB / 1.267 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.329e-05/1.08, allocations: 3.188 kB / 1.267 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002004/1.08, allocations: 107.6 kB / 1.267 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/1.08, allocations: 1.547 kB / 1.267 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/1.08, allocations: 0 / 1.267 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/1.08, allocations: 5.922 kB / 1.267 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.881e-05/1.081, allocations: 180.5 kB / 1.267 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/1.081, allocations: 1.281 kB / 1.267 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.241e-05/1.081, allocations: 14.38 kB / 1.267 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/1.081, allocations: 5.062 kB / 1.267 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/1.081, allocations: 6.188 kB / 1.267 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/1.081, allocations: 0 / 1.267 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/1.081, allocations: 5.047 kB / 1.267 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001562/1.081, allocations: 127.8 kB / 1.267 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.262e-05/1.081, allocations: 87.48 kB / 1.267 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/1.081, allocations: 2 kB / 1.267 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.553e-05/1.081, allocations: 3.359 kB / 1.267 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.574e-05/1.081, allocations: 10.56 kB / 1.267 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/1.081, allocations: 3.703 kB / 1.267 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.625e-05/1.081, allocations: 80.2 kB / 1.267 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.081, allocations: 0 / 1.267 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001964/1.081, allocations: 14.98 kB / 1.267 GB, free: 4.027 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 9.825e-05/1.081, allocations: 103.1 kB / 1.267 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000151/1.081, allocations: 53.92 kB / 1.268 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/1.081, allocations: 0 / 1.268 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.843e-05/1.082, allocations: 33.36 kB / 1.268 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001507/1.082, allocations: 9.938 kB / 1.268 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003284/1.082, allocations: 171.6 kB / 1.268 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001269/1.082, allocations: 0.6877 MB / 1.268 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.061e-05/1.082, allocations: 12.61 kB / 1.268 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of SimCode: time 7.31e-07/1.082, allocations: 0.9062 kB / 1.268 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of Templates: time 0.002604/1.085, allocations: 0.838 MB / 1.269 GB, free: 2.977 MB / 0.9981 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 -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_2/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.4117946929764]