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.001281/0.001281, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001347/0.001347, allocations: 215 kB / 20.13 MB, free: 2.949 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.486/1.486, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.931/2.931, allocations: 0.5003 GB / 0.8026 GB, free: 6.746 MB / 0.6387 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",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.00219/0.00219, allocations: 63.91 kB / 1.165 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9809/0.983, allocations: 178.9 MB / 1.34 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.003497/0.9865, allocations: 1.628 MB / 1.342 GB, free: 12.5 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001323/0.9879, allocations: 0.6131 MB / 1.342 GB, free: 12.02 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.988, allocations: 0 / 1.342 GB, free: 12.02 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.504e-05/0.988, allocations: 7.938 kB / 1.342 GB, free: 12.01 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003418/0.9884, allocations: 55.09 kB / 1.342 GB, free: 11.96 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002126/0.9886, allocations: 40.81 kB / 1.342 GB, free: 11.93 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.9887, allocations: 105.3 kB / 1.343 GB, free: 11.88 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.9889, allocations: 21.31 kB / 1.343 GB, free: 11.86 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002161/0.9891, allocations: 55.22 kB / 1.343 GB, free: 11.83 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/0.9892, allocations: 60.83 kB / 1.343 GB, free: 11.79 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.5e-05/0.9893, allocations: 7.562 kB / 1.343 GB, free: 11.79 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.256e-05/0.9893, allocations: 16.59 kB / 1.343 GB, free: 11.79 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.457e-05/0.9894, allocations: 19.11 kB / 1.343 GB, free: 11.77 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.598e-05/0.9894, allocations: 45.52 kB / 1.343 GB, free: 11.74 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.9897, allocations: 97.81 kB / 1.343 GB, free: 11.67 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.9897, allocations: 0 / 1.343 GB, free: 11.67 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9897, allocations: 0 / 1.343 GB, free: 11.67 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.9897, allocations: 5.062 kB / 1.343 GB, free: 11.67 MB / 1.029 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.0008945/0.9906, allocations: 408.3 kB / 1.343 GB, free: 11.26 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.9906, allocations: 9.938 kB / 1.343 GB, free: 11.26 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.183e-05/0.9906, allocations: 10.19 kB / 1.343 GB, free: 11.25 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.014e-05/0.9907, allocations: 36.92 kB / 1.343 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001884/0.9909, allocations: 17.23 kB / 1.343 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.9911, allocations: 179.8 kB / 1.343 GB, free: 10.99 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.9911, allocations: 11.16 kB / 1.343 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.962e-05/0.9911, allocations: 5 kB / 1.343 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002141/0.9913, allocations: 88.95 kB / 1.344 GB, free: 10.91 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.9914, allocations: 1.094 kB / 1.344 GB, free: 10.91 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/0.9914, allocations: 4 kB / 1.344 GB, free: 10.91 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.9914, allocations: 2.531 kB / 1.344 GB, free: 10.91 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.9915, allocations: 50.59 kB / 1.344 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005639/0.9921, allocations: 344.4 kB / 1.344 GB, free: 10.54 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003016/0.9924, allocations: 102.2 kB / 1.344 GB, free: 10.47 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.198e-05/0.9925, allocations: 38.78 kB / 1.344 GB, free: 10.45 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.9925, allocations: 5.281 kB / 1.344 GB, free: 10.45 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00024/0.9927, allocations: 96.91 kB / 1.344 GB, free: 10.36 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.853e-06/0.9927, allocations: 4 kB / 1.344 GB, free: 10.36 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0003599/0.9931, allocations: 150.4 kB / 1.344 GB, free: 10.27 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.9931, allocations: 53.03 kB / 1.344 GB, free: 10.21 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.9932, allocations: 131.5 kB / 1.345 GB, free: 10.09 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.9933, allocations: 26.86 kB / 1.345 GB, free: 10.05 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.954e-05/0.9933, allocations: 95.16 kB / 1.345 GB, free: 9.957 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.041e-05/0.9934, allocations: 35.55 kB / 1.345 GB, free: 9.926 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.253e-05/0.9934, allocations: 30.11 kB / 1.345 GB, free: 9.898 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.9936, allocations: 321.4 kB / 1.345 GB, free: 9.578 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.404e-05/0.9936, allocations: 29.14 kB / 1.345 GB, free: 9.562 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.862e-05/0.9937, allocations: 27.61 kB / 1.345 GB, free: 9.551 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/0.9938, allocations: 71.62 kB / 1.345 GB, free: 9.508 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.9938, allocations: 0 / 1.345 GB, free: 9.508 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000191/0.994, allocations: 112.1 kB / 1.345 GB, free: 9.438 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.994, allocations: 4.781 kB / 1.345 GB, free: 9.438 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.994, allocations: 1.156 kB / 1.345 GB, free: 9.438 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.994, allocations: 1.062 kB / 1.345 GB, free: 9.438 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.9941, allocations: 18.27 kB / 1.345 GB, free: 9.434 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.9942, allocations: 7.938 kB / 1.345 GB, free: 9.426 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.9943, allocations: 9.516 kB / 1.345 GB, free: 9.422 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/0.9943, allocations: 10.22 kB / 1.345 GB, free: 9.414 MB / 1.029 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.000104/0.9944, allocations: 119.3 kB / 1.345 GB, free: 9.293 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.19e-05/0.9944, allocations: 7.266 kB / 1.345 GB, free: 9.289 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002937/0.9947, allocations: 148.7 kB / 1.346 GB, free: 9.195 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.9947, allocations: 2.188 kB / 1.346 GB, free: 9.195 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.9947, allocations: 7.938 kB / 1.346 GB, free: 9.188 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.9947, allocations: 0 / 1.346 GB, free: 9.188 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002092/0.9949, allocations: 217 kB / 1.346 GB, free: 8.949 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.9949, allocations: 0 / 1.346 GB, free: 8.949 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.59e-05/0.995, allocations: 21.8 kB / 1.346 GB, free: 8.941 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.995, allocations: 1.125 kB / 1.346 GB, free: 8.941 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.995, allocations: 5.156 kB / 1.346 GB, free: 8.938 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.995, allocations: 0 / 1.346 GB, free: 8.938 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.995, allocations: 5.094 kB / 1.346 GB, free: 8.934 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.9953, allocations: 161.4 kB / 1.346 GB, free: 8.816 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.651e-05/0.9954, allocations: 84.28 kB / 1.346 GB, free: 8.719 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.648e-05/0.9954, allocations: 8.766 kB / 1.346 GB, free: 8.711 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.9955, allocations: 5.156 kB / 1.346 GB, free: 8.711 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.214e-05/0.9956, allocations: 21.3 kB / 1.346 GB, free: 8.695 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.9956, allocations: 7.172 kB / 1.346 GB, free: 8.691 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.279e-05/0.9957, allocations: 103 kB / 1.346 GB, free: 8.602 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.9957, allocations: 0 / 1.346 GB, free: 8.602 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002066/0.9959, allocations: 19.47 kB / 1.346 GB, free: 8.602 MB / 1.029 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.0005783/0.9965, allocations: 0.7064 MB / 1.347 GB, free: 7.949 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002068/0.9967, allocations: 85.95 kB / 1.347 GB, free: 7.91 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.9967, allocations: 0 / 1.347 GB, free: 7.91 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.638e-05/0.9968, allocations: 47.11 kB / 1.347 GB, free: 7.891 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001692/0.9969, allocations: 20.03 kB / 1.347 GB, free: 7.875 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/0.9986, allocations: 1.462 MB / 1.348 GB, free: 6.562 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.9989, allocations: 0.7016 MB / 1.349 GB, free: 5.852 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.207e-05/0.9989, allocations: 7.312 kB / 1.349 GB, free: 5.852 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.017e-05/0.999, allocations: 32.89 kB / 1.349 GB, free: 5.824 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.999, allocations: 0 / 1.349 GB, free: 5.824 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01864/1.018, allocations: 2.365 MB / 1.351 GB, free: 4.621 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.155/9.173, allocations: 5.875 kB / 1.351 GB, free: 4.617 MB / 1.029 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --stepSize=172.765 --timeout=800 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.58860537596047]