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.002801/0.002801, allocations: 108.6 kB / 16.46 MB, free: 6.453 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.002497/0.002497, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.646/1.646, allocations: 230.6 MB / 252.8 MB, free: 8.949 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.452/3.452, allocations: 0.4899 GB / 0.7915 GB, free: 33.33 MB / 0.6231 GB " [Timeout remaining time 176] 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.00209/0.00209, allocations: 76.5 kB / 1.149 GB, free: 26.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.399/0.4011, allocations: 176.1 MB / 1.321 GB, free: 2.789 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002828/0.4039, allocations: 1.493 MB / 1.323 GB, free: 1.285 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0009515/0.4049, allocations: 0.5026 MB / 1.323 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.607e-05/0.4049, allocations: 0 / 1.323 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.554e-05/0.4049, allocations: 11.86 kB / 1.323 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002643/0.4052, allocations: 26.97 kB / 1.323 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 8.338e-05/0.4053, allocations: 15.92 kB / 1.323 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001079/0.4054, allocations: 51.8 kB / 1.323 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.4055, allocations: 11.94 kB / 1.323 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001871/0.4057, allocations: 39.84 kB / 1.323 GB, free: 0.625 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.858e-05/0.4058, allocations: 23.91 kB / 1.323 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.4058, allocations: 4 kB / 1.323 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.392e-05/0.4058, allocations: 4 kB / 1.323 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.224e-05/0.4059, allocations: 4 kB / 1.323 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.309e-05/0.4059, allocations: 27.86 kB / 1.323 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001116/0.406, allocations: 35.88 kB / 1.323 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.406, allocations: 0 / 1.323 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.743e-06/0.406, allocations: 4 kB / 1.323 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.331e-06/0.406, allocations: 4 kB / 1.323 GB, free: 0.5195 MB / 1.014 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.0006491/0.4067, allocations: 355.3 kB / 1.324 GB, free: 128 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.4067, allocations: 11.98 kB / 1.324 GB, free: 116 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.991e-05/0.4068, allocations: 4.938 kB / 1.324 GB, free: 112 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/0.4069, allocations: 176.3 kB / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.4069, allocations: 4.312 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.407, allocations: 4.375 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.4071, allocations: 54 kB / 1.324 GB, free: 15.83 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.4071, allocations: 4 kB / 1.324 GB, free: 15.83 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.4071, allocations: 4 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.4071, allocations: 0 / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.823e-05/0.4072, allocations: 15.98 kB / 1.324 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003937/0.4076, allocations: 272.8 kB / 1.324 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.4077, allocations: 50.44 kB / 1.324 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.229e-05/0.4077, allocations: 16.86 kB / 1.324 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.4078, allocations: 4 kB / 1.324 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001823/0.4079, allocations: 71.45 kB / 1.324 GB, free: 15.33 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.4079, allocations: 0 / 1.324 GB, free: 15.33 MB / 1.029 GB Notification: Performance of matching and sorting (n=5): time 0.0002408/0.4082, allocations: 81.58 kB / 1.325 GB, free: 15.24 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.907e-05/0.4082, allocations: 55.41 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.4084, allocations: 109.8 kB / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.4084, allocations: 29.7 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.911e-05/0.4084, allocations: 88.14 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.778e-05/0.4084, allocations: 15.89 kB / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-05/0.4085, allocations: 17.72 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.4086, allocations: 322.8 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.46e-05/0.4087, allocations: 12 kB / 1.325 GB, free: 14.56 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.462e-05/0.4087, allocations: 8 kB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.08e-05/0.4088, allocations: 32.84 kB / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.4088, allocations: 3.938 kB / 1.325 GB, free: 14.51 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001084/0.4089, allocations: 69.59 kB / 1.325 GB, free: 14.44 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.4089, allocations: 10.33 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.4089, allocations: 4 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.4089, allocations: 0 / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.04e-05/0.409, allocations: 4 kB / 1.325 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.409, allocations: 4.438 kB / 1.325 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.189e-05/0.409, allocations: 4 kB / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.4091, allocations: 4 kB / 1.325 GB, free: 14.41 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 9.028e-05/0.4091, allocations: 113.8 kB / 1.325 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.51e-05/0.4092, allocations: 12 kB / 1.325 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.932e-05/0.4092, allocations: 7.969 kB / 1.325 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.4092, allocations: 3.984 kB / 1.325 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.4092, allocations: 0 / 1.325 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.4092, allocations: 0 / 1.325 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.4094, allocations: 181.5 kB / 1.326 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.4094, allocations: 0 / 1.326 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.875e-05/0.4094, allocations: 7.938 kB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.4094, allocations: 0 / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.4094, allocations: 3.938 kB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.4094, allocations: 4 kB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.4094, allocations: 4 kB / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001535/0.4096, allocations: 97.05 kB / 1.326 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.47e-05/0.4096, allocations: 85 kB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.4096, allocations: 0 / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.929e-05/0.4097, allocations: 8 kB / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.353e-05/0.4097, allocations: 7.984 kB / 1.326 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.4097, allocations: 0 / 1.326 GB, free: 13.78 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.652e-05/0.4098, allocations: 99.56 kB / 1.326 GB, free: 13.68 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4098, allocations: 0 / 1.326 GB, free: 13.68 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001857/0.41, allocations: 8 kB / 1.326 GB, free: 13.68 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.0001312/0.4101, allocations: 111.1 kB / 1.326 GB, free: 13.56 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001309/0.4103, allocations: 35.92 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.4103, allocations: 0 / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.42e-05/0.4103, allocations: 12 kB / 1.326 GB, free: 13.51 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001541/0.4105, allocations: 5.891 kB / 1.326 GB, free: 13.51 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003211/0.4108, allocations: 145.9 kB / 1.326 GB, free: 13.34 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.4111, allocations: 0.6807 MB / 1.327 GB, free: 12.63 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.685e-05/0.4111, allocations: 3.984 kB / 1.327 GB, free: 12.63 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.229e-05/0.4111, allocations: 11.44 kB / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.4111, allocations: 0 / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of Templates: time 0.003059/0.4142, allocations: 0.5674 MB / 1.327 GB, free: 12.06 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/jenkins/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: 9.732575747184455]