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.001361/0.001361, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001379/0.001379, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.485/1.485, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 2.94/2.94, allocations: 0.5003 GB / 0.8026 GB, free: 6.73 MB / 0.6387 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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="cs",version="2.0",platforms={"static"}) [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.002145/0.002145, allocations: 71.89 kB / 1.165 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9718/0.974, allocations: 178.9 MB / 1.34 GB, free: 16.27 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002523/0.9765, allocations: 1.491 MB / 1.342 GB, free: 15.23 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008197/0.9773, allocations: 0.5064 MB / 1.342 GB, free: 14.87 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.329e-05/0.9773, allocations: 1.188 kB / 1.342 GB, free: 14.87 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.73e-05/0.9774, allocations: 1.312 kB / 1.342 GB, free: 14.87 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002475/0.9776, allocations: 37.22 kB / 1.342 GB, free: 14.84 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 7.407e-05/0.9777, allocations: 11.19 kB / 1.342 GB, free: 14.84 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.958e-05/0.9778, allocations: 59.08 kB / 1.342 GB, free: 14.81 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.326e-05/0.9779, allocations: 11.66 kB / 1.342 GB, free: 14.8 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001563/0.978, allocations: 25.58 kB / 1.342 GB, free: 14.8 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.512e-05/0.9781, allocations: 23.86 kB / 1.342 GB, free: 14.79 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.9781, allocations: 8.297 kB / 1.342 GB, free: 14.78 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.311e-05/0.9781, allocations: 3.625 kB / 1.342 GB, free: 14.78 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.827e-05/0.9782, allocations: 8.328 kB / 1.342 GB, free: 14.78 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.193e-05/0.9782, allocations: 32.58 kB / 1.342 GB, free: 14.75 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.9783, allocations: 36.52 kB / 1.342 GB, free: 14.74 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.9783, allocations: 1.281 kB / 1.342 GB, free: 14.74 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.393e-06/0.9783, allocations: 0 / 1.342 GB, free: 14.74 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.9783, allocations: 0 / 1.342 GB, free: 14.74 MB / 1.061 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.000505/0.9788, allocations: 360.9 kB / 1.343 GB, free: 14.37 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.9789, allocations: 10.38 kB / 1.343 GB, free: 14.37 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.561e-05/0.9789, allocations: 192 / 1.343 GB, free: 14.37 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.38e-05/0.9789, allocations: 32.55 kB / 1.343 GB, free: 14.33 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.843e-05/0.9789, allocations: 3.953 kB / 1.343 GB, free: 14.33 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.979, allocations: 182.7 kB / 1.343 GB, free: 14.12 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.9791, allocations: 2.844 kB / 1.343 GB, free: 14.12 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.9791, allocations: 5.438 kB / 1.343 GB, free: 14.12 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.9792, allocations: 57.69 kB / 1.343 GB, free: 14.07 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.9792, allocations: 5.406 kB / 1.343 GB, free: 14.07 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.9792, allocations: 0 / 1.343 GB, free: 14.07 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.9792, allocations: 1.344 kB / 1.343 GB, free: 14.07 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.963e-05/0.9793, allocations: 20.16 kB / 1.343 GB, free: 14.06 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002962/0.9796, allocations: 268.1 kB / 1.343 GB, free: 13.78 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.299e-05/0.9797, allocations: 45.09 kB / 1.343 GB, free: 13.74 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.018e-05/0.9797, allocations: 28 kB / 1.343 GB, free: 13.72 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.144e-06/0.9797, allocations: 0 / 1.343 GB, free: 13.72 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001419/0.9798, allocations: 60.41 kB / 1.343 GB, free: 13.67 MB / 1.061 GB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.9799, allocations: 0 / 1.343 GB, free: 13.67 MB / 1.061 GB Notification: Performance of matching and sorting (n=5): time 0.0002092/0.9801, allocations: 85.06 kB / 1.343 GB, free: 13.62 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/0.9801, allocations: 57.12 kB / 1.344 GB, free: 13.55 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.776e-05/0.9802, allocations: 115.8 kB / 1.344 GB, free: 13.44 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.847e-06/0.9802, allocations: 27.2 kB / 1.344 GB, free: 13.41 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.54e-05/0.9802, allocations: 87.16 kB / 1.344 GB, free: 13.32 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/0.9802, allocations: 17.95 kB / 1.344 GB, free: 13.31 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.121e-05/0.9802, allocations: 15.34 kB / 1.344 GB, free: 13.29 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.43e-05/0.9803, allocations: 322.9 kB / 1.344 GB, free: 12.97 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.28e-05/0.9803, allocations: 12.09 kB / 1.344 GB, free: 12.97 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.457e-05/0.9804, allocations: 12.38 kB / 1.344 GB, free: 12.96 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.494e-05/0.9804, allocations: 35.09 kB / 1.344 GB, free: 12.94 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.9804, allocations: 0 / 1.344 GB, free: 12.94 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.801e-05/0.9805, allocations: 62.56 kB / 1.344 GB, free: 12.9 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.9805, allocations: 9.812 kB / 1.344 GB, free: 12.89 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.9805, allocations: 1.406 kB / 1.344 GB, free: 12.89 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.9805, allocations: 0 / 1.344 GB, free: 12.89 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.407e-05/0.9806, allocations: 15.97 kB / 1.344 GB, free: 12.89 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.9806, allocations: 1.828 kB / 1.344 GB, free: 12.89 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.688e-05/0.9807, allocations: 2.281 kB / 1.344 GB, free: 12.89 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.9807, allocations: 3.031 kB / 1.344 GB, free: 12.89 MB / 1.061 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 6.02e-05/0.9808, allocations: 122.8 kB / 1.344 GB, free: 12.76 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.349e-05/0.9808, allocations: 7.016 kB / 1.344 GB, free: 12.76 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.074e-05/0.9808, allocations: 5.672 kB / 1.344 GB, free: 12.75 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.9808, allocations: 1.281 kB / 1.344 GB, free: 12.75 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.9808, allocations: 0 / 1.344 GB, free: 12.75 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.9808, allocations: 5.688 kB / 1.344 GB, free: 12.75 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.901e-05/0.9809, allocations: 180 kB / 1.345 GB, free: 12.54 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.9809, allocations: 0.9062 kB / 1.345 GB, free: 12.54 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.796e-05/0.9809, allocations: 4.734 kB / 1.345 GB, free: 12.54 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.9809, allocations: 4.609 kB / 1.345 GB, free: 12.54 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.9809, allocations: 6.172 kB / 1.345 GB, free: 12.53 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.9809, allocations: 0 / 1.345 GB, free: 12.53 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.9809, allocations: 1.031 kB / 1.345 GB, free: 12.53 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001252/0.9811, allocations: 95.89 kB / 1.345 GB, free: 12.45 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.557e-05/0.9811, allocations: 86.92 kB / 1.345 GB, free: 12.35 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.9811, allocations: 6.062 kB / 1.345 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.691e-05/0.9812, allocations: 3.688 kB / 1.345 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.198e-05/0.9812, allocations: 8.906 kB / 1.345 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.9812, allocations: 2.109 kB / 1.345 GB, free: 12.34 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.802e-05/0.9812, allocations: 88.73 kB / 1.345 GB, free: 12.26 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.9812, allocations: 0 / 1.345 GB, free: 12.26 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001825/0.9814, allocations: 12.97 kB / 1.345 GB, free: 12.26 MB / 1.061 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.000301/0.9817, allocations: 0.6353 MB / 1.345 GB, free: 11.64 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001244/0.9819, allocations: 31.06 kB / 1.345 GB, free: 11.64 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.9819, allocations: 0 / 1.345 GB, free: 11.64 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.465e-05/0.9819, allocations: 19.2 kB / 1.346 GB, free: 11.63 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001455/0.982, allocations: 6.125 kB / 1.346 GB, free: 11.62 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009162/0.983, allocations: 1.22 MB / 1.347 GB, free: 10.48 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.9831, allocations: 0.6811 MB / 1.347 GB, free: 9.781 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.962e-05/0.9831, allocations: 3.969 kB / 1.347 GB, free: 9.781 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.891e-05/0.9831, allocations: 19.12 kB / 1.347 GB, free: 9.766 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/0.9831, allocations: 0 / 1.347 GB, free: 9.766 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01806/1.001, allocations: 1.584 MB / 1.349 GB, free: 9.391 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.081/9.082, allocations: 6.469 kB / 1.349 GB, free: 9.387 MB / 1.061 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --stepSize=69.12 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 840.0] 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: 15.548078091989737]