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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001988/0.001988, allocations: 98.98 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002455/0.002455, allocations: 193.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 225.6 MB / 250 MB, free: 13.43 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.714/2.714, allocations: 476.7 MB / 0.7634 GB, free: 10.93 MB / 0.6231 GB [Timeout remaining time 87] 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=501,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=501,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.001969/0.001969, allocations: 63.91 kB / 1.108 GB, free: 7.469 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9228/0.9248, allocations: 168.7 MB / 1.272 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.00285/0.9277, allocations: 1.479 MB / 1.274 GB, free: 3.219 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.000867/0.9285, allocations: 488.4 kB / 1.274 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.801e-05/0.9286, allocations: 4 kB / 1.274 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.772e-05/0.9286, allocations: 3.938 kB / 1.274 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002378/0.9288, allocations: 19.84 kB / 1.274 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 7.638e-05/0.9289, allocations: 15.98 kB / 1.274 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.929, allocations: 63.72 kB / 1.274 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.9291, allocations: 11.98 kB / 1.274 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.18e-05/0.9292, allocations: 15.98 kB / 1.274 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.508e-05/0.9293, allocations: 23.86 kB / 1.274 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.9293, allocations: 4 kB / 1.274 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.519e-05/0.9294, allocations: 7.938 kB / 1.274 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.739e-05/0.9294, allocations: 11.98 kB / 1.274 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.417e-05/0.9294, allocations: 23.86 kB / 1.275 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.9295, allocations: 47.61 kB / 1.275 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.9295, allocations: 0 / 1.275 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.472e-06/0.9295, allocations: 4 kB / 1.275 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.78e-06/0.9295, allocations: 0 / 1.275 GB, free: 2.488 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.0006412/0.9302, allocations: 353.9 kB / 1.275 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.9302, allocations: 8.031 kB / 1.275 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.757e-05/0.9303, allocations: 8.891 kB / 1.275 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.9304, allocations: 176.3 kB / 1.275 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.9304, allocations: 384 / 1.275 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.9305, allocations: 384 / 1.275 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.9306, allocations: 58 kB / 1.275 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.9306, allocations: 0 / 1.275 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.9306, allocations: 0 / 1.275 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.9306, allocations: 7.922 kB / 1.275 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.916e-05/0.9307, allocations: 19.98 kB / 1.275 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004099/0.9311, allocations: 276.8 kB / 1.275 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.9312, allocations: 38.56 kB / 1.275 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.956e-05/0.9312, allocations: 24.94 kB / 1.275 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.9313, allocations: 4 kB / 1.275 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001779/0.9314, allocations: 67.33 kB / 1.276 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.9314, allocations: 0 / 1.276 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.0002316/0.9317, allocations: 73.88 kB / 1.276 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.9317, allocations: 51.41 kB / 1.276 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.9318, allocations: 113.8 kB / 1.276 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.9318, allocations: 29.7 kB / 1.276 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.562e-05/0.9319, allocations: 96.06 kB / 1.276 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.9319, allocations: 7.906 kB / 1.276 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.984e-05/0.932, allocations: 17.72 kB / 1.276 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.9321, allocations: 326.8 kB / 1.276 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.026e-05/0.9322, allocations: 8.062 kB / 1.276 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.805e-05/0.9322, allocations: 16 kB / 1.276 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.068e-05/0.9322, allocations: 32.78 kB / 1.276 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.9322, allocations: 0 / 1.276 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001213/0.9324, allocations: 73.64 kB / 1.276 GB, free: 428 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.9324, allocations: 4 kB / 1.276 GB, free: 424 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.9324, allocations: 0 / 1.276 GB, free: 424 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.9324, allocations: 0 / 1.276 GB, free: 424 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.502e-05/0.9325, allocations: 15.88 kB / 1.276 GB, free: 408 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.9325, allocations: 0 / 1.276 GB, free: 408 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.491e-05/0.9325, allocations: 15.92 kB / 1.276 GB, free: 392 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.9326, allocations: 0 / 1.276 GB, free: 392 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 9.631e-05/0.9326, allocations: 113.8 kB / 1.277 GB, free: 268 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.266e-05/0.9327, allocations: 7.953 kB / 1.277 GB, free: 260 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.094e-05/0.9327, allocations: 11.97 kB / 1.277 GB, free: 236 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.9327, allocations: 0 / 1.277 GB, free: 236 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.9327, allocations: 0 / 1.277 GB, free: 236 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.9327, allocations: 0 / 1.277 GB, free: 236 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/0.9329, allocations: 173.6 kB / 1.277 GB, free: 12 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.9329, allocations: 4 kB / 1.277 GB, free: 8 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.691e-05/0.9329, allocations: 4 kB / 1.277 GB, free: 4 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.9329, allocations: 0 / 1.277 GB, free: 4 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.9329, allocations: 0 / 1.277 GB, free: 4 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.9329, allocations: 4.188 kB / 1.277 GB, free: 0 / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.9329, allocations: 0 / 1.277 GB, free: 0 / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001854/0.9331, allocations: 105 kB / 1.277 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.782e-05/0.9331, allocations: 85.06 kB / 1.277 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.9332, allocations: 0 / 1.277 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.899e-05/0.9332, allocations: 7.984 kB / 1.277 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.936e-05/0.9333, allocations: 4 kB / 1.277 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.9333, allocations: 4 kB / 1.277 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.844e-05/0.9333, allocations: 91.58 kB / 1.277 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.9333, allocations: 0 / 1.277 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001826/0.9335, allocations: 12 kB / 1.277 GB, free: 15.66 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.0001337/0.9337, allocations: 99.78 kB / 1.277 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001473/0.9338, allocations: 39.86 kB / 1.277 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.9338, allocations: 0 / 1.277 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.525e-05/0.9339, allocations: 19.98 kB / 1.277 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001456/0.934, allocations: 3.938 kB / 1.277 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003752/0.9344, allocations: 163.7 kB / 1.277 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/0.9347, allocations: 0.6884 MB / 1.278 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.234e-05/0.9348, allocations: 11.44 kB / 1.278 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of SimCode: time 3.91e-07/0.9348, allocations: 0 / 1.278 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of Templates: time 0.002481/0.9372, allocations: 0.7537 MB / 1.279 GB, free: 13.83 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/jenkins1/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