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.001247/0.001247, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009708/0.0009708, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9792/0.9792, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.815/1.815, allocations: 389 MB / 0.633 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.837e-05/2.005e-05, allocations: 6.281 kB / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.001818/0.001838, allocations: 1.482 MB / 1.001 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0006223/0.002461, allocations: 475.5 kB / 1.002 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.577e-05/0.002496, allocations: 4 kB / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 4.447e-05/0.002541, allocations: 7.922 kB / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002095/0.00275, allocations: 23.8 kB / 1.002 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 6.584e-05/0.002816, allocations: 19.91 kB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.594e-05/0.002892, allocations: 55.8 kB / 1.002 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.261e-05/0.002985, allocations: 11.91 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/0.003145, allocations: 35.98 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.426e-05/0.00322, allocations: 27.89 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.003237, allocations: 4 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.959e-06/0.003247, allocations: 8 kB / 1.002 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.66e-05/0.003264, allocations: 7.984 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.297e-05/0.003297, allocations: 15.94 kB / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.204e-05/0.003389, allocations: 55.78 kB / 1.002 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.003391, allocations: 0 / 1.002 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.92e-07/0.003392, allocations: 0 / 1.002 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.003396, allocations: 0 / 1.002 GB, free: 11.27 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004257/0.003822, allocations: 278.3 kB / 1.002 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.003862, allocations: 12.75 kB / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.842e-05/0.00389, allocations: 38.73 kB / 1.002 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.556e-05/0.003916, allocations: 8.891 kB / 1.002 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.74e-05/0.004003, allocations: 121.6 kB / 1.002 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.004015, allocations: 384 / 1.002 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.926e-06/0.004024, allocations: 4.375 kB / 1.002 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.296e-05/0.004117, allocations: 54.23 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.004125, allocations: 192 / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.004136, allocations: 8.125 kB / 1.002 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.004142, allocations: 8 kB / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.58e-05/0.004187, allocations: 19.92 kB / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003525/0.00454, allocations: 244 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.004642, allocations: 50.5 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.135e-05/0.004674, allocations: 20.97 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 7.925e-06/0.004682, allocations: 4 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001322/0.004814, allocations: 67.33 kB / 1.003 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.004815, allocations: 0 / 1.003 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6): time 0.0001698/0.004985, allocations: 89.58 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.005019, allocations: 59.39 kB / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.98e-05/0.005079, allocations: 113.8 kB / 1.003 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.005091, allocations: 25.7 kB / 1.003 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.482e-05/0.005126, allocations: 88.14 kB / 1.003 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.909e-05/0.005145, allocations: 15.84 kB / 1.003 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.177e-05/0.005176, allocations: 29.64 kB / 1.003 GB, free: 9.762 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.371e-05/0.00525, allocations: 314.8 kB / 1.003 GB, free: 9.445 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.657e-05/0.005277, allocations: 15.98 kB / 1.003 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.274e-05/0.005299, allocations: 20.3 kB / 1.003 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.197e-05/0.005351, allocations: 32.86 kB / 1.004 GB, free: 9.375 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.005356, allocations: 3.938 kB / 1.004 GB, free: 9.371 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.744e-05/0.005444, allocations: 85.7 kB / 1.004 GB, free: 9.281 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.005458, allocations: 9.859 kB / 1.004 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.005462, allocations: 0 / 1.004 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.005473, allocations: 0 / 1.004 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.217e-05/0.005535, allocations: 11.94 kB / 1.004 GB, free: 9.262 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.00554, allocations: 0 / 1.004 GB, free: 9.262 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.48e-05/0.005575, allocations: 4 kB / 1.004 GB, free: 9.258 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.005581, allocations: 0 / 1.004 GB, free: 9.258 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (locTim.k,$PRE.locTim.k,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 (8): * Single equations (assignments): 8 * 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.014e-05/0.005641, allocations: 121.8 kB / 1.004 GB, free: 9.129 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.965e-06/0.005649, allocations: 11.95 kB / 1.004 GB, free: 9.117 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.631e-05/0.005665, allocations: 12.38 kB / 1.004 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.005667, allocations: 0 / 1.004 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.005671, allocations: 4 kB / 1.004 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.005675, allocations: 4.234 kB / 1.004 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.005797, allocations: 140.7 kB / 1.004 GB, free: 8.918 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.005798, allocations: 4 kB / 1.004 GB, free: 8.914 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.714e-05/0.005815, allocations: 4 kB / 1.004 GB, free: 8.91 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.005818, allocations: 4 kB / 1.004 GB, free: 8.906 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.005824, allocations: 0 / 1.004 GB, free: 8.906 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.005825, allocations: 0 / 1.004 GB, free: 8.906 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.005826, allocations: 4 kB / 1.004 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.737e-05/0.005923, allocations: 104.9 kB / 1.004 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.372e-05/0.005937, allocations: 15.94 kB / 1.004 GB, free: 8.766 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.005949, allocations: 0 / 1.004 GB, free: 8.766 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.812e-05/0.005977, allocations: 4 kB / 1.004 GB, free: 8.762 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.84e-05/0.006005, allocations: 3.984 kB / 1.004 GB, free: 8.758 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.00601, allocations: 7.938 kB / 1.004 GB, free: 8.75 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.45e-05/0.006045, allocations: 91.27 kB / 1.004 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6.1e-08/0.006045, allocations: 0 / 1.004 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001268/0.006172, allocations: 12 kB / 1.004 GB, free: 8.648 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,locTim.tNext,locTim.k) * Number of discrete states: 2 (locTim.k,locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002651/0.006437, allocations: 0.6436 MB / 1.005 GB, free: 7.973 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 9.176e-05/0.006529, allocations: 39.98 kB / 1.005 GB, free: 7.934 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.00653, allocations: 0 / 1.005 GB, free: 7.934 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.159e-05/0.006561, allocations: 19.94 kB / 1.005 GB, free: 7.914 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001102/0.006672, allocations: 0 / 1.005 GB, free: 7.914 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008176/0.007489, allocations: 1.261 MB / 1.006 GB, free: 6.57 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.086e-05/0.00753, allocations: 67.33 kB / 1.006 GB, free: 6.484 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.486e-05/0.007555, allocations: 4 kB / 1.006 GB, free: 6.48 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.84e-05/0.007593, allocations: 20.5 kB / 1.006 GB, free: 6.461 MB / 0.9636 GB Notification: Performance of SimCode: time 5.62e-07/0.007594, allocations: 0 / 1.006 GB, free: 6.461 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01587/0.02346, allocations: 2.237 MB / 1.008 GB, free: 4.379 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.87/6.893, allocations: 20.12 kB / 1.008 GB, free: 4.367 MB / 0.9636 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.csv --start-time 0 --stop-time 172800 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 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.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.csv. Warning: Get data of variable locTim.cloTim from file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.302993048913777]