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.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.001913/0.001913, allocations: 113.9 kB / 18.94 MB, free: 2.949 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.002463/0.002463, allocations: 189.5 kB / 22.23 MB, free: 5.141 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.532/1.532, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.246/3.246, allocations: 495.7 MB / 0.7831 GB, free: 33.6 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-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.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: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 65.88 kB / 1.137 GB, free: 33.91 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3634, allocations: 173.6 MB / 1.307 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.003204/0.3666, allocations: 1.511 MB / 1.308 GB, free: 368 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001117/0.3677, allocations: 470.8 kB / 1.309 GB, free: 15.89 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.954e-05/0.3678, allocations: 0 / 1.309 GB, free: 15.89 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.067e-05/0.3678, allocations: 3.938 kB / 1.309 GB, free: 15.89 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003143/0.3682, allocations: 27.84 kB / 1.309 GB, free: 15.86 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001138/0.3683, allocations: 23.92 kB / 1.309 GB, free: 15.84 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000121/0.3684, allocations: 51.83 kB / 1.309 GB, free: 15.79 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.3685, allocations: 7.938 kB / 1.309 GB, free: 15.78 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001873/0.3687, allocations: 27.86 kB / 1.309 GB, free: 15.75 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.3688, allocations: 19.92 kB / 1.309 GB, free: 15.73 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.207e-05/0.3688, allocations: 4 kB / 1.309 GB, free: 15.73 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.802e-05/0.3688, allocations: 4 kB / 1.309 GB, free: 15.73 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.468e-05/0.3689, allocations: 19.91 kB / 1.309 GB, free: 15.71 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.827e-05/0.3689, allocations: 19.94 kB / 1.309 GB, free: 15.69 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001143/0.369, allocations: 39.88 kB / 1.309 GB, free: 15.65 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.369, allocations: 0 / 1.309 GB, free: 15.65 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.693e-06/0.369, allocations: 3.938 kB / 1.309 GB, free: 15.64 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.369, allocations: 0 / 1.309 GB, free: 15.64 MB / 1.014 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.0006335/0.3697, allocations: 274.2 kB / 1.309 GB, free: 15.35 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.3697, allocations: 8.031 kB / 1.309 GB, free: 15.34 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.414e-05/0.3698, allocations: 4.891 kB / 1.309 GB, free: 15.34 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.3699, allocations: 126.5 kB / 1.31 GB, free: 15.19 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.3699, allocations: 4.312 kB / 1.31 GB, free: 15.18 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.3699, allocations: 4.375 kB / 1.31 GB, free: 15.18 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.3701, allocations: 50 kB / 1.31 GB, free: 15.12 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.3701, allocations: 0 / 1.31 GB, free: 15.12 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.3701, allocations: 3.984 kB / 1.31 GB, free: 15.12 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.3701, allocations: 0 / 1.31 GB, free: 15.12 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.748e-05/0.3702, allocations: 23.94 kB / 1.31 GB, free: 15.1 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004228/0.3706, allocations: 247.9 kB / 1.31 GB, free: 14.81 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.3708, allocations: 42.5 kB / 1.31 GB, free: 14.76 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.849e-05/0.3708, allocations: 24.95 kB / 1.31 GB, free: 14.73 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.3708, allocations: 3.984 kB / 1.31 GB, free: 14.73 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001889/0.371, allocations: 63.39 kB / 1.31 GB, free: 14.66 MB / 1.014 GB Notification: Performance of pre-optimization done (n=5): time 1.543e-06/0.371, allocations: 0 / 1.31 GB, free: 14.66 MB / 1.014 GB Notification: Performance of matching and sorting (n=5): time 0.0002459/0.3713, allocations: 81.62 kB / 1.31 GB, free: 14.57 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.3713, allocations: 51.41 kB / 1.31 GB, free: 14.51 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.3714, allocations: 109.8 kB / 1.31 GB, free: 14.39 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.3714, allocations: 25.7 kB / 1.31 GB, free: 14.36 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.766e-05/0.3715, allocations: 96.08 kB / 1.31 GB, free: 14.26 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.875e-05/0.3715, allocations: 7.953 kB / 1.31 GB, free: 14.25 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.381e-05/0.3716, allocations: 13.72 kB / 1.31 GB, free: 14.23 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.3717, allocations: 326.8 kB / 1.311 GB, free: 13.91 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.661e-05/0.3718, allocations: 12 kB / 1.311 GB, free: 13.89 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.814e-05/0.3718, allocations: 12 kB / 1.311 GB, free: 13.88 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.82e-05/0.3719, allocations: 37.22 kB / 1.311 GB, free: 13.84 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3719, allocations: 4 kB / 1.311 GB, free: 13.84 MB / 1.014 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001274/0.372, allocations: 73.56 kB / 1.311 GB, free: 13.76 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.372, allocations: 4 kB / 1.311 GB, free: 13.76 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.372, allocations: 0 / 1.311 GB, free: 13.76 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.372, allocations: 0 / 1.311 GB, free: 13.76 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.882e-05/0.3721, allocations: 11.94 kB / 1.311 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.952e-06/0.3721, allocations: 0 / 1.311 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.104e-05/0.3722, allocations: 11.98 kB / 1.311 GB, free: 13.73 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.3722, allocations: 0 / 1.311 GB, free: 13.73 MB / 1.014 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 0.0001222/0.3723, allocations: 121.4 kB / 1.311 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.656e-05/0.3723, allocations: 7.953 kB / 1.311 GB, free: 13.6 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.663e-05/0.3724, allocations: 4.062 kB / 1.311 GB, free: 13.59 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3724, allocations: 0 / 1.311 GB, free: 13.59 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.3724, allocations: 0 / 1.311 GB, free: 13.59 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.3724, allocations: 0 / 1.311 GB, free: 13.59 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.3725, allocations: 152.6 kB / 1.311 GB, free: 13.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3725, allocations: 4 kB / 1.311 GB, free: 13.4 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.274e-05/0.3726, allocations: 7.938 kB / 1.311 GB, free: 13.39 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3726, allocations: 0 / 1.311 GB, free: 13.39 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.3726, allocations: 4 kB / 1.311 GB, free: 13.39 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.3726, allocations: 0 / 1.311 GB, free: 13.39 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.3726, allocations: 3.984 kB / 1.311 GB, free: 13.38 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001674/0.3728, allocations: 97.05 kB / 1.311 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.719e-05/0.3728, allocations: 11.89 kB / 1.311 GB, free: 13.26 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.3728, allocations: 4 kB / 1.311 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.639e-05/0.3729, allocations: 8.109 kB / 1.311 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.418e-05/0.3729, allocations: 0 / 1.311 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.3729, allocations: 8 kB / 1.311 GB, free: 13.24 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.845e-05/0.373, allocations: 95.25 kB / 1.311 GB, free: 13.14 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.373, allocations: 0 / 1.311 GB, free: 13.14 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001981/0.3732, allocations: 12 kB / 1.311 GB, free: 13.13 MB / 1.014 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.0001312/0.3733, allocations: 99.98 kB / 1.311 GB, free: 13.03 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001367/0.3735, allocations: 39.92 kB / 1.311 GB, free: 12.99 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3735, allocations: 0 / 1.311 GB, free: 12.99 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 4.983e-05/0.3735, allocations: 19.98 kB / 1.311 GB, free: 12.97 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001894/0.3737, allocations: 6.344 kB / 1.311 GB, free: 12.96 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004405/0.3741, allocations: 134.1 kB / 1.312 GB, free: 12.81 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003924/0.3745, allocations: 0.6846 MB / 1.312 GB, free: 12.1 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.335e-05/0.3746, allocations: 4 kB / 1.312 GB, free: 12.09 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.761e-05/0.3746, allocations: 15.44 kB / 1.312 GB, free: 12.08 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/0.3746, allocations: 0 / 1.312 GB, free: 12.08 MB / 1.014 GB Notification: Performance of Templates: time 0.00357/0.3782, allocations: 0.5756 MB / 1.313 GB, free: 11.51 MB / 1.014 GB " [Timeout remaining time 300] 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 -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/jenkins/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.345723949372768]