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.0007019/0.0007019, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009828/0.001685, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006889/0.0006889, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008767/0.001566, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9327/0.9327, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1169/1.05, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.926/1.926, allocations: 378.4 MB / 0.6079 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5161/2.443, allocations: 123.3 MB / 0.7283 GB, free: 5.738 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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 3.246e-06/3.246e-06, allocations: 3.984 kB / 0.7297 GB, free: 4.41 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.312e-05/2.637e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.406 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.00298/0.003006, allocations: 1.594 MB / 0.7312 GB, free: 2.836 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0007902/0.003796, allocations: 0.4906 MB / 0.7317 GB, free: 2.348 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.003e-05/0.003836, allocations: 0 / 0.7317 GB, free: 2.348 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.819e-05/0.003874, allocations: 3.938 kB / 0.7317 GB, free: 2.344 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001844/0.004059, allocations: 21.92 kB / 0.7317 GB, free: 2.328 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 8.16e-05/0.00414, allocations: 19.97 kB / 0.7317 GB, free: 2.309 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000123/0.004264, allocations: 60.61 kB / 0.7318 GB, free: 2.262 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.38e-05/0.004357, allocations: 3.984 kB / 0.7318 GB, free: 2.258 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002553/0.004613, allocations: 55.56 kB / 0.7319 GB, free: 2.207 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.004726, allocations: 22.36 kB / 0.7319 GB, free: 2.188 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.285e-05/0.004749, allocations: 4 kB / 0.7319 GB, free: 2.184 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.485e-05/0.004764, allocations: 8 kB / 0.7319 GB, free: 2.176 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.551e-05/0.004789, allocations: 8.641 kB / 0.7319 GB, free: 2.168 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.267e-05/0.004842, allocations: 16.62 kB / 0.7319 GB, free: 2.152 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001344/0.004976, allocations: 31.91 kB / 0.732 GB, free: 2.121 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.654e-05/0.004993, allocations: 0.5 kB / 0.732 GB, free: 2.121 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.372e-06/0.004994, allocations: 0.5938 kB / 0.732 GB, free: 2.121 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.813e-05/0.005012, allocations: 0 / 0.732 GB, free: 2.121 MB / 0.698 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.0006094/0.005622, allocations: 257.2 kB / 0.7322 GB, free: 1.848 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.005663, allocations: 8.656 kB / 0.7322 GB, free: 1.84 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.364e-05/0.005706, allocations: 4.938 kB / 0.7322 GB, free: 1.836 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.005826, allocations: 126.7 kB / 0.7323 GB, free: 1.688 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.005843, allocations: 4.359 kB / 0.7323 GB, free: 1.684 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.005859, allocations: 4.375 kB / 0.7323 GB, free: 1.68 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.005991, allocations: 55.95 kB / 0.7324 GB, free: 1.617 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.006, allocations: 4.125 kB / 0.7324 GB, free: 1.613 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.006009, allocations: 6.078 kB / 0.7324 GB, free: 1.609 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/0.006017, allocations: 7.938 kB / 0.7324 GB, free: 1.602 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.172e-05/0.006049, allocations: 4 kB / 0.7324 GB, free: 1.598 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003421/0.006391, allocations: 172.2 kB / 0.7326 GB, free: 1.414 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.006492, allocations: 39.38 kB / 0.7326 GB, free: 1.367 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.625e-05/0.006518, allocations: 16.84 kB / 0.7326 GB, free: 1.348 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.454e-06/0.006525, allocations: 0.5 kB / 0.7326 GB, free: 1.348 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001302/0.006656, allocations: 65.27 kB / 0.7327 GB, free: 1.273 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 2.675e-06/0.006658, allocations: 0 / 0.7327 GB, free: 1.273 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0001396/0.006798, allocations: 57.56 kB / 0.7327 GB, free: 1.211 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.006843, allocations: 59.39 kB / 0.7328 GB, free: 1.141 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.62e-05/0.006919, allocations: 111.6 kB / 0.7329 GB, free: 1.02 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.006933, allocations: 25.7 kB / 0.7329 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.471e-05/0.006968, allocations: 92.08 kB / 0.733 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/0.006998, allocations: 20.89 kB / 0.733 GB, free: 0.875 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.514e-05/0.007033, allocations: 21.7 kB / 0.7331 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.1e-05/0.007124, allocations: 316.6 kB / 0.7334 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.076e-05/0.007145, allocations: 8 kB / 0.7334 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.693e-05/0.007162, allocations: 7.984 kB / 0.7334 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.282e-05/0.007215, allocations: 32.78 kB / 0.7334 GB, free: 492 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.007217, allocations: 0 / 0.7334 GB, free: 492 kB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.737e-05/0.007304, allocations: 54.86 kB / 0.7335 GB, free: 432 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.007321, allocations: 9.031 kB / 0.7335 GB, free: 424 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.007325, allocations: 0 / 0.7335 GB, free: 424 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.00734, allocations: 0.6562 kB / 0.7335 GB, free: 424 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.393e-05/0.007434, allocations: 15.98 kB / 0.7335 GB, free: 408 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.896e-06/0.007437, allocations: 1.125 kB / 0.7335 GB, free: 408 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.054e-05/0.007478, allocations: 4 kB / 0.7335 GB, free: 404 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.007486, allocations: 0 / 0.7335 GB, free: 404 kB / 0.698 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 7.104e-05/0.007557, allocations: 118.4 kB / 0.7336 GB, free: 276 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.414e-05/0.007571, allocations: 8.516 kB / 0.7336 GB, free: 268 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.135e-05/0.007602, allocations: 13.31 kB / 0.7336 GB, free: 252 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.007604, allocations: 0 / 0.7336 GB, free: 252 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.007606, allocations: 0 / 0.7336 GB, free: 252 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.007609, allocations: 0.5312 kB / 0.7336 GB, free: 252 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.624e-05/0.007695, allocations: 79.38 kB / 0.7337 GB, free: 156 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.007699, allocations: 4 kB / 0.7337 GB, free: 152 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.047e-05/0.007729, allocations: 4 kB / 0.7337 GB, free: 148 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.237e-05/0.007741, allocations: 3.953 kB / 0.7337 GB, free: 144 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.007745, allocations: 5.219 kB / 0.7337 GB, free: 140 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-06/0.007754, allocations: 7.922 kB / 0.7337 GB, free: 132 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.007756, allocations: 256 / 0.7337 GB, free: 132 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.007759, allocations: 4.547 kB / 0.7337 GB, free: 128 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.007871, allocations: 78.19 kB / 0.7338 GB, free: 32 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.00789, allocations: 0 / 0.7338 GB, free: 32 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.456e-05/0.007934, allocations: 3.984 kB / 0.7338 GB, free: 28 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.244e-05/0.007967, allocations: 12.88 kB / 0.7338 GB, free: 16 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.007973, allocations: 0 / 0.7338 GB, free: 16 kB / 0.698 GB Notification: Performance of sorting global known variables: time 4.372e-05/0.008017, allocations: 21.58 kB / 0.7338 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.008017, allocations: 0 / 0.7338 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001589/0.008176, allocations: 8.75 kB / 0.7339 GB, free: 15.98 MB / 0.7136 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.0001445/0.008321, allocations: 85.23 kB / 0.7339 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001062/0.008427, allocations: 32.83 kB / 0.734 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.787e-06/0.008436, allocations: 1.375 kB / 0.734 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.762e-05/0.008483, allocations: 28.72 kB / 0.734 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001338/0.008617, allocations: 16.02 kB / 0.734 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001604/0.01022, allocations: 162.8 kB / 0.7342 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.564e-05/0.01026, allocations: 55.36 kB / 0.7342 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.209e-05/0.01029, allocations: 0 / 0.7342 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.122e-05/0.01035, allocations: 64.61 kB / 0.7343 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of SimCode: time 6.11e-07/0.01035, allocations: 0 / 0.7343 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of Templates: time 0.002945/0.0133, allocations: 0.6404 MB / 0.7349 GB, free: 14.88 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.907638453878462]