Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_9_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.007714/0.007714, allocations: 101 kB / 15.73 MB, free: 6.059 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.001756/0.001756, allocations: 195.3 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.243/1.243, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.041/2.041, allocations: 390.3 MB / 0.6648 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 67.89 kB / 0.9504 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7255/0.7269, allocations: 140.4 MB / 1.087 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002404/0.7293, allocations: 1.593 MB / 1.089 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007701/0.7301, allocations: 0.5425 MB / 1.09 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.792e-05/0.7302, allocations: 1.125 kB / 1.09 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.264e-05/0.7302, allocations: 6.656 kB / 1.09 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002343/0.7305, allocations: 57.7 kB / 1.09 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001051/0.7306, allocations: 37.8 kB / 1.09 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.7307, allocations: 110.4 kB / 1.09 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.643e-05/0.7308, allocations: 14.67 kB / 1.09 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.7309, allocations: 54.8 kB / 1.09 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.731, allocations: 44.89 kB / 1.09 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.194e-05/0.731, allocations: 9.031 kB / 1.09 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.941e-05/0.7311, allocations: 7.906 kB / 1.09 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.218e-05/0.7311, allocations: 31.92 kB / 1.09 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.879e-05/0.7312, allocations: 42.25 kB / 1.09 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001403/0.7313, allocations: 90 kB / 1.09 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.7313, allocations: 0.75 kB / 1.09 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.064e-06/0.7313, allocations: 0.6094 kB / 1.09 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.7313, allocations: 1.219 kB / 1.09 GB, free: 3.57 MB / 0.8575 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.0006192/0.732, allocations: 402.3 kB / 1.09 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.732, allocations: 14.28 kB / 1.09 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.412e-05/0.732, allocations: 46.48 kB / 1.09 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.32e-05/0.7321, allocations: 13.67 kB / 1.091 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.353e-05/0.7322, allocations: 182.6 kB / 1.091 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.7322, allocations: 2.625 kB / 1.091 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.7322, allocations: 9.578 kB / 1.091 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.7324, allocations: 84.56 kB / 1.091 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.7324, allocations: 0.6562 kB / 1.091 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.7324, allocations: 5.062 kB / 1.091 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.7324, allocations: 2.281 kB / 1.091 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001125/0.7325, allocations: 53.41 kB / 1.091 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004312/0.733, allocations: 340.8 kB / 1.091 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002739/0.7333, allocations: 105.6 kB / 1.091 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.251e-05/0.7334, allocations: 49.67 kB / 1.091 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/0.7334, allocations: 1.406 kB / 1.091 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002014/0.7336, allocations: 95.3 kB / 1.091 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.533e-06/0.7336, allocations: 0.75 kB / 1.091 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0003233/0.7339, allocations: 153.8 kB / 1.092 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.581e-05/0.734, allocations: 52.28 kB / 1.092 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.092e-05/0.734, allocations: 129.5 kB / 1.092 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.7341, allocations: 34.64 kB / 1.092 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.965e-05/0.7341, allocations: 93.86 kB / 1.092 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.195e-05/0.7341, allocations: 31.33 kB / 1.092 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.327e-05/0.7342, allocations: 27.39 kB / 1.092 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.977e-05/0.7342, allocations: 320.4 kB / 1.092 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.916e-05/0.7343, allocations: 26.59 kB / 1.092 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.21e-05/0.7343, allocations: 30.06 kB / 1.092 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/0.7345, allocations: 67.22 kB / 1.092 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.7345, allocations: 4 kB / 1.092 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001668/0.7346, allocations: 106.9 kB / 1.092 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.7347, allocations: 6.625 kB / 1.092 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.7347, allocations: 3.938 kB / 1.092 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.7347, allocations: 0.9375 kB / 1.092 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.7348, allocations: 17.86 kB / 1.092 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.7348, allocations: 4.656 kB / 1.092 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.7349, allocations: 19.2 kB / 1.092 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.7349, allocations: 3.953 kB / 1.092 GB, free: 1.496 MB / 0.8575 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 6.408e-05/0.735, allocations: 123.3 kB / 1.093 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.028e-05/0.735, allocations: 9.031 kB / 1.093 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002582/0.7353, allocations: 151.2 kB / 1.093 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.7353, allocations: 1.75 kB / 1.093 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.7353, allocations: 0.875 kB / 1.093 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.7353, allocations: 4.734 kB / 1.093 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001396/0.7355, allocations: 221.2 kB / 1.093 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.7355, allocations: 0.75 kB / 1.093 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.406e-05/0.7356, allocations: 19.44 kB / 1.093 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.7356, allocations: 0.8125 kB / 1.093 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.7356, allocations: 6.453 kB / 1.093 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.7356, allocations: 1.344 kB / 1.093 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.7356, allocations: 0.6094 kB / 1.093 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002172/0.7358, allocations: 161.6 kB / 1.093 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.616e-05/0.7359, allocations: 89.66 kB / 1.093 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.7359, allocations: 6.719 kB / 1.093 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.736, allocations: 14.81 kB / 1.093 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.336e-05/0.7361, allocations: 13.52 kB / 1.093 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.7361, allocations: 9.125 kB / 1.093 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.664e-05/0.7361, allocations: 94.8 kB / 1.093 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7361, allocations: 0 / 1.093 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002037/0.7364, allocations: 27.98 kB / 1.093 GB, free: 0.7383 MB / 0.8575 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.0003935/0.7367, allocations: 0.7024 MB / 1.094 GB, free: 104 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001927/0.737, allocations: 85.75 kB / 1.094 GB, free: 76 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.737, allocations: 0 / 1.094 GB, free: 76 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.137e-05/0.7371, allocations: 53.09 kB / 1.094 GB, free: 60 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001595/0.7372, allocations: 17.05 kB / 1.094 GB, free: 48 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.7387, allocations: 1.443 MB / 1.096 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.739, allocations: 0.7004 MB / 1.096 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 5.851e-05/0.7391, allocations: 8.891 kB / 1.096 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.311e-05/0.7391, allocations: 34.03 kB / 1.096 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of SimCode: time 2.8e-07/0.7391, allocations: 0 / 1.096 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01621/0.7553, allocations: 2.304 MB / 1.099 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.176/7.932, allocations: 8.031 kB / 1.099 GB, free: 13.67 MB / 0.8731 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches