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.001303/0.001303, 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.001615/0.001615, 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.9822/0.9822, allocations: 177.1 MB / 202.8 MB, free: 5.723 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.881/1.881, allocations: 389 MB / 0.633 GB, free: 12.69 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.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: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.611e-05/1.767e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002047/0.002065, allocations: 1.588 MB / 1.001 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007566/0.002821, allocations: 0.5531 MB / 1.002 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.886e-05/0.00288, allocations: 0 / 1.002 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 4e-05/0.00292, allocations: 15.8 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002474/0.003168, allocations: 47.64 kB / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001516/0.003319, allocations: 51.81 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.003433, allocations: 127.5 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.003537, allocations: 12.22 kB / 1.002 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001558/0.003693, allocations: 79.86 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 8.535e-05/0.003779, allocations: 39.88 kB / 1.002 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.003799, allocations: 16 kB / 1.002 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.365e-05/0.003853, allocations: 19.98 kB / 1.002 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.109e-05/0.003874, allocations: 23.91 kB / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.483e-05/0.003919, allocations: 35.91 kB / 1.002 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.004062, allocations: 119.6 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.004064, allocations: 0 / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.203e-06/0.004065, allocations: 0 / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.004069, allocations: 3.938 kB / 1.002 GB, free: 10.73 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006163/0.004685, allocations: 348.1 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.004726, allocations: 12.75 kB / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.208e-05/0.004758, allocations: 34.75 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/0.004868, allocations: 20.88 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.792e-05/0.004966, allocations: 125.7 kB / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.004981, allocations: 8.375 kB / 1.003 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.004994, allocations: 4.375 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.00513, allocations: 94.11 kB / 1.003 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.005138, allocations: 4.125 kB / 1.003 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.005151, allocations: 12.12 kB / 1.003 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.005156, allocations: 4 kB / 1.003 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.557e-05/0.005242, allocations: 49.53 kB / 1.003 GB, free: 9.961 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000445/0.005687, allocations: 323.7 kB / 1.003 GB, free: 9.602 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000228/0.005915, allocations: 122.7 kB / 1.003 GB, free: 9.473 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.434e-05/0.005969, allocations: 40.84 kB / 1.003 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.005983, allocations: 4 kB / 1.003 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001598/0.006143, allocations: 107.3 kB / 1.004 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=14): time 1.432e-06/0.006144, allocations: 4 kB / 1.004 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of matching and sorting (n=14): time 0.0002491/0.006394, allocations: 157.6 kB / 1.004 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/0.006428, allocations: 55.41 kB / 1.004 GB, free: 9.078 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.288e-05/0.0065, allocations: 129.8 kB / 1.004 GB, free: 8.941 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.006516, allocations: 29.7 kB / 1.004 GB, free: 8.906 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.779e-05/0.006554, allocations: 96.03 kB / 1.004 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.156e-05/0.006585, allocations: 47.62 kB / 1.004 GB, free: 8.762 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.902e-05/0.006624, allocations: 33.7 kB / 1.004 GB, free: 8.723 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.722e-05/0.006701, allocations: 326.8 kB / 1.004 GB, free: 8.395 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.479e-05/0.006756, allocations: 31.98 kB / 1.004 GB, free: 8.363 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.465e-05/0.006801, allocations: 39.98 kB / 1.005 GB, free: 8.324 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.889e-05/0.0069, allocations: 94.88 kB / 1.005 GB, free: 8.23 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.006902, allocations: 0 / 1.005 GB, free: 8.23 MB / 0.9636 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001414/0.007043, allocations: 133.6 kB / 1.005 GB, free: 8.094 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.007056, allocations: 9.719 kB / 1.005 GB, free: 8.086 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.007061, allocations: 0 / 1.005 GB, free: 8.086 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.007073, allocations: 0 / 1.005 GB, free: 8.086 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.352e-05/0.007147, allocations: 23.92 kB / 1.005 GB, free: 8.062 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.007152, allocations: 0 / 1.005 GB, free: 8.062 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.577e-05/0.007208, allocations: 11.94 kB / 1.005 GB, free: 8.051 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.007219, allocations: 11.98 kB / 1.005 GB, free: 8.039 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: 10 (eqnTim.k,$PRE.eqnTim.k,eqnTim.tNext,$PRE.eqnTim.tNext,locTim.k,$PRE.locTim.k,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 (18): * Single equations (assignments): 18 * 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 7.051e-05/0.007289, allocations: 121.8 kB / 1.005 GB, free: 7.91 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.291e-05/0.007302, allocations: 15.91 kB / 1.005 GB, free: 7.895 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001888/0.007491, allocations: 165.9 kB / 1.005 GB, free: 7.727 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.007494, allocations: 3.984 kB / 1.005 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.007499, allocations: 0 / 1.005 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.007503, allocations: 4 kB / 1.005 GB, free: 7.719 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003522/0.007855, allocations: 418.3 kB / 1.005 GB, free: 7.262 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.007857, allocations: 0 / 1.005 GB, free: 7.262 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.802e-05/0.007905, allocations: 27.94 kB / 1.005 GB, free: 7.234 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.007907, allocations: 0 / 1.005 GB, free: 7.234 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.007918, allocations: 11.97 kB / 1.006 GB, free: 7.223 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.007919, allocations: 0 / 1.006 GB, free: 7.223 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.00792, allocations: 0 / 1.006 GB, free: 7.223 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.008086, allocations: 249.8 kB / 1.006 GB, free: 6.965 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.239e-05/0.008099, allocations: 11.94 kB / 1.006 GB, free: 6.953 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.008115, allocations: 8 kB / 1.006 GB, free: 6.945 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.292e-05/0.008178, allocations: 8 kB / 1.006 GB, free: 6.938 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003004/0.008478, allocations: 19.91 kB / 1.006 GB, free: 6.918 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.008485, allocations: 4 kB / 1.006 GB, free: 6.914 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.313e-05/0.008528, allocations: 107.6 kB / 1.006 GB, free: 6.809 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.008528, allocations: 0 / 1.006 GB, free: 6.809 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000173/0.008701, allocations: 24 kB / 1.006 GB, free: 6.785 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: 6 ($whenCondition2,$whenCondition1,locTim.tNext,locTim.k,eqnTim.tNext,eqnTim.k) * Number of discrete states: 4 (locTim.tNext,eqnTim.tNext,eqnTim.k,locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003441/0.009045, allocations: 0.7826 MB / 1.007 GB, free: 5.973 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001538/0.009199, allocations: 105.5 kB / 1.007 GB, free: 5.871 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.0092, allocations: 0 / 1.007 GB, free: 5.871 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.86e-05/0.009259, allocations: 47.92 kB / 1.007 GB, free: 5.824 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001653/0.009424, allocations: 11.94 kB / 1.007 GB, free: 5.812 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.01053, allocations: 1.618 MB / 1.008 GB, free: 4.117 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.123e-05/0.01058, allocations: 85.44 kB / 1.009 GB, free: 4.012 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.624e-05/0.01063, allocations: 12.97 kB / 1.009 GB, free: 4 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.054e-05/0.01069, allocations: 36.48 kB / 1.009 GB, free: 3.965 MB / 0.9636 GB Notification: Performance of SimCode: time 5.01e-07/0.01069, allocations: 4 kB / 1.009 GB, free: 3.961 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01488/0.02557, allocations: 3.163 MB / 1.012 GB, free: 0.9531 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.869/6.895, allocations: 9.688 kB / 1.012 GB, free: 0.9492 MB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/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: 11.415406313724816]