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.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.00136/0.00136, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001565/0.001565, allocations: 215.4 kB / 23.01 MB, free: 4.57 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.514/1.514, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.328/3.328, allocations: 0.505 GB / 0.8108 GB, free: 22 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 75.34 kB / 1.178 GB, free: 16.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.357, allocations: 180.2 MB / 1.354 GB, free: 7.918 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002677/0.3597, allocations: 1.515 MB / 1.356 GB, free: 6.395 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0009231/0.3606, allocations: 0.4987 MB / 1.356 GB, free: 5.891 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.159e-05/0.3606, allocations: 0 / 1.356 GB, free: 5.891 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.641e-05/0.3607, allocations: 3.938 kB / 1.356 GB, free: 5.887 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002255/0.3609, allocations: 32.58 kB / 1.356 GB, free: 5.855 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 7.945e-05/0.361, allocations: 19.91 kB / 1.356 GB, free: 5.836 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.3611, allocations: 59.78 kB / 1.356 GB, free: 5.777 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.801e-05/0.3612, allocations: 7.938 kB / 1.356 GB, free: 5.77 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.3613, allocations: 31.86 kB / 1.356 GB, free: 5.738 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.092e-05/0.3614, allocations: 19.91 kB / 1.356 GB, free: 5.719 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.3614, allocations: 4 kB / 1.356 GB, free: 5.715 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.307e-05/0.3614, allocations: 4 kB / 1.356 GB, free: 5.711 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.396e-05/0.3615, allocations: 15.98 kB / 1.356 GB, free: 5.695 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.224e-05/0.3615, allocations: 23.86 kB / 1.356 GB, free: 5.672 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 9.519e-05/0.3616, allocations: 39.88 kB / 1.356 GB, free: 5.633 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3616, allocations: 0 / 1.356 GB, free: 5.633 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3616, allocations: 0 / 1.356 GB, free: 5.633 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.3616, allocations: 0 / 1.356 GB, free: 5.633 MB / 1.045 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.0005436/0.3621, allocations: 282.2 kB / 1.357 GB, free: 5.328 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.3622, allocations: 8.031 kB / 1.357 GB, free: 5.32 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.521e-05/0.3622, allocations: 8.922 kB / 1.357 GB, free: 5.312 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.3623, allocations: 118.4 kB / 1.357 GB, free: 5.172 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.3624, allocations: 4.375 kB / 1.357 GB, free: 5.168 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.3624, allocations: 4.375 kB / 1.357 GB, free: 5.164 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.3625, allocations: 53.98 kB / 1.357 GB, free: 5.105 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.3625, allocations: 0 / 1.357 GB, free: 5.105 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.3625, allocations: 4 kB / 1.357 GB, free: 5.102 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.3625, allocations: 3.938 kB / 1.357 GB, free: 5.098 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.875e-05/0.3626, allocations: 16 kB / 1.357 GB, free: 5.082 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003684/0.3629, allocations: 251.9 kB / 1.357 GB, free: 4.793 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.363, allocations: 42.56 kB / 1.357 GB, free: 4.742 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.404e-05/0.3631, allocations: 20.94 kB / 1.357 GB, free: 4.719 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.037e-05/0.3631, allocations: 0 / 1.357 GB, free: 4.719 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001582/0.3633, allocations: 67.33 kB / 1.357 GB, free: 4.641 MB / 1.045 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.3633, allocations: 0 / 1.357 GB, free: 4.641 MB / 1.045 GB Notification: Performance of matching and sorting (n=5): time 0.0002205/0.3635, allocations: 89.58 kB / 1.357 GB, free: 4.547 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.3635, allocations: 51.41 kB / 1.357 GB, free: 4.484 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.3636, allocations: 113.8 kB / 1.357 GB, free: 4.363 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.3636, allocations: 25.7 kB / 1.357 GB, free: 4.332 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.011e-05/0.3637, allocations: 84.12 kB / 1.357 GB, free: 4.246 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.3637, allocations: 15.91 kB / 1.358 GB, free: 4.23 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.771e-05/0.3638, allocations: 17.72 kB / 1.358 GB, free: 4.207 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.3639, allocations: 318.8 kB / 1.358 GB, free: 3.887 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.269e-05/0.3639, allocations: 16 kB / 1.358 GB, free: 3.871 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.942e-05/0.364, allocations: 15.98 kB / 1.358 GB, free: 3.855 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.176e-05/0.364, allocations: 32.8 kB / 1.358 GB, free: 3.82 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.364, allocations: 0 / 1.358 GB, free: 3.82 MB / 1.045 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001121/0.3641, allocations: 65.64 kB / 1.358 GB, free: 3.75 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.3642, allocations: 8 kB / 1.358 GB, free: 3.742 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.3642, allocations: 0 / 1.358 GB, free: 3.742 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.3642, allocations: 0 / 1.358 GB, free: 3.742 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.099e-05/0.3642, allocations: 8 kB / 1.358 GB, free: 3.734 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.3642, allocations: 0 / 1.358 GB, free: 3.734 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.302e-05/0.3643, allocations: 7.984 kB / 1.358 GB, free: 3.727 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.3643, allocations: 4.438 kB / 1.358 GB, free: 3.723 MB / 1.045 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.017e-05/0.3644, allocations: 113.8 kB / 1.358 GB, free: 3.602 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.276e-05/0.3644, allocations: 7.953 kB / 1.358 GB, free: 3.594 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.43e-05/0.3644, allocations: 8.062 kB / 1.358 GB, free: 3.586 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.3644, allocations: 3.938 kB / 1.358 GB, free: 3.582 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3645, allocations: 8 kB / 1.358 GB, free: 3.574 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.3645, allocations: 0 / 1.358 GB, free: 3.574 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.3646, allocations: 152.6 kB / 1.358 GB, free: 3.383 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3646, allocations: 4 kB / 1.358 GB, free: 3.379 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.817e-05/0.3646, allocations: 4 kB / 1.358 GB, free: 3.375 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3646, allocations: 0 / 1.358 GB, free: 3.375 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.3646, allocations: 4 kB / 1.358 GB, free: 3.371 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3646, allocations: 0 / 1.358 GB, free: 3.371 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3646, allocations: 0 / 1.358 GB, free: 3.371 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001464/0.3648, allocations: 104.9 kB / 1.358 GB, free: 3.25 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.702e-05/0.3648, allocations: 11.94 kB / 1.358 GB, free: 3.238 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.3648, allocations: 4 kB / 1.358 GB, free: 3.234 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.998e-05/0.3649, allocations: 3.984 kB / 1.358 GB, free: 3.23 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.977e-05/0.3649, allocations: 4 kB / 1.358 GB, free: 3.227 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.3649, allocations: 4 kB / 1.358 GB, free: 3.223 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.734e-05/0.365, allocations: 95.2 kB / 1.358 GB, free: 3.129 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.365, allocations: 0 / 1.358 GB, free: 3.129 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001903/0.3652, allocations: 8 kB / 1.359 GB, free: 3.121 MB / 1.045 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.000128/0.3653, allocations: 95.25 kB / 1.359 GB, free: 3.02 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001339/0.3654, allocations: 43.92 kB / 1.359 GB, free: 2.977 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3654, allocations: 0 / 1.359 GB, free: 2.977 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5.442e-05/0.3655, allocations: 23.92 kB / 1.359 GB, free: 2.953 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001605/0.3657, allocations: 6 kB / 1.359 GB, free: 2.949 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003421/0.366, allocations: 156.6 kB / 1.359 GB, free: 2.762 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.3663, allocations: 0.6846 MB / 1.359 GB, free: 2.051 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.285e-05/0.3663, allocations: 11.44 kB / 1.359 GB, free: 2.039 MB / 1.045 GB Notification: Performance of SimCode: time 3.21e-07/0.3663, allocations: 4 kB / 1.359 GB, free: 2.035 MB / 1.045 GB Notification: Performance of Templates: time 0.002322/0.3687, allocations: 0.7415 MB / 1.36 GB, free: 1.297 MB / 1.045 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/jenkins1/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: 11.298309937003069]