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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007677/0.007676, allocations: 96.7 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001782/0.001782, allocations: 194.4 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.678/2.678, allocations: 469.4 MB / 0.7421 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 63.91 kB / 1.064 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2658, allocations: 159.1 MB / 1.22 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.0025/0.2683, allocations: 1.6 MB / 1.221 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009015/0.2692, allocations: 0.5454 MB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.747e-05/0.2693, allocations: 0 / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.334e-05/0.2693, allocations: 7.922 kB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002527/0.2696, allocations: 47.7 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001215/0.2697, allocations: 39.88 kB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001347/0.2699, allocations: 107.6 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.867e-05/0.27, allocations: 23.97 kB / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.2701, allocations: 55.78 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.2702, allocations: 51.81 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/0.2702, allocations: 12 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.805e-05/0.2703, allocations: 8 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.099e-05/0.2703, allocations: 19.92 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.657e-05/0.2704, allocations: 43.78 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00015/0.2705, allocations: 99.55 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.2705, allocations: 0 / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2705, allocations: 0 / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.2706, allocations: 0 / 1.222 GB, free: 11.91 MB / 0.9825 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.0006825/0.2712, allocations: 411.1 kB / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.2713, allocations: 8.031 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.987e-05/0.2713, allocations: 34.75 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.767e-05/0.2714, allocations: 16.88 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.2715, allocations: 172.3 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.2715, allocations: 8.375 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.2716, allocations: 4.375 kB / 1.223 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.2717, allocations: 97.7 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.2717, allocations: 0 / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.2718, allocations: 0 / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.2718, allocations: 4 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.2719, allocations: 51.91 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004696/0.2724, allocations: 348.6 kB / 1.223 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002746/0.2727, allocations: 102.7 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.814e-05/0.2727, allocations: 44.83 kB / 1.224 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.2728, allocations: 0 / 1.224 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002526/0.273, allocations: 103.2 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/0.273, allocations: 3.938 kB / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0003159/0.2734, allocations: 149.5 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.2734, allocations: 55.41 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.169e-05/0.2735, allocations: 129.8 kB / 1.224 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.2735, allocations: 29.69 kB / 1.224 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.861e-05/0.2736, allocations: 92.38 kB / 1.224 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.656e-05/0.2736, allocations: 39.77 kB / 1.224 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-05/0.2737, allocations: 29.7 kB / 1.224 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.378e-05/0.2738, allocations: 310.8 kB / 1.224 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.392e-05/0.2738, allocations: 31.98 kB / 1.225 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.947e-05/0.2739, allocations: 31.98 kB / 1.225 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.274, allocations: 67.72 kB / 1.225 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.274, allocations: 4 kB / 1.225 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001852/0.2742, allocations: 113.6 kB / 1.225 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.2743, allocations: 4 kB / 1.225 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.2743, allocations: 0 / 1.225 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.2743, allocations: 4 kB / 1.225 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.2744, allocations: 19.92 kB / 1.225 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.2744, allocations: 0 / 1.225 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.2745, allocations: 19.92 kB / 1.225 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.2746, allocations: 4 kB / 1.225 GB, free: 9.176 MB / 0.9825 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 8.143e-05/0.2747, allocations: 117.8 kB / 1.225 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.041e-05/0.2747, allocations: 7.953 kB / 1.225 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002603/0.2749, allocations: 149.9 kB / 1.225 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.275, allocations: 4 kB / 1.225 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.275, allocations: 0 / 1.225 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.275, allocations: 3.938 kB / 1.225 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/0.2751, allocations: 217.5 kB / 1.225 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.2752, allocations: 7.938 kB / 1.225 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.747e-05/0.2752, allocations: 15.98 kB / 1.225 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.2753, allocations: 4 kB / 1.225 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.2753, allocations: 0 / 1.225 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2753, allocations: 0 / 1.225 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2753, allocations: 0 / 1.225 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002309/0.2755, allocations: 165.5 kB / 1.225 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.406e-05/0.2756, allocations: 93.05 kB / 1.226 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.427e-05/0.2756, allocations: 4 kB / 1.226 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.2757, allocations: 12 kB / 1.226 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.147e-05/0.2758, allocations: 15.91 kB / 1.226 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.2758, allocations: 4 kB / 1.226 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.807e-05/0.2759, allocations: 99.27 kB / 1.226 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.2759, allocations: 0 / 1.226 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002156/0.2761, allocations: 31.88 kB / 1.226 GB, free: 8.133 MB / 0.9825 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.0004785/0.2766, allocations: 0.7048 MB / 1.226 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001856/0.2768, allocations: 82.95 kB / 1.226 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2768, allocations: 0 / 1.226 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.517e-05/0.2769, allocations: 55.92 kB / 1.227 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001619/0.277, allocations: 7.938 kB / 1.227 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.2784, allocations: 1.465 MB / 1.228 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002092/0.2787, allocations: 0.7002 MB / 1.229 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.606e-05/0.2787, allocations: 8.562 kB / 1.229 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.73e-05/0.2788, allocations: 31.42 kB / 1.229 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.2788, allocations: 0 / 1.229 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01706/0.2959, allocations: 2.3 MB / 1.231 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.134/7.43, allocations: 9.672 kB / 1.231 GB, free: 2.789 MB / 0.9825 GB (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 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) 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) Reference file matches