Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_10_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.007017/0.007018, allocations: 98.16 kB / 15.73 MB, free: 6.008 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.001852/0.001852, allocations: 196.1 kB / 16.67 MB, free: 5.926 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.276/1.276, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.361/2.361, allocations: 437.1 MB / 0.7105 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 67.89 kB / 1.018 GB, free: 9.902 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6513/0.6526, allocations: 151.6 MB / 1.166 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002523/0.6551, allocations: 1.61 MB / 1.168 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008736/0.656, allocations: 0.5415 MB / 1.168 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.059e-05/0.6561, allocations: 4 kB / 1.168 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.919e-05/0.6561, allocations: 3.938 kB / 1.168 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002562/0.6564, allocations: 47.69 kB / 1.168 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001148/0.6565, allocations: 31.91 kB / 1.168 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.6567, allocations: 119.5 kB / 1.168 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.7e-05/0.6568, allocations: 16 kB / 1.168 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.6569, allocations: 47.83 kB / 1.169 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.657, allocations: 47.83 kB / 1.169 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.093e-05/0.657, allocations: 12 kB / 1.169 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.632e-05/0.657, allocations: 8 kB / 1.169 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.355e-05/0.6571, allocations: 23.91 kB / 1.169 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.013e-05/0.6571, allocations: 47.78 kB / 1.169 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001342/0.6573, allocations: 90.3 kB / 1.169 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.6573, allocations: 4 kB / 1.169 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of FrontEnd: time 7.82e-07/0.6573, allocations: 0 / 1.169 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.6573, allocations: 0 / 1.169 GB, free: 1.148 MB / 0.8887 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.0006607/0.658, allocations: 408 kB / 1.169 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.658, allocations: 8.922 kB / 1.169 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.114e-05/0.6581, allocations: 42.73 kB / 1.169 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.499e-05/0.6581, allocations: 8.891 kB / 1.169 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.6582, allocations: 184.3 kB / 1.169 GB, free: 428 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.6583, allocations: 384 / 1.169 GB, free: 428 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.6583, allocations: 12.31 kB / 1.169 GB, free: 416 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.6584, allocations: 87.88 kB / 1.169 GB, free: 324 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.6585, allocations: 8 kB / 1.169 GB, free: 316 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.6585, allocations: 0 / 1.169 GB, free: 316 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.6585, allocations: 0 / 1.169 GB, free: 316 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.6586, allocations: 47.97 kB / 1.17 GB, free: 268 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004672/0.6591, allocations: 348.5 kB / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002718/0.6594, allocations: 106.7 kB / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.415e-05/0.6594, allocations: 48.84 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.6595, allocations: 3.938 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001917/0.6597, allocations: 95.28 kB / 1.17 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=11): time 1.533e-06/0.6597, allocations: 0 / 1.17 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11): time 0.0003098/0.66, allocations: 145.6 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.66, allocations: 59.39 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.226e-05/0.6601, allocations: 133.7 kB / 1.17 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.6602, allocations: 29.7 kB / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.348e-05/0.6602, allocations: 96.31 kB / 1.171 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.72e-05/0.6603, allocations: 31.84 kB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.625e-05/0.6603, allocations: 29.7 kB / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.246e-05/0.6604, allocations: 322.8 kB / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.692e-05/0.6605, allocations: 23.98 kB / 1.171 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.402e-05/0.6605, allocations: 33.11 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001095/0.6606, allocations: 62.11 kB / 1.171 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.6606, allocations: 0 / 1.171 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001729/0.6608, allocations: 111 kB / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.6608, allocations: 11.98 kB / 1.171 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.6609, allocations: 0 / 1.171 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.6609, allocations: 3.938 kB / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.661, allocations: 19.98 kB / 1.171 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.661, allocations: 4 kB / 1.171 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.6611, allocations: 11.88 kB / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.6611, allocations: 4 kB / 1.171 GB, free: 14.43 MB / 0.9044 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.818e-05/0.6612, allocations: 125.8 kB / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.973e-05/0.6612, allocations: 7.953 kB / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002503/0.6615, allocations: 146 kB / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.6615, allocations: 4 kB / 1.171 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.6615, allocations: 0 / 1.171 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.6615, allocations: 3.938 kB / 1.171 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.6617, allocations: 217.5 kB / 1.172 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.6617, allocations: 0 / 1.172 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.968e-05/0.6618, allocations: 20 kB / 1.172 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.6618, allocations: 0 / 1.172 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.6618, allocations: 4 kB / 1.172 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.6618, allocations: 3.984 kB / 1.172 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.6618, allocations: 15.86 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002234/0.6621, allocations: 161.9 kB / 1.172 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.946e-05/0.6621, allocations: 85 kB / 1.172 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.6621, allocations: 4 kB / 1.172 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.6622, allocations: 15.98 kB / 1.172 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.6623, allocations: 11.92 kB / 1.172 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.6623, allocations: 8 kB / 1.172 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.994e-05/0.6624, allocations: 96.14 kB / 1.172 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.6624, allocations: 0 / 1.172 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002041/0.6626, allocations: 24 kB / 1.172 GB, free: 13.39 MB / 0.9044 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.0004682/0.6631, allocations: 0.704 MB / 1.173 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001829/0.6633, allocations: 91.91 kB / 1.173 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.6633, allocations: 0 / 1.173 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.447e-05/0.6634, allocations: 43.98 kB / 1.173 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001602/0.6635, allocations: 14.77 kB / 1.173 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/0.6649, allocations: 1.46 MB / 1.174 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002136/0.6651, allocations: 0.7002 MB / 1.175 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 5.329e-05/0.6652, allocations: 8.547 kB / 1.175 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.017e-05/0.6652, allocations: 35.42 kB / 1.175 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of SimCode: time 2.71e-07/0.6652, allocations: 0 / 1.175 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.996/1.661, allocations: 2.309 MB / 1.177 GB, free: 8.039 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.882/10.54, allocations: 17.52 kB / 1.177 GB, free: 8.023 MB / 0.9044 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches