Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00171/0.00171, allocations: 80.84 kB / 19.18 MB, free: 2.516 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.002107/0.002107, allocations: 163.2 kB / 22.46 MB, free: 5.375 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.548/1.548, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.858/2.858, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.9814 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.516e-05/2.667e-05, allocations: 6.219 kB / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002645/0.002671, allocations: 1.49 MB / 0.9829 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008915/0.003563, allocations: 474.7 kB / 0.9834 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.805e-05/0.003611, allocations: 4 kB / 0.9834 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.011e-05/0.003641, allocations: 7.922 kB / 0.9834 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002213/0.003862, allocations: 23.8 kB / 0.9834 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 7.646e-05/0.003939, allocations: 19.91 kB / 0.9834 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.004045, allocations: 59.73 kB / 0.9835 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 7.934e-05/0.004124, allocations: 15.98 kB / 0.9835 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001799/0.004304, allocations: 35.91 kB / 0.9835 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.919e-05/0.004383, allocations: 19.97 kB / 0.9835 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.004401, allocations: 4 kB / 0.9835 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.703e-05/0.004418, allocations: 8 kB / 0.9835 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.506e-05/0.004443, allocations: 15.91 kB / 0.9836 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.995e-05/0.004483, allocations: 12 kB / 0.9836 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001123/0.004596, allocations: 55.78 kB / 0.9836 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.004598, allocations: 0 / 0.9836 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of FrontEnd: time 6.71e-07/0.004599, allocations: 0 / 0.9836 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.076e-06/0.004602, allocations: 4 kB / 0.9836 GB, free: 9.711 MB / 0.9356 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.0005765/0.005178, allocations: 286.1 kB / 0.9839 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.005216, allocations: 12.03 kB / 0.9839 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.806e-05/0.005264, allocations: 8.875 kB / 0.9839 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/0.005422, allocations: 113.8 kB / 0.984 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.005438, allocations: 384 / 0.984 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/0.005455, allocations: 4.375 kB / 0.984 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.00559, allocations: 54.23 kB / 0.9841 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.005602, allocations: 4.188 kB / 0.9841 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.005614, allocations: 384 / 0.9841 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.005621, allocations: 7.938 kB / 0.9841 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.502e-05/0.005686, allocations: 23.98 kB / 0.9841 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004628/0.006148, allocations: 232.4 kB / 0.9843 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.006285, allocations: 46.56 kB / 0.9844 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.332e-05/0.006338, allocations: 20.98 kB / 0.9844 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.006351, allocations: 0 / 0.9844 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001802/0.006531, allocations: 71.27 kB / 0.9845 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.006532, allocations: 4 kB / 0.9845 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.000231/0.006763, allocations: 81.67 kB / 0.9846 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.368e-05/0.006817, allocations: 55.41 kB / 0.9846 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.006922, allocations: 113.8 kB / 0.9847 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.006944, allocations: 29.7 kB / 0.9847 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.003e-05/0.007004, allocations: 88.09 kB / 0.9848 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.00703, allocations: 15.89 kB / 0.9848 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.455e-05/0.007074, allocations: 17.72 kB / 0.9849 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.007224, allocations: 322.8 kB / 0.9852 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.991e-05/0.007264, allocations: 15.94 kB / 0.9852 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.894e-05/0.007303, allocations: 19.98 kB / 0.9852 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.268e-05/0.007375, allocations: 36.8 kB / 0.9852 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.007378, allocations: 3.938 kB / 0.9852 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001433/0.007521, allocations: 85.64 kB / 0.9853 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.007539, allocations: 6.5 kB / 0.9853 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.007544, allocations: 0.5469 kB / 0.9853 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.007558, allocations: 4 kB / 0.9853 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.017e-05/0.007638, allocations: 7.984 kB / 0.9853 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.007646, allocations: 4 kB / 0.9853 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.095e-05/0.007727, allocations: 7.938 kB / 0.9854 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.007742, allocations: 7.938 kB / 0.9854 GB, free: 7.762 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (locTim.k,$PRE.locTim.k,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 (8): * Single equations (assignments): 8 * 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 9.592e-05/0.007838, allocations: 113.8 kB / 0.9855 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.534e-05/0.007853, allocations: 7.938 kB / 0.9855 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.365e-05/0.007886, allocations: 12.42 kB / 0.9855 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.00789, allocations: 3.984 kB / 0.9855 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.007895, allocations: 0 / 0.9855 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.007899, allocations: 0 / 0.9855 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/0.008015, allocations: 117.3 kB / 0.9856 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.008016, allocations: 0 / 0.9856 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.135e-05/0.008047, allocations: 4.25 kB / 0.9856 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/0.008055, allocations: 7.938 kB / 0.9856 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.008065, allocations: 4 kB / 0.9856 GB, free: 7.457 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.008067, allocations: 0 / 0.9856 GB, free: 7.457 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.008068, allocations: 4 kB / 0.9856 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000161/0.008229, allocations: 105.1 kB / 0.9857 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.85e-05/0.008247, allocations: 7.953 kB / 0.9857 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.008266, allocations: 3.938 kB / 0.9857 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.053e-05/0.008326, allocations: 7.984 kB / 0.9857 GB, free: 7.312 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.091e-05/0.008357, allocations: 4 kB / 0.9857 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.008365, allocations: 4 kB / 0.9858 GB, free: 7.305 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.313e-05/0.008428, allocations: 95.25 kB / 0.9858 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.008428, allocations: 0 / 0.9858 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001955/0.008623, allocations: 8 kB / 0.9858 GB, free: 7.203 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,locTim.tNext,locTim.k) * Number of discrete states: 2 (locTim.k,locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001124/0.008736, allocations: 103.2 kB / 0.9859 GB, free: 7.094 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001281/0.008864, allocations: 43.91 kB / 0.986 GB, free: 7.051 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.008867, allocations: 7.938 kB / 0.986 GB, free: 7.043 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.229e-05/0.008909, allocations: 12 kB / 0.986 GB, free: 7.031 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001477/0.009057, allocations: 8 kB / 0.986 GB, free: 7.023 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003297/0.009387, allocations: 136.7 kB / 0.9861 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.953e-05/0.009446, allocations: 71.28 kB / 0.9862 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.614e-05/0.009473, allocations: 7.984 kB / 0.9862 GB, free: 6.766 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.345e-05/0.009506, allocations: 12.5 kB / 0.9862 GB, free: 6.754 MB / 0.9356 GB Notification: Performance of SimCode: time 5.51e-07/0.009507, allocations: 0 / 0.9862 GB, free: 6.754 MB / 0.9356 GB Notification: Performance of Templates: time 0.003139/0.01265, allocations: 0.6032 MB / 0.9868 GB, free: 6.16 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.01845545321703]