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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.005458/0.005458, allocations: 97.92 kB / 15.73 MB, free: 6.062 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.001095/0.001095, allocations: 194.8 kB / 16.68 MB, free: 5.969 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.269/1.269, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.589/2.589, allocations: 472.7 MB / 0.7453 GB, free: 440 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 63.91 kB / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.761/0.7623, allocations: 159.9 MB / 1.225 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002756/0.7651, allocations: 1.602 MB / 1.227 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0009523/0.7661, allocations: 0.5389 MB / 1.227 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.822e-05/0.7662, allocations: 0 / 1.227 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.532e-05/0.7663, allocations: 7.875 kB / 1.227 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003176/0.7666, allocations: 43.75 kB / 1.227 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001641/0.7668, allocations: 31.91 kB / 1.227 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001846/0.767, allocations: 119.5 kB / 1.227 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.7671, allocations: 23.98 kB / 1.228 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001522/0.7673, allocations: 51.77 kB / 1.228 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.7674, allocations: 47.83 kB / 1.228 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.71e-05/0.7674, allocations: 8 kB / 1.228 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 2.065e-05/0.7675, allocations: 8 kB / 1.228 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.015e-05/0.7675, allocations: 23.91 kB / 1.228 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.853e-05/0.7676, allocations: 47.78 kB / 1.228 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000169/0.7678, allocations: 91.34 kB / 1.228 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.7678, allocations: 0 / 1.228 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.864e-06/0.7678, allocations: 0 / 1.228 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.7678, allocations: 0 / 1.228 GB, free: 10.8 MB / 0.9512 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.0007557/0.7685, allocations: 407.1 kB / 1.228 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.7686, allocations: 8.031 kB / 1.228 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.326e-05/0.7686, allocations: 42.73 kB / 1.228 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.531e-05/0.7687, allocations: 12.89 kB / 1.228 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.7689, allocations: 184.2 kB / 1.228 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.7689, allocations: 4.375 kB / 1.228 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.7689, allocations: 8.375 kB / 1.228 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.7691, allocations: 85.77 kB / 1.228 GB, free: 9.969 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.7691, allocations: 0 / 1.228 GB, free: 9.969 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.7691, allocations: 7.938 kB / 1.229 GB, free: 9.961 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.7691, allocations: 0 / 1.229 GB, free: 9.961 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001242/0.7693, allocations: 51.91 kB / 1.229 GB, free: 9.91 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004971/0.7698, allocations: 344.6 kB / 1.229 GB, free: 9.523 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002732/0.7701, allocations: 106.7 kB / 1.229 GB, free: 9.41 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.555e-05/0.7702, allocations: 48.78 kB / 1.229 GB, free: 9.359 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.7702, allocations: 4 kB / 1.229 GB, free: 9.355 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002127/0.7704, allocations: 103.3 kB / 1.229 GB, free: 9.242 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=11): time 1.553e-06/0.7704, allocations: 0 / 1.229 GB, free: 9.242 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11): time 0.0003257/0.7707, allocations: 145.9 kB / 1.229 GB, free: 9.094 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.7708, allocations: 63.33 kB / 1.229 GB, free: 9.02 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.6e-05/0.7709, allocations: 125.8 kB / 1.229 GB, free: 8.887 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.7709, allocations: 29.7 kB / 1.229 GB, free: 8.852 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.48e-05/0.771, allocations: 92.36 kB / 1.23 GB, free: 8.754 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.832e-05/0.771, allocations: 31.84 kB / 1.23 GB, free: 8.723 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-05/0.7711, allocations: 33.7 kB / 1.23 GB, free: 8.684 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.157e-05/0.7712, allocations: 318.8 kB / 1.23 GB, free: 8.363 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.098e-05/0.7712, allocations: 31.98 kB / 1.23 GB, free: 8.332 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.253e-05/0.7713, allocations: 35.36 kB / 1.23 GB, free: 8.301 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.7714, allocations: 60.8 kB / 1.23 GB, free: 8.238 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.7714, allocations: 0 / 1.23 GB, free: 8.238 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000173/0.7716, allocations: 105.6 kB / 1.23 GB, free: 8.129 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.7716, allocations: 9.078 kB / 1.23 GB, free: 8.121 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.7716, allocations: 4 kB / 1.23 GB, free: 8.117 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.7716, allocations: 4 kB / 1.23 GB, free: 8.113 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.7718, allocations: 19.98 kB / 1.23 GB, free: 8.094 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.7718, allocations: 0 / 1.23 GB, free: 8.094 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.7719, allocations: 15.88 kB / 1.23 GB, free: 8.078 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.7719, allocations: 3.984 kB / 1.23 GB, free: 8.074 MB / 0.9512 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 9.768e-05/0.772, allocations: 129.8 kB / 1.23 GB, free: 7.938 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.897e-05/0.772, allocations: 3.953 kB / 1.23 GB, free: 7.934 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002628/0.7723, allocations: 150 kB / 1.23 GB, free: 7.777 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.7723, allocations: 0 / 1.23 GB, free: 7.777 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.7723, allocations: 0 / 1.23 GB, free: 7.777 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.7723, allocations: 3.938 kB / 1.23 GB, free: 7.773 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/0.7725, allocations: 213.5 kB / 1.231 GB, free: 7.516 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.7725, allocations: 3.984 kB / 1.231 GB, free: 7.512 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.524e-05/0.7726, allocations: 15.94 kB / 1.231 GB, free: 7.496 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.7726, allocations: 7.938 kB / 1.231 GB, free: 7.488 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.7726, allocations: 7.938 kB / 1.231 GB, free: 7.48 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.7726, allocations: 0 / 1.231 GB, free: 7.48 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.7726, allocations: 7.984 kB / 1.231 GB, free: 7.473 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000231/0.7729, allocations: 164.5 kB / 1.231 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.379e-05/0.7729, allocations: 89 kB / 1.231 GB, free: 7.191 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.7729, allocations: 4 kB / 1.231 GB, free: 7.188 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.777e-05/0.7731, allocations: 11.98 kB / 1.231 GB, free: 7.176 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.343e-05/0.7731, allocations: 15.91 kB / 1.231 GB, free: 7.16 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-05/0.7731, allocations: 8 kB / 1.231 GB, free: 7.152 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.951e-05/0.7732, allocations: 103.2 kB / 1.231 GB, free: 7.051 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7732, allocations: 0 / 1.231 GB, free: 7.051 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002031/0.7734, allocations: 24 kB / 1.231 GB, free: 7.027 MB / 0.9512 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.0004859/0.7739, allocations: 0.6944 MB / 1.232 GB, free: 6.305 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001877/0.7741, allocations: 87.91 kB / 1.232 GB, free: 6.219 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.7741, allocations: 4 kB / 1.232 GB, free: 6.215 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 9.002e-05/0.7742, allocations: 51.92 kB / 1.232 GB, free: 6.164 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001696/0.7744, allocations: 11.94 kB / 1.232 GB, free: 6.152 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001415/0.7758, allocations: 1.46 MB / 1.233 GB, free: 4.613 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/0.7761, allocations: 0.6924 MB / 1.234 GB, free: 3.895 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 5.711e-05/0.7761, allocations: 16.55 kB / 1.234 GB, free: 3.879 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.687e-05/0.7762, allocations: 31.42 kB / 1.234 GB, free: 3.848 MB / 0.9512 GB Notification: Performance of SimCode: time 3.81e-07/0.7762, allocations: 0 / 1.234 GB, free: 3.848 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01628/0.7925, allocations: 2.305 MB / 1.236 GB, free: 1.695 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.225/8.018, allocations: 9.109 kB / 1.236 GB, free: 1.688 MB / 0.9512 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