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.001374/0.001374, allocations: 93.92 kB / 19.73 MB, free: 2.129 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.001479/0.001479, allocations: 216.2 kB / 23.03 MB, free: 4.953 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.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 7.816 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 3.29/3.29, allocations: 0.5003 GB / 0.8062 GB, free: 28.28 MB / 0.6231 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.001987/0.001987, allocations: 68.77 kB / 1.17 GB, free: 19.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3587, allocations: 179 MB / 1.345 GB, free: 15.95 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.003243/0.3619, allocations: 1.497 MB / 1.347 GB, free: 14.44 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0009406/0.3628, allocations: 462.9 kB / 1.347 GB, free: 13.98 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.584e-05/0.3629, allocations: 8 kB / 1.347 GB, free: 13.98 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.174e-05/0.3629, allocations: 3.938 kB / 1.347 GB, free: 13.97 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002314/0.3631, allocations: 19.84 kB / 1.347 GB, free: 13.95 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 9.369e-05/0.3632, allocations: 19.92 kB / 1.347 GB, free: 13.93 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.3633, allocations: 51.83 kB / 1.347 GB, free: 13.88 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.833e-05/0.3634, allocations: 15.94 kB / 1.347 GB, free: 13.87 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001738/0.3636, allocations: 27.86 kB / 1.347 GB, free: 13.84 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.309e-05/0.3637, allocations: 23.91 kB / 1.347 GB, free: 13.82 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.3637, allocations: 8 kB / 1.347 GB, free: 13.81 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.458e-05/0.3637, allocations: 4 kB / 1.347 GB, free: 13.8 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.224e-05/0.3637, allocations: 11.92 kB / 1.347 GB, free: 13.79 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.25e-05/0.3638, allocations: 15.94 kB / 1.347 GB, free: 13.78 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001185/0.3639, allocations: 43.86 kB / 1.347 GB, free: 13.73 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.301e-06/0.3639, allocations: 4 kB / 1.347 GB, free: 13.73 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3639, allocations: 0 / 1.347 GB, free: 13.73 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.3639, allocations: 0 / 1.347 GB, free: 13.73 MB / 1.045 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.0005938/0.3645, allocations: 278.2 kB / 1.348 GB, free: 13.43 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.3646, allocations: 8.031 kB / 1.348 GB, free: 13.42 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.191e-05/0.3646, allocations: 8.188 kB / 1.348 GB, free: 13.41 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.76e-05/0.3646, allocations: 38.69 kB / 1.348 GB, free: 13.37 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.96e-05/0.3646, allocations: 0.9375 kB / 1.348 GB, free: 13.37 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.3649, allocations: 118.5 kB / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.3649, allocations: 4.312 kB / 1.348 GB, free: 13.22 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.3649, allocations: 8.375 kB / 1.348 GB, free: 13.21 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.3651, allocations: 49.61 kB / 1.348 GB, free: 13.16 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.3651, allocations: 0 / 1.348 GB, free: 13.16 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.3651, allocations: 0 / 1.348 GB, free: 13.16 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.3651, allocations: 7.938 kB / 1.348 GB, free: 13.15 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.283e-05/0.3652, allocations: 16 kB / 1.348 GB, free: 13.14 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003974/0.3655, allocations: 247.9 kB / 1.348 GB, free: 12.85 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.3657, allocations: 42.56 kB / 1.348 GB, free: 12.8 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.738e-05/0.3657, allocations: 20.86 kB / 1.348 GB, free: 12.78 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 8.095e-06/0.3657, allocations: 0 / 1.348 GB, free: 12.78 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001964/0.3659, allocations: 71.38 kB / 1.348 GB, free: 12.7 MB / 1.045 GB Notification: Performance of pre-optimization done (n=5): time 1.303e-06/0.3659, allocations: 0 / 1.348 GB, free: 12.7 MB / 1.045 GB Notification: Performance of matching and sorting (n=5): time 0.0002377/0.3662, allocations: 85.67 kB / 1.348 GB, free: 12.61 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.75e-05/0.3662, allocations: 51.41 kB / 1.348 GB, free: 12.54 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.976e-05/0.3663, allocations: 109.8 kB / 1.349 GB, free: 12.43 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.3663, allocations: 29.7 kB / 1.349 GB, free: 12.39 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.885e-05/0.3664, allocations: 84.14 kB / 1.349 GB, free: 12.3 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.778e-05/0.3664, allocations: 19.89 kB / 1.349 GB, free: 12.29 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.701e-05/0.3665, allocations: 13.72 kB / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.3666, allocations: 318.8 kB / 1.349 GB, free: 11.95 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.378e-05/0.3667, allocations: 15.98 kB / 1.349 GB, free: 11.93 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.648e-05/0.3667, allocations: 12 kB / 1.349 GB, free: 11.92 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.732e-05/0.3667, allocations: 32.8 kB / 1.349 GB, free: 11.88 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.3667, allocations: 0 / 1.349 GB, free: 11.88 MB / 1.045 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001272/0.3669, allocations: 69.64 kB / 1.349 GB, free: 11.81 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.3669, allocations: 4 kB / 1.349 GB, free: 11.8 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.3669, allocations: 4 kB / 1.349 GB, free: 11.8 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.3669, allocations: 3.984 kB / 1.349 GB, free: 11.8 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.273e-05/0.367, allocations: 8 kB / 1.349 GB, free: 11.79 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.367, allocations: 320 / 1.349 GB, free: 11.79 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.221e-05/0.3671, allocations: 4 kB / 1.349 GB, free: 11.79 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/0.3671, allocations: 0 / 1.349 GB, free: 11.79 MB / 1.045 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.0001056/0.3672, allocations: 129.7 kB / 1.349 GB, free: 11.65 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.477e-05/0.3672, allocations: 3.953 kB / 1.349 GB, free: 11.64 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.267e-05/0.3672, allocations: 8.062 kB / 1.349 GB, free: 11.63 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.3672, allocations: 0 / 1.349 GB, free: 11.63 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.3672, allocations: 4 kB / 1.349 GB, free: 11.63 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3672, allocations: 0 / 1.349 GB, free: 11.63 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001364/0.3673, allocations: 149 kB / 1.349 GB, free: 11.44 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3673, allocations: 3.938 kB / 1.349 GB, free: 11.44 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.614e-05/0.3674, allocations: 15.92 kB / 1.349 GB, free: 11.42 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3674, allocations: 0 / 1.349 GB, free: 11.42 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.3674, allocations: 0 / 1.349 GB, free: 11.42 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3674, allocations: 0 / 1.349 GB, free: 11.42 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3674, allocations: 0 / 1.349 GB, free: 11.42 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001568/0.3676, allocations: 97.06 kB / 1.35 GB, free: 11.31 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.565e-05/0.3676, allocations: 11.88 kB / 1.35 GB, free: 11.3 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.3676, allocations: 8 kB / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.044e-05/0.3676, allocations: 4 kB / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.228e-05/0.3677, allocations: 7.984 kB / 1.35 GB, free: 11.28 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.3677, allocations: 0 / 1.35 GB, free: 11.28 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.047e-05/0.3678, allocations: 87.28 kB / 1.35 GB, free: 11.19 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3678, allocations: 0 / 1.35 GB, free: 11.19 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001973/0.3679, allocations: 15.92 kB / 1.35 GB, free: 11.18 MB / 1.045 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.0004822/0.3684, allocations: 0.6281 MB / 1.35 GB, free: 10.52 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001244/0.3686, allocations: 35.92 kB / 1.35 GB, free: 10.48 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.3686, allocations: 4 kB / 1.35 GB, free: 10.48 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.922e-05/0.3686, allocations: 19.98 kB / 1.35 GB, free: 10.46 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001482/0.3688, allocations: 0 / 1.35 GB, free: 10.46 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/0.3702, allocations: 1.226 MB / 1.352 GB, free: 9.152 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.929e-05/0.3703, allocations: 67.34 kB / 1.352 GB, free: 9.066 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.749e-05/0.3703, allocations: 3.906 kB / 1.352 GB, free: 9.062 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.72e-05/0.3704, allocations: 23.36 kB / 1.352 GB, free: 9.039 MB / 1.045 GB Notification: Performance of SimCode: time 2.91e-07/0.3704, allocations: 0 / 1.352 GB, free: 9.039 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02308/0.3934, allocations: 1.692 MB / 1.353 GB, free: 7.5 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.79, allocations: 6.047 kB / 1.353 GB, free: 7.496 MB / 1.045 GB " [Timeout remaining time 288] (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: 18.76568488893099]