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.00161/0.00161, allocations: 102.1 kB / 19.7 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.001828/0.001828, allocations: 215.4 kB / 23.01 MB, free: 5.125 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.529/1.529, allocations: 230.6 MB / 256.8 MB, free: 7.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.107/3.107, allocations: 0.49 GB / 0.7958 GB, free: 33.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002344/0.002344, allocations: 66.23 kB / 1.155 GB, free: 25.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3938/0.3962, allocations: 176.1 MB / 1.327 GB, free: 1.441 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.003141/0.3993, allocations: 1.515 MB / 1.329 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0009637/0.4003, allocations: 0.5026 MB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.309e-05/0.4003, allocations: 0 / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.496e-05/0.4003, allocations: 3.938 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002324/0.4006, allocations: 27.84 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 7.902e-05/0.4007, allocations: 19.92 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.453e-05/0.4008, allocations: 47.84 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.34e-05/0.4008, allocations: 15.92 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001704/0.401, allocations: 31.86 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.772e-05/0.4011, allocations: 19.92 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.4011, allocations: 4 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.347e-05/0.4011, allocations: 4 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.565e-05/0.4012, allocations: 11.97 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.559e-05/0.4012, allocations: 27.88 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.4013, allocations: 39.88 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.4013, allocations: 0 / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.432e-06/0.4013, allocations: 0 / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.4013, allocations: 0 / 1.329 GB, free: 15.16 MB / 1.029 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.0005943/0.4019, allocations: 282.2 kB / 1.33 GB, free: 14.86 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.402, allocations: 8.031 kB / 1.33 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.489e-05/0.402, allocations: 4.938 kB / 1.33 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.4021, allocations: 126.4 kB / 1.33 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.4022, allocations: 4.359 kB / 1.33 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.4022, allocations: 4.375 kB / 1.33 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.4023, allocations: 50 kB / 1.33 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.4023, allocations: 0 / 1.33 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.4023, allocations: 0 / 1.33 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.4023, allocations: 7.938 kB / 1.33 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.09e-05/0.4024, allocations: 19.98 kB / 1.33 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003765/0.4028, allocations: 251.9 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.4029, allocations: 42.56 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.329e-05/0.4029, allocations: 16.86 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/0.4029, allocations: 0 / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001608/0.4031, allocations: 71.41 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.4031, allocations: 0 / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of matching and sorting (n=5): time 0.0002309/0.4033, allocations: 81.58 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.4034, allocations: 59.41 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.953e-05/0.4035, allocations: 105.8 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.269e-05/0.4035, allocations: 33.7 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.549e-05/0.4035, allocations: 80.14 kB / 1.331 GB, free: 13.78 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.385e-05/0.4036, allocations: 19.89 kB / 1.331 GB, free: 13.76 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.944e-05/0.4036, allocations: 17.72 kB / 1.331 GB, free: 13.73 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001771/0.4038, allocations: 318.8 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.7e-05/0.4038, allocations: 12 kB / 1.331 GB, free: 13.4 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.737e-05/0.4039, allocations: 12 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.954e-05/0.404, allocations: 40.78 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.404, allocations: 0 / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001115/0.4041, allocations: 66.09 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.4041, allocations: 10.02 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.4041, allocations: 4 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.4041, allocations: 0 / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.438e-05/0.4042, allocations: 4 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.4042, allocations: 0 / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.604e-05/0.4043, allocations: 8 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.4043, allocations: 0 / 1.331 GB, free: 13.25 MB / 1.029 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.0001469/0.4044, allocations: 122.3 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.312e-05/0.4044, allocations: 4 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.811e-05/0.4045, allocations: 12 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.4045, allocations: 0 / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.4045, allocations: 0 / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.4045, allocations: 0 / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002146/0.4047, allocations: 152.6 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.4047, allocations: 3.938 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.786e-05/0.4047, allocations: 8 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.4047, allocations: 0 / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.4047, allocations: 0 / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.4047, allocations: 4 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4047, allocations: 0 / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000156/0.4049, allocations: 101 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.15e-05/0.4049, allocations: 0 / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.4049, allocations: 4 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.568e-05/0.405, allocations: 4 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/0.405, allocations: 7.984 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.405, allocations: 3.938 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001539/0.4052, allocations: 99.25 kB / 1.332 GB, free: 12.66 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4052, allocations: 3.938 kB / 1.332 GB, free: 12.66 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001913/0.4054, allocations: 11.95 kB / 1.332 GB, free: 12.64 MB / 1.029 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.0001221/0.4055, allocations: 99.23 kB / 1.332 GB, free: 12.54 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001374/0.4056, allocations: 43.98 kB / 1.332 GB, free: 12.5 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.4056, allocations: 0 / 1.332 GB, free: 12.5 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.908e-05/0.4057, allocations: 23.94 kB / 1.332 GB, free: 12.47 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001546/0.4058, allocations: 5.672 kB / 1.332 GB, free: 12.47 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003721/0.4062, allocations: 156 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/0.4065, allocations: 0.6807 MB / 1.333 GB, free: 11.58 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.605e-05/0.4066, allocations: 11.42 kB / 1.333 GB, free: 11.57 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.4066, allocations: 4 kB / 1.333 GB, free: 11.56 MB / 1.029 GB Notification: Performance of Templates: time 0.002647/0.4092, allocations: 0.7434 MB / 1.333 GB, free: 10.82 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.092835818999447]