Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001591/0.001591, allocations: 114.2 kB / 17.08 MB, free: 6.012 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.001596/0.001596, allocations: 193.2 kB / 20.03 MB, free: 3.082 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.463/1.463, allocations: 222.9 MB / 245.7 MB, free: 4.234 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.712/2.712, allocations: 437 MB / 0.7177 GB, free: 4.551 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 67.89 kB / 1.028 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3248, allocations: 151.6 MB / 1.176 GB, free: 5.949 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002601/0.3274, allocations: 1.493 MB / 1.177 GB, free: 4.438 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0007986/0.3282, allocations: 462.9 kB / 1.178 GB, free: 3.98 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.997e-05/0.3283, allocations: 4 kB / 1.178 GB, free: 3.977 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.011e-05/0.3283, allocations: 7.922 kB / 1.178 GB, free: 3.969 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002174/0.3285, allocations: 23.84 kB / 1.178 GB, free: 3.945 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 7.35e-05/0.3286, allocations: 15.92 kB / 1.178 GB, free: 3.93 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.716e-05/0.3287, allocations: 43.86 kB / 1.178 GB, free: 3.887 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.61e-05/0.3288, allocations: 27.89 kB / 1.178 GB, free: 3.859 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.465e-05/0.3289, allocations: 23.88 kB / 1.178 GB, free: 3.836 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.877e-05/0.329, allocations: 27.91 kB / 1.178 GB, free: 3.809 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.329, allocations: 4 kB / 1.178 GB, free: 3.805 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.226e-05/0.329, allocations: 0 / 1.178 GB, free: 3.805 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.38e-05/0.3291, allocations: 11.94 kB / 1.178 GB, free: 3.793 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.847e-05/0.3291, allocations: 27.91 kB / 1.178 GB, free: 3.766 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.547e-05/0.3292, allocations: 35.83 kB / 1.178 GB, free: 3.73 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.3292, allocations: 4 kB / 1.178 GB, free: 3.727 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.183e-06/0.3292, allocations: 0 / 1.178 GB, free: 3.727 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.3292, allocations: 0 / 1.178 GB, free: 3.727 MB / 0.92 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.0005483/0.3298, allocations: 359.3 kB / 1.178 GB, free: 3.328 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.3298, allocations: 8.031 kB / 1.178 GB, free: 3.32 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.088e-05/0.3299, allocations: 4.938 kB / 1.178 GB, free: 3.316 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.33, allocations: 176.3 kB / 1.179 GB, free: 3.105 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.3301, allocations: 384 / 1.179 GB, free: 3.105 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.3301, allocations: 8.359 kB / 1.179 GB, free: 3.098 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.3302, allocations: 50 kB / 1.179 GB, free: 3.043 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.3302, allocations: 0 / 1.179 GB, free: 3.043 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.3302, allocations: 4 kB / 1.179 GB, free: 3.039 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.3302, allocations: 0 / 1.179 GB, free: 3.039 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.818e-05/0.3303, allocations: 23.98 kB / 1.179 GB, free: 3.016 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000378/0.3307, allocations: 272.8 kB / 1.179 GB, free: 2.699 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.3308, allocations: 50.5 kB / 1.179 GB, free: 2.641 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.429e-05/0.3308, allocations: 20.86 kB / 1.179 GB, free: 2.617 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.414e-06/0.3309, allocations: 0 / 1.179 GB, free: 2.617 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001586/0.331, allocations: 71.44 kB / 1.179 GB, free: 2.535 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 1.343e-06/0.331, allocations: 3.938 kB / 1.179 GB, free: 2.531 MB / 0.92 GB Notification: Performance of matching and sorting (n=5): time 0.0002431/0.3313, allocations: 81.8 kB / 1.179 GB, free: 2.445 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.3313, allocations: 51.41 kB / 1.179 GB, free: 2.383 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.3314, allocations: 109.8 kB / 1.179 GB, free: 2.266 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.3315, allocations: 29.7 kB / 1.179 GB, free: 2.23 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.345e-05/0.3315, allocations: 84.14 kB / 1.179 GB, free: 2.145 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.426e-05/0.3316, allocations: 15.89 kB / 1.179 GB, free: 2.129 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.249e-05/0.3316, allocations: 21.72 kB / 1.179 GB, free: 2.102 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.3318, allocations: 318.8 kB / 1.18 GB, free: 1.781 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.388e-05/0.3318, allocations: 12.05 kB / 1.18 GB, free: 1.77 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.999e-05/0.3318, allocations: 16 kB / 1.18 GB, free: 1.754 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.137e-05/0.3319, allocations: 28.86 kB / 1.18 GB, free: 1.723 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.3319, allocations: 4 kB / 1.18 GB, free: 1.719 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001142/0.332, allocations: 69.58 kB / 1.18 GB, free: 1.645 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.332, allocations: 6.344 kB / 1.18 GB, free: 1.641 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.3321, allocations: 3.938 kB / 1.18 GB, free: 1.637 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.3321, allocations: 7.984 kB / 1.18 GB, free: 1.629 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.659e-05/0.3322, allocations: 8 kB / 1.18 GB, free: 1.621 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.3322, allocations: 0 / 1.18 GB, free: 1.621 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.882e-05/0.3322, allocations: 4 kB / 1.18 GB, free: 1.617 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.3322, allocations: 0 / 1.18 GB, free: 1.617 MB / 0.92 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 9.745e-05/0.3323, allocations: 121.8 kB / 1.18 GB, free: 1.488 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.543e-05/0.3324, allocations: 7.953 kB / 1.18 GB, free: 1.48 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.463e-05/0.3324, allocations: 7.969 kB / 1.18 GB, free: 1.469 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3324, allocations: 0 / 1.18 GB, free: 1.469 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.3324, allocations: 4 kB / 1.18 GB, free: 1.465 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.3324, allocations: 0 / 1.18 GB, free: 1.465 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001575/0.3326, allocations: 181.5 kB / 1.18 GB, free: 1.238 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3326, allocations: 0 / 1.18 GB, free: 1.238 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.783e-05/0.3326, allocations: 4 kB / 1.18 GB, free: 1.234 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.3326, allocations: 0 / 1.18 GB, free: 1.234 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.3326, allocations: 0 / 1.18 GB, free: 1.234 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3326, allocations: 192 / 1.18 GB, free: 1.234 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3327, allocations: 0 / 1.18 GB, free: 1.234 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001507/0.3328, allocations: 105 kB / 1.18 GB, free: 1.113 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.541e-05/0.3329, allocations: 92.98 kB / 1.18 GB, free: 1.004 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.3329, allocations: 0 / 1.18 GB, free: 1.004 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.775e-05/0.333, allocations: 4 kB / 1.18 GB, free: 1 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.306e-05/0.333, allocations: 3.984 kB / 1.18 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.333, allocations: 4 kB / 1.18 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.083e-05/0.3331, allocations: 91.27 kB / 1.18 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.064e-06/0.3331, allocations: 0 / 1.18 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001883/0.3333, allocations: 19.88 kB / 1.18 GB, free: 0.8828 MB / 0.92 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.0001117/0.3334, allocations: 103.2 kB / 1.181 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001241/0.3335, allocations: 39.92 kB / 1.181 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.3335, allocations: 0 / 1.181 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 4.534e-05/0.3336, allocations: 19.94 kB / 1.181 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/0.3337, allocations: 2.234 kB / 1.181 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003231/0.3341, allocations: 166 kB / 1.181 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/0.3344, allocations: 0.6885 MB / 1.181 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.296e-05/0.3344, allocations: 7.438 kB / 1.181 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of SimCode: time 2.8e-07/0.3344, allocations: 3.938 kB / 1.181 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of Templates: time 0.002171/0.3366, allocations: 0.7422 MB / 1.182 GB, free: 15.06 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile [Timeout 300] (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.266066982061602]