Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001653/0.001653, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001992/0.001992, allocations: 194.7 kB / 22.17 MB, free: 5.656 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.518/1.518, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.736/2.736, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002067/0.002067, allocations: 63.89 kB / 1.109 GB, free: 6.508 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7465/0.7486, allocations: 168.7 MB / 1.274 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.003044/0.7517, allocations: 1.492 MB / 1.276 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009085/0.7526, allocations: 480.4 kB / 1.276 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.457e-05/0.7526, allocations: 8 kB / 1.276 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.461e-05/0.7526, allocations: 7.922 kB / 1.276 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002464/0.7529, allocations: 19.84 kB / 1.276 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 8.38e-05/0.753, allocations: 15.98 kB / 1.276 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.7531, allocations: 51.8 kB / 1.276 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.471e-05/0.7532, allocations: 7.984 kB / 1.276 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.7533, allocations: 23.92 kB / 1.276 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.055e-05/0.7534, allocations: 23.91 kB / 1.276 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.307e-05/0.7534, allocations: 8 kB / 1.276 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.314e-05/0.7534, allocations: 4 kB / 1.276 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.797e-05/0.7534, allocations: 11.88 kB / 1.276 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.364e-05/0.7535, allocations: 23.91 kB / 1.276 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001089/0.7536, allocations: 39.69 kB / 1.276 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.7536, allocations: 3.938 kB / 1.276 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7536, allocations: 0 / 1.276 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.7536, allocations: 0 / 1.276 GB, free: 2.195 MB / 0.9669 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.0007044/0.7543, allocations: 362.1 kB / 1.277 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.7543, allocations: 12.03 kB / 1.277 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.673e-05/0.7544, allocations: 8.891 kB / 1.277 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.7546, allocations: 168.3 kB / 1.277 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.7546, allocations: 4.375 kB / 1.277 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.7546, allocations: 4.359 kB / 1.277 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.7547, allocations: 54 kB / 1.277 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.7548, allocations: 3.938 kB / 1.277 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.7548, allocations: 0 / 1.277 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.7548, allocations: 0 / 1.277 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.234e-05/0.7548, allocations: 19.98 kB / 1.277 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004573/0.7553, allocations: 280.8 kB / 1.277 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.7554, allocations: 38.56 kB / 1.277 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.785e-05/0.7555, allocations: 24.78 kB / 1.277 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.7555, allocations: 4 kB / 1.277 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001643/0.7556, allocations: 71.48 kB / 1.277 GB, free: 1 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.7556, allocations: 0 / 1.277 GB, free: 1 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.000232/0.7559, allocations: 77.67 kB / 1.277 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/0.7559, allocations: 51.41 kB / 1.277 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.756, allocations: 121.8 kB / 1.277 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.756, allocations: 25.7 kB / 1.277 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.863e-05/0.7561, allocations: 92.08 kB / 1.278 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.405e-05/0.7561, allocations: 11.89 kB / 1.278 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.849e-05/0.7562, allocations: 17.72 kB / 1.278 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.7563, allocations: 326.8 kB / 1.278 GB, free: 244 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.251e-05/0.7564, allocations: 11.98 kB / 1.278 GB, free: 232 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.684e-05/0.7564, allocations: 12 kB / 1.278 GB, free: 220 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.624e-05/0.7564, allocations: 24.86 kB / 1.278 GB, free: 192 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.7564, allocations: 0 / 1.278 GB, free: 192 kB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001131/0.7566, allocations: 69.64 kB / 1.278 GB, free: 116 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.7566, allocations: 4 kB / 1.278 GB, free: 112 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.7566, allocations: 0 / 1.278 GB, free: 112 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.7566, allocations: 7.875 kB / 1.278 GB, free: 104 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.346e-05/0.7567, allocations: 15.98 kB / 1.278 GB, free: 88 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.7567, allocations: 0 / 1.278 GB, free: 88 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.299e-05/0.7567, allocations: 7.938 kB / 1.278 GB, free: 80 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.7567, allocations: 0 / 1.278 GB, free: 80 kB / 0.9669 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.000117/0.7568, allocations: 121.8 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.366e-05/0.7569, allocations: 3.953 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.684e-05/0.7569, allocations: 11.97 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.7569, allocations: 0 / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.7569, allocations: 448 / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.7569, allocations: 4 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.7571, allocations: 173.6 kB / 1.278 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.7571, allocations: 4 kB / 1.278 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.911e-05/0.7571, allocations: 8 kB / 1.278 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.7571, allocations: 0 / 1.278 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.7571, allocations: 0 / 1.278 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.7571, allocations: 0 / 1.278 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.7571, allocations: 0 / 1.278 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001537/0.7572, allocations: 105 kB / 1.278 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.293e-05/0.7573, allocations: 85.06 kB / 1.279 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.7573, allocations: 0 / 1.279 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.03e-05/0.7574, allocations: 4 kB / 1.279 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.492e-05/0.7574, allocations: 3.984 kB / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.7574, allocations: 8 kB / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.833e-05/0.7575, allocations: 87.27 kB / 1.279 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.7575, allocations: 0 / 1.279 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001922/0.7577, allocations: 12 kB / 1.279 GB, free: 15.36 MB / 0.9825 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.0001366/0.7578, allocations: 103.8 kB / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001338/0.758, allocations: 39.86 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.758, allocations: 0 / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.789e-05/0.758, allocations: 16 kB / 1.279 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001493/0.7582, allocations: 7.875 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003508/0.7585, allocations: 145.9 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.7589, allocations: 0.6846 MB / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.753e-05/0.7589, allocations: 4 kB / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.339e-05/0.7589, allocations: 15.42 kB / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.7589, allocations: 7.875 kB / 1.28 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of Templates: time 0.002993/0.7619, allocations: 0.5652 MB / 1.28 GB, free: 13.73 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.45972003787756]