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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 109.7 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 225.6 MB / 249.3 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.48/2.48, allocations: 476.7 MB / 0.7628 GB, free: 15.16 MB / 0.6075 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 67.89 kB / 1.107 GB, free: 5.152 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7271/0.729, allocations: 168.7 MB / 1.271 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002069/0.731, allocations: 1.506 MB / 1.273 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0005846/0.7316, allocations: 482.3 kB / 1.273 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.544e-05/0.7317, allocations: 0 / 1.273 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.249e-05/0.7317, allocations: 5.938 kB / 1.273 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000187/0.7319, allocations: 25.16 kB / 1.273 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 6.165e-05/0.7319, allocations: 14.92 kB / 1.273 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.629e-05/0.732, allocations: 59.69 kB / 1.273 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.271e-05/0.7321, allocations: 15.39 kB / 1.273 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.858e-05/0.7322, allocations: 17.17 kB / 1.273 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.414e-05/0.7322, allocations: 25.28 kB / 1.273 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.7322, allocations: 3.625 kB / 1.273 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.13e-05/0.7323, allocations: 3.781 kB / 1.273 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.015e-05/0.7323, allocations: 12.09 kB / 1.273 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.909e-05/0.7323, allocations: 20.86 kB / 1.274 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.386e-05/0.7324, allocations: 44.56 kB / 1.274 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.7324, allocations: 0.7031 kB / 1.274 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.263e-06/0.7324, allocations: 1.219 kB / 1.274 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.938e-06/0.7324, allocations: 4 kB / 1.274 GB, free: 6.406 MB / 0.9981 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.0003973/0.7328, allocations: 348.4 kB / 1.274 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.7328, allocations: 9.812 kB / 1.274 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.165e-05/0.7329, allocations: 36.59 kB / 1.274 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.3e-05/0.7329, allocations: 7.172 kB / 1.274 GB, free: 6 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.432e-05/0.733, allocations: 174.3 kB / 1.274 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.733, allocations: 2.672 kB / 1.274 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.733, allocations: 6.281 kB / 1.274 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.446e-05/0.7331, allocations: 55.58 kB / 1.274 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.7331, allocations: 0 / 1.274 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.724e-06/0.7331, allocations: 0.7188 kB / 1.274 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.7331, allocations: 4.625 kB / 1.274 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.308e-05/0.7332, allocations: 20.72 kB / 1.274 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002239/0.7334, allocations: 271.5 kB / 1.274 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.097e-05/0.7335, allocations: 41.42 kB / 1.274 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.526e-05/0.7335, allocations: 23.53 kB / 1.275 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.686e-06/0.7335, allocations: 0 / 1.275 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001063/0.7336, allocations: 69.98 kB / 1.275 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.7336, allocations: 0 / 1.275 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5): time 0.0001756/0.7338, allocations: 80.98 kB / 1.275 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.409e-05/0.7338, allocations: 52.5 kB / 1.275 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.062e-05/0.7339, allocations: 107.1 kB / 1.275 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.165e-06/0.7339, allocations: 38.64 kB / 1.275 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.854e-05/0.7339, allocations: 91.5 kB / 1.275 GB, free: 5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-05/0.7339, allocations: 17.84 kB / 1.275 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.768e-05/0.7339, allocations: 20.17 kB / 1.275 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.16e-05/0.734, allocations: 322.9 kB / 1.275 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.785e-05/0.734, allocations: 11.47 kB / 1.275 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.309e-05/0.734, allocations: 12.47 kB / 1.275 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.92e-05/0.7341, allocations: 32.48 kB / 1.275 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.7341, allocations: 0 / 1.275 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.765e-05/0.7342, allocations: 66.3 kB / 1.275 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.7342, allocations: 5.281 kB / 1.275 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.095e-06/0.7342, allocations: 0 / 1.275 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.899e-06/0.7342, allocations: 0.9062 kB / 1.275 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.168e-05/0.7342, allocations: 13.36 kB / 1.275 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.7342, allocations: 0.875 kB / 1.275 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.454e-05/0.7343, allocations: 6.484 kB / 1.275 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.7343, allocations: 1.094 kB / 1.275 GB, free: 4.562 MB / 0.9981 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 4.482e-05/0.7343, allocations: 123.3 kB / 1.276 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.194e-05/0.7344, allocations: 5.797 kB / 1.276 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.791e-05/0.7344, allocations: 13.88 kB / 1.276 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-06/0.7344, allocations: 0 / 1.276 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.7344, allocations: 1 kB / 1.276 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.7344, allocations: 0 / 1.276 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.87e-05/0.7345, allocations: 174.5 kB / 1.276 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.7345, allocations: 0 / 1.276 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.655e-05/0.7345, allocations: 6.453 kB / 1.276 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.7345, allocations: 0 / 1.276 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.261e-06/0.7345, allocations: 1 kB / 1.276 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.7345, allocations: 9 kB / 1.276 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.7345, allocations: 0.7031 kB / 1.276 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000106/0.7346, allocations: 103.3 kB / 1.276 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.782e-05/0.7346, allocations: 81.11 kB / 1.276 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.7346, allocations: 1.031 kB / 1.276 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.596e-05/0.7347, allocations: 3.281 kB / 1.276 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.93e-05/0.7347, allocations: 6 kB / 1.276 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/0.7347, allocations: 5.094 kB / 1.276 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.176e-05/0.7348, allocations: 88.25 kB / 1.276 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.7348, allocations: 0 / 1.276 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001742/0.7349, allocations: 15.08 kB / 1.276 GB, free: 3.938 MB / 0.9981 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.000251/0.7352, allocations: 0.6345 MB / 1.277 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 9.812e-05/0.7353, allocations: 43.27 kB / 1.277 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.7353, allocations: 0 / 1.277 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.757e-05/0.7353, allocations: 17.69 kB / 1.277 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001286/0.7354, allocations: 10 kB / 1.277 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007524/0.7362, allocations: 1.23 MB / 1.278 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.501e-05/0.7363, allocations: 0.685 MB / 1.279 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.267e-05/0.7363, allocations: 1.938 kB / 1.279 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.229e-05/0.7363, allocations: 14.72 kB / 1.279 GB, free: 1.434 MB / 0.9981 GB Notification: Performance of SimCode: time 3.4e-07/0.7363, allocations: 0 / 1.279 GB, free: 1.434 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02214/0.7585, allocations: 1.503 MB / 1.28 GB, free: 17.05 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.034/7.792, allocations: 8.531 kB / 1.28 GB, free: 17.05 MB / 1.014 GB " [Timeout remaining time 292] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.csv --start-time 0 --stop-time 172800 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.csv","/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] "Error: Could not read variable locTim.cloTim in file Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.csv. Warning: Get data of variable locTim.cloTim from file Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.099725997002679]