Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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.002004/0.002004, allocations: 78.72 kB / 19.76 MB, free: 2.027 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.001966/0.001966, allocations: 159.3 kB / 23.01 MB, free: 4.949 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.445/1.445, allocations: 177.2 MB / 203.4 MB, free: 8.973 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.899/2.899, allocations: 394.2 MB / 0.6386 GB, free: 11.9 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.LocalCivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|locTim.locTim|locTim.cloTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|locTim.locTim|locTim.cloTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") [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.0026/0.0026, allocations: 64.19 kB / 1.009 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.042/1.045, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.003707/1.049, allocations: 1.5 MB / 1.188 GB, free: 15.17 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001041/1.05, allocations: 471.5 kB / 1.189 GB, free: 14.87 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.403e-05/1.05, allocations: 0 / 1.189 GB, free: 14.87 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.645e-05/1.05, allocations: 1.359 kB / 1.189 GB, free: 14.87 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0002938/1.05, allocations: 33.7 kB / 1.189 GB, free: 14.84 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.000115/1.05, allocations: 14.8 kB / 1.189 GB, free: 14.84 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001149/1.05, allocations: 59.11 kB / 1.189 GB, free: 14.8 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/1.05, allocations: 12.23 kB / 1.189 GB, free: 14.8 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001953/1.051, allocations: 28.78 kB / 1.189 GB, free: 14.79 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 9.575e-05/1.051, allocations: 21.28 kB / 1.189 GB, free: 14.78 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/1.051, allocations: 4.25 kB / 1.189 GB, free: 14.78 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.79e-05/1.051, allocations: 2.906 kB / 1.189 GB, free: 14.78 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.884e-05/1.051, allocations: 12.05 kB / 1.189 GB, free: 14.77 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 5.076e-05/1.051, allocations: 15.66 kB / 1.189 GB, free: 14.76 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000127/1.051, allocations: 45.12 kB / 1.189 GB, free: 14.75 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/1.051, allocations: 3.938 kB / 1.189 GB, free: 14.74 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.956e-06/1.051, allocations: 5.625 kB / 1.189 GB, free: 14.74 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.552e-06/1.051, allocations: 0 / 1.189 GB, free: 14.74 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006018/1.052, allocations: 274.7 kB / 1.189 GB, free: 14.47 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/1.052, allocations: 9.75 kB / 1.189 GB, free: 14.47 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.065e-05/1.052, allocations: 6.609 kB / 1.189 GB, free: 14.47 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.778e-05/1.052, allocations: 117.5 kB / 1.189 GB, free: 14.34 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/1.052, allocations: 5.781 kB / 1.189 GB, free: 14.33 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/1.052, allocations: 3.281 kB / 1.189 GB, free: 14.33 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/1.052, allocations: 49.48 kB / 1.189 GB, free: 14.29 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/1.052, allocations: 4 kB / 1.189 GB, free: 14.29 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/1.052, allocations: 5.219 kB / 1.189 GB, free: 14.29 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/1.052, allocations: 2.047 kB / 1.189 GB, free: 14.29 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.179e-05/1.052, allocations: 19.31 kB / 1.189 GB, free: 14.28 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003471/1.052, allocations: 209.3 kB / 1.189 GB, free: 14.07 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/1.053, allocations: 44.59 kB / 1.189 GB, free: 14.03 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.583e-05/1.053, allocations: 18.7 kB / 1.19 GB, free: 14.02 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/1.053, allocations: 5.281 kB / 1.19 GB, free: 14.02 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002031/1.053, allocations: 64.22 kB / 1.19 GB, free: 13.96 MB / 1.076 GB Notification: Performance of pre-optimization done (n=5): time 1.883e-06/1.053, allocations: 1 kB / 1.19 GB, free: 13.96 MB / 1.076 GB Notification: Performance of matching and sorting (n=5): time 0.0003155/1.053, allocations: 82.5 kB / 1.19 GB, free: 13.91 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/1.053, allocations: 56.69 kB / 1.19 GB, free: 13.84 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.677e-05/1.053, allocations: 108.1 kB / 1.19 GB, free: 13.74 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/1.053, allocations: 26.83 kB / 1.19 GB, free: 13.71 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.162e-05/1.053, allocations: 90.22 kB / 1.19 GB, free: 13.62 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.54e-05/1.053, allocations: 7.969 kB / 1.19 GB, free: 13.62 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.772e-05/1.053, allocations: 18.77 kB / 1.19 GB, free: 13.6 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.549e-05/1.053, allocations: 319.3 kB / 1.19 GB, free: 13.28 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.744e-05/1.054, allocations: 16.14 kB / 1.19 GB, free: 13.27 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.853e-05/1.054, allocations: 12.05 kB / 1.19 GB, free: 13.27 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.797e-05/1.054, allocations: 39.8 kB / 1.19 GB, free: 13.24 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/1.054, allocations: 0 / 1.19 GB, free: 13.24 MB / 1.076 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000144/1.054, allocations: 71.48 kB / 1.19 GB, free: 13.19 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/1.054, allocations: 5.5 kB / 1.19 GB, free: 13.19 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/1.054, allocations: 0 / 1.19 GB, free: 13.19 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/1.054, allocations: 5.125 kB / 1.19 GB, free: 13.19 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.371e-05/1.054, allocations: 12 kB / 1.19 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/1.054, allocations: 1.094 kB / 1.19 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.695e-05/1.054, allocations: 11.67 kB / 1.19 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/1.054, allocations: 1.406 kB / 1.19 GB, free: 13.18 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 (locTim.tNext,$PRE.locTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 6.8e-05/1.054, allocations: 121.7 kB / 1.191 GB, free: 13.05 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.894e-05/1.054, allocations: 6.641 kB / 1.191 GB, free: 13.05 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.742e-05/1.054, allocations: 6.781 kB / 1.191 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/1.054, allocations: 1.219 kB / 1.191 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/1.054, allocations: 0 / 1.191 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/1.054, allocations: 0.6094 kB / 1.191 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.696e-05/1.054, allocations: 122.2 kB / 1.191 GB, free: 12.9 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/1.054, allocations: 0 / 1.191 GB, free: 12.9 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.995e-05/1.054, allocations: 5.328 kB / 1.191 GB, free: 12.9 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/1.054, allocations: 1.188 kB / 1.191 GB, free: 12.9 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/1.054, allocations: 0.8438 kB / 1.191 GB, free: 12.9 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/1.054, allocations: 5.125 kB / 1.191 GB, free: 12.9 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/1.054, allocations: 0 / 1.191 GB, free: 12.9 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001656/1.054, allocations: 105.2 kB / 1.191 GB, free: 12.81 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.893e-05/1.054, allocations: 7.703 kB / 1.191 GB, free: 12.8 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/1.055, allocations: 1.828 kB / 1.191 GB, free: 12.8 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.207e-05/1.055, allocations: 3.484 kB / 1.191 GB, free: 12.8 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.35e-05/1.055, allocations: 5.109 kB / 1.191 GB, free: 12.8 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/1.055, allocations: 1.766 kB / 1.191 GB, free: 12.8 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.785e-05/1.055, allocations: 93.69 kB / 1.191 GB, free: 12.72 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/1.055, allocations: 0 / 1.191 GB, free: 12.72 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003606/1.055, allocations: 13.84 kB / 1.191 GB, free: 12.72 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,locTim.tNext) * Number of discrete states: 1 (locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * 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.0001059/1.055, allocations: 95.62 kB / 1.191 GB, free: 12.63 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001586/1.055, allocations: 43.02 kB / 1.191 GB, free: 12.61 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/1.055, allocations: 0 / 1.191 GB, free: 12.61 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 6.127e-05/1.055, allocations: 16.34 kB / 1.191 GB, free: 12.61 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002461/1.056, allocations: 6.375 kB / 1.191 GB, free: 12.61 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004552/1.056, allocations: 133.2 kB / 1.191 GB, free: 12.49 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.764e-05/1.056, allocations: 74.77 kB / 1.191 GB, free: 12.41 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.666e-05/1.056, allocations: 7.422 kB / 1.191 GB, free: 12.41 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.972e-05/1.056, allocations: 15.23 kB / 1.191 GB, free: 12.39 MB / 1.076 GB Notification: Performance of SimCode: time 3.91e-07/1.056, allocations: 0 / 1.191 GB, free: 12.39 MB / 1.076 GB Notification: Performance of Templates: time 0.004487/1.061, allocations: 0.5521 MB / 1.192 GB, free: 12.32 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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.010944633046165]