Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.001881/0.001881, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002347/0.002347, allocations: 213.1 kB / 22.25 MB, free: 5.262 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.455/1.455, allocations: 230.6 MB / 256 MB, free: 7.777 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.213/3.213, allocations: 0.5107 GB / 0.8158 GB, free: 17.96 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.SolarTime,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",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.003239/0.003239, allocations: 63.89 kB / 1.186 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.3641, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.003016/0.3671, allocations: 1.61 MB / 1.365 GB, free: 12.47 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001037/0.3681, allocations: 0.5582 MB / 1.366 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.01e-05/0.3682, allocations: 0 / 1.366 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.846e-05/0.3682, allocations: 11.86 kB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002494/0.3685, allocations: 41.77 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000172/0.3686, allocations: 47.88 kB / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001399/0.3688, allocations: 111.6 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.3689, allocations: 15.92 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001589/0.369, allocations: 55.83 kB / 1.366 GB, free: 11.63 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.3691, allocations: 43.83 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.275e-05/0.3691, allocations: 8 kB / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.892e-05/0.3692, allocations: 23.98 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.612e-05/0.3692, allocations: 19.92 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.808e-05/0.3693, allocations: 39.84 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.3695, allocations: 107.5 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3695, allocations: 0 / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.333e-06/0.3695, allocations: 0 / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.3695, allocations: 0 / 1.366 GB, free: 11.39 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007087/0.3702, allocations: 330 kB / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.3702, allocations: 8.031 kB / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.15e-05/0.3703, allocations: 38.75 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001587/0.3704, allocations: 16.88 kB / 1.366 GB, free: 10.97 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.3706, allocations: 122.4 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.3706, allocations: 8.375 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/0.3706, allocations: 8.312 kB / 1.367 GB, free: 10.81 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/0.3708, allocations: 97.69 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.3708, allocations: 0 / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.3708, allocations: 4 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.3709, allocations: 7.984 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.371, allocations: 43.97 kB / 1.367 GB, free: 10.65 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005065/0.3715, allocations: 299.7 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000291/0.3718, allocations: 102.6 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.692e-05/0.3718, allocations: 36.84 kB / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.3719, allocations: 8 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002234/0.3721, allocations: 103.2 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 1.382e-06/0.3721, allocations: 0 / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.000331/0.3724, allocations: 149.5 kB / 1.367 GB, free: 9.895 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.3725, allocations: 51.41 kB / 1.367 GB, free: 9.832 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.3726, allocations: 125.8 kB / 1.367 GB, free: 9.699 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.3726, allocations: 29.7 kB / 1.368 GB, free: 9.664 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.74e-05/0.3727, allocations: 92.36 kB / 1.368 GB, free: 9.566 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.918e-05/0.3727, allocations: 39.83 kB / 1.368 GB, free: 9.527 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.703e-05/0.3728, allocations: 21.72 kB / 1.368 GB, free: 9.5 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002093/0.373, allocations: 322.8 kB / 1.368 GB, free: 9.176 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.47e-05/0.373, allocations: 35.98 kB / 1.368 GB, free: 9.141 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.213e-05/0.3731, allocations: 27.98 kB / 1.368 GB, free: 9.113 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.3732, allocations: 64.84 kB / 1.368 GB, free: 9.047 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.3732, allocations: 4 kB / 1.368 GB, free: 9.043 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001832/0.3734, allocations: 112.4 kB / 1.368 GB, free: 8.93 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.3734, allocations: 4 kB / 1.368 GB, free: 8.926 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.3734, allocations: 0 / 1.368 GB, free: 8.926 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.3734, allocations: 0 / 1.368 GB, free: 8.926 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.3735, allocations: 23.92 kB / 1.368 GB, free: 8.902 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.3735, allocations: 0 / 1.368 GB, free: 8.902 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.3736, allocations: 23.86 kB / 1.368 GB, free: 8.879 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.3737, allocations: 4 kB / 1.368 GB, free: 8.875 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: 6 (eqnTim.tNext,$PRE.eqnTim.tNext,locTim.tNext,$PRE.locTim.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001137/0.3738, allocations: 113.8 kB / 1.368 GB, free: 8.754 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.023e-05/0.3738, allocations: 7.953 kB / 1.368 GB, free: 8.746 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002915/0.3741, allocations: 154 kB / 1.369 GB, free: 8.586 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.3741, allocations: 3.984 kB / 1.369 GB, free: 8.582 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3741, allocations: 0 / 1.369 GB, free: 8.582 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.3741, allocations: 3.938 kB / 1.369 GB, free: 8.578 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001853/0.3743, allocations: 172.6 kB / 1.369 GB, free: 8.367 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3743, allocations: 4 kB / 1.369 GB, free: 8.363 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.103e-05/0.3744, allocations: 23.92 kB / 1.369 GB, free: 8.34 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3744, allocations: 0 / 1.369 GB, free: 8.34 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.3744, allocations: 4 kB / 1.369 GB, free: 8.336 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3744, allocations: 0 / 1.369 GB, free: 8.336 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3744, allocations: 0 / 1.369 GB, free: 8.336 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002572/0.3746, allocations: 164.9 kB / 1.369 GB, free: 8.156 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.233e-05/0.3747, allocations: 15.88 kB / 1.369 GB, free: 8.141 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.385e-05/0.3747, allocations: 4 kB / 1.369 GB, free: 8.137 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.603e-05/0.3748, allocations: 4 kB / 1.369 GB, free: 8.133 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.575e-05/0.3748, allocations: 23.91 kB / 1.369 GB, free: 8.109 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.3749, allocations: 4 kB / 1.369 GB, free: 8.105 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.068e-05/0.3749, allocations: 100.1 kB / 1.369 GB, free: 8.008 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3749, allocations: 0 / 1.369 GB, free: 8.008 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002002/0.3751, allocations: 20 kB / 1.369 GB, free: 7.988 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: 4 ($whenCondition2,$whenCondition1,locTim.tNext,eqnTim.tNext) * Number of discrete states: 2 (locTim.tNext,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * 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.0005949/0.3757, allocations: 0.7013 MB / 1.37 GB, free: 7.262 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002097/0.3759, allocations: 83.97 kB / 1.37 GB, free: 7.18 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.3759, allocations: 0 / 1.37 GB, free: 7.18 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.21e-05/0.376, allocations: 47.92 kB / 1.37 GB, free: 7.133 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001584/0.3762, allocations: 11.94 kB / 1.37 GB, free: 7.121 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001709/0.3779, allocations: 1.464 MB / 1.371 GB, free: 5.578 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.512e-05/0.378, allocations: 83.12 kB / 1.371 GB, free: 5.477 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.223e-05/0.378, allocations: 20.47 kB / 1.371 GB, free: 5.457 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.299e-05/0.3781, allocations: 27.42 kB / 1.371 GB, free: 5.43 MB / 1.061 GB Notification: Performance of SimCode: time 5.21e-07/0.3781, allocations: 4 kB / 1.371 GB, free: 5.426 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03052/0.4086, allocations: 2.843 MB / 1.374 GB, free: 2.73 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.81, allocations: 7.922 kB / 1.374 GB, free: 2.723 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.csv --start-time 0 --stop-time 864000 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 172.765 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable solTim.solTim in file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.csv. Warning: Get data of variable solTim.solTim from file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.csv failed! Error: Could not read variable solTim.locTim in file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.csv. Warning: Get data of variable solTim.locTim from file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.68314674915746]