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.001348/0.001348, allocations: 105.6 kB / 16.45 MB, free: 6.023 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.001485/0.001485, allocations: 198.8 kB / 19.41 MB, free: 3.531 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.51/1.51, allocations: 225.6 MB / 247.8 MB, free: 13.9 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.907/2.907, allocations: 476.7 MB / 0.7611 GB, free: 11.32 MB / 0.6231 GB " [Timeout remaining time 176] 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.001995/0.001995, allocations: 75.88 kB / 1.104 GB, free: 8.734 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9771/0.9791, allocations: 168.7 MB / 1.269 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.003105/0.9822, allocations: 1.484 MB / 1.271 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009355/0.9831, allocations: 480.4 kB / 1.271 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.427e-05/0.9832, allocations: 0 / 1.271 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.72e-05/0.9832, allocations: 11.92 kB / 1.271 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002711/0.9835, allocations: 27.84 kB / 1.271 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 9.713e-05/0.9836, allocations: 15.92 kB / 1.271 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.9837, allocations: 55.84 kB / 1.271 GB, free: 3.266 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.9838, allocations: 7.938 kB / 1.271 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.9839, allocations: 19.92 kB / 1.271 GB, free: 3.238 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.984, allocations: 27.91 kB / 1.271 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.984, allocations: 4 kB / 1.271 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.39e-05/0.984, allocations: 7.938 kB / 1.271 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.531e-05/0.9841, allocations: 11.98 kB / 1.271 GB, free: 3.188 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.597e-05/0.9841, allocations: 19.92 kB / 1.271 GB, free: 3.168 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001193/0.9842, allocations: 43.62 kB / 1.271 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.9842, allocations: 0 / 1.271 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.503e-06/0.9842, allocations: 0 / 1.271 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.9843, allocations: 0 / 1.271 GB, free: 3.129 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.0006505/0.9849, allocations: 358.1 kB / 1.272 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.9849, allocations: 12.03 kB / 1.272 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.977e-05/0.985, allocations: 4.891 kB / 1.272 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/0.9852, allocations: 176.3 kB / 1.272 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.9852, allocations: 4.375 kB / 1.272 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.9852, allocations: 4.375 kB / 1.272 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.9853, allocations: 57.92 kB / 1.272 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.9854, allocations: 0 / 1.272 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.9854, allocations: 0 / 1.272 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.9854, allocations: 0 / 1.272 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.529e-05/0.9854, allocations: 23.98 kB / 1.272 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004434/0.9859, allocations: 272.9 kB / 1.272 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.986, allocations: 50.48 kB / 1.272 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.537e-05/0.9861, allocations: 16.86 kB / 1.272 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.9861, allocations: 0 / 1.272 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002064/0.9863, allocations: 63.48 kB / 1.272 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.9863, allocations: 0 / 1.272 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.0002894/0.9866, allocations: 89.61 kB / 1.272 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.43e-05/0.9866, allocations: 55.34 kB / 1.273 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.9867, allocations: 109.8 kB / 1.273 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.9868, allocations: 29.7 kB / 1.273 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.117e-05/0.9868, allocations: 80.14 kB / 1.273 GB, free: 1.551 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.101e-05/0.9868, allocations: 19.89 kB / 1.273 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.996e-05/0.9869, allocations: 17.72 kB / 1.273 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001795/0.9871, allocations: 314.8 kB / 1.273 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.831e-05/0.9871, allocations: 19.98 kB / 1.273 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.803e-05/0.9871, allocations: 12 kB / 1.273 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.861e-05/0.9872, allocations: 33.23 kB / 1.273 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.9872, allocations: 0 / 1.273 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001298/0.9873, allocations: 73.52 kB / 1.273 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.9874, allocations: 8 kB / 1.273 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.321e-06/0.9874, allocations: 0 / 1.273 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.9874, allocations: 0 / 1.273 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.191e-05/0.9875, allocations: 11.98 kB / 1.273 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.9875, allocations: 0 / 1.273 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.877e-05/0.9875, allocations: 7.938 kB / 1.273 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.9875, allocations: 4 kB / 1.273 GB, free: 1.016 MB / 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.0001024/0.9876, allocations: 117.8 kB / 1.273 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.357e-05/0.9877, allocations: 7.953 kB / 1.273 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.149e-05/0.9877, allocations: 7.969 kB / 1.273 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.9877, allocations: 4 kB / 1.273 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.9877, allocations: 0 / 1.273 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.9877, allocations: 0 / 1.273 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.9879, allocations: 169.6 kB / 1.274 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.9879, allocations: 7.984 kB / 1.274 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.983e-05/0.9879, allocations: 7.938 kB / 1.274 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.9879, allocations: 0 / 1.274 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.9879, allocations: 4 kB / 1.274 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.9879, allocations: 0 / 1.274 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.9879, allocations: 0 / 1.274 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001622/0.9881, allocations: 97.05 kB / 1.274 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.363e-05/0.9881, allocations: 81.06 kB / 1.274 GB, free: 424 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.9881, allocations: 8.125 kB / 1.274 GB, free: 416 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.616e-05/0.9882, allocations: 4 kB / 1.274 GB, free: 412 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.473e-05/0.9882, allocations: 7.984 kB / 1.274 GB, free: 404 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.9883, allocations: 0 / 1.274 GB, free: 404 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.788e-05/0.9883, allocations: 95.25 kB / 1.274 GB, free: 308 kB / 0.9669 GB Notification: Performance of sort global known variables: time 6e-08/0.9883, allocations: 0 / 1.274 GB, free: 308 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001906/0.9885, allocations: 12 kB / 1.274 GB, free: 296 kB / 0.9669 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.0001375/0.9887, allocations: 107.7 kB / 1.274 GB, free: 180 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001368/0.9888, allocations: 43.86 kB / 1.274 GB, free: 136 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.9888, allocations: 0 / 1.274 GB, free: 136 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.723e-05/0.9889, allocations: 16 kB / 1.274 GB, free: 120 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001531/0.989, allocations: 4 kB / 1.274 GB, free: 116 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003851/0.9894, allocations: 137.9 kB / 1.274 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.9897, allocations: 0.6845 MB / 1.275 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.99e-05/0.9898, allocations: 7.906 kB / 1.275 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.077e-05/0.9898, allocations: 15.42 kB / 1.275 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.9898, allocations: 0 / 1.275 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of Templates: time 0.003124/0.9929, allocations: 0.5556 MB / 1.275 GB, free: 14.68 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.371136624366045]