Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",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.007933/0.007933, allocations: 100.6 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.001853/0.001853, allocations: 194.3 kB / 16.68 MB, free: 5.973 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.734/2.734, allocations: 469.8 MB / 0.7425 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 63.91 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7125/0.7144, allocations: 159.1 MB / 1.22 GB, free: 2.059 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003055/0.7175, allocations: 1.903 MB / 1.222 GB, free: 152 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004157/0.7217, allocations: 3.447 MB / 1.225 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.204e-05/0.7218, allocations: 0 / 1.225 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002461/0.7221, allocations: 60.53 kB / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0004248/0.7225, allocations: 133.9 kB / 1.226 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 7.44e-05/0.7226, allocations: 27.95 kB / 1.226 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002372/0.7229, allocations: 163.2 kB / 1.226 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.723, allocations: 29.67 kB / 1.226 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001757/0.7231, allocations: 87.62 kB / 1.226 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001514/0.7233, allocations: 79.62 kB / 1.226 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.967e-05/0.7233, allocations: 8 kB / 1.226 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.7235, allocations: 27.97 kB / 1.226 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 6.896e-05/0.7235, allocations: 39.84 kB / 1.226 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 8.897e-05/0.7236, allocations: 75.48 kB / 1.226 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002375/0.7239, allocations: 167.2 kB / 1.226 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.7239, allocations: 0 / 1.226 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.282e-06/0.7239, allocations: 0 / 1.226 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.7239, allocations: 3.938 kB / 1.226 GB, free: 11.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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008699/0.7248, allocations: 0.5061 MB / 1.227 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.7248, allocations: 12.02 kB / 1.227 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.523e-05/0.7249, allocations: 34.75 kB / 1.227 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.497e-05/0.7249, allocations: 16.84 kB / 1.227 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003509/0.7253, allocations: 258.9 kB / 1.227 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.387e-06/0.7253, allocations: 384 / 1.227 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.7253, allocations: 8.359 kB / 1.227 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003637/0.7257, allocations: 137.5 kB / 1.227 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.7257, allocations: 0 / 1.227 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/0.7257, allocations: 7.984 kB / 1.227 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.608e-05/0.7258, allocations: 8 kB / 1.227 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000469/0.7262, allocations: 135.8 kB / 1.227 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000716/0.727, allocations: 444.5 kB / 1.228 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004398/0.7274, allocations: 162.5 kB / 1.228 GB, free: 9.93 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002792/0.7277, allocations: 104.8 kB / 1.228 GB, free: 9.824 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.7277, allocations: 7.938 kB / 1.228 GB, free: 9.816 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.7278, allocations: 30.56 kB / 1.228 GB, free: 9.777 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=13): time 1.323e-06/0.7278, allocations: 0 / 1.228 GB, free: 9.777 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13): time 0.0008808/0.7287, allocations: 283.2 kB / 1.228 GB, free: 9.496 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.7287, allocations: 55.41 kB / 1.228 GB, free: 9.43 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002076/0.7289, allocations: 209 kB / 1.229 GB, free: 9.219 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.729, allocations: 25.7 kB / 1.229 GB, free: 9.188 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.287e-05/0.7291, allocations: 124.1 kB / 1.229 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.401e-05/0.7291, allocations: 51.58 kB / 1.229 GB, free: 9.012 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.623e-05/0.7292, allocations: 29.7 kB / 1.229 GB, free: 8.977 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.7293, allocations: 330.8 kB / 1.229 GB, free: 8.645 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002454/0.7296, allocations: 67.94 kB / 1.229 GB, free: 8.578 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002312/0.7298, allocations: 75.88 kB / 1.229 GB, free: 8.504 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004811/0.7303, allocations: 162.7 kB / 1.229 GB, free: 8.344 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.7303, allocations: 0 / 1.229 GB, free: 8.344 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005821/0.7309, allocations: 209.4 kB / 1.23 GB, free: 8.133 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.7309, allocations: 10.02 kB / 1.23 GB, free: 8.125 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.731, allocations: 3.938 kB / 1.23 GB, free: 8.121 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.731, allocations: 4 kB / 1.23 GB, free: 8.117 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002542/0.7312, allocations: 35.91 kB / 1.23 GB, free: 8.082 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.7312, allocations: 0 / 1.23 GB, free: 8.082 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/0.7314, allocations: 11.98 kB / 1.23 GB, free: 8.07 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.322e-05/0.7314, allocations: 19.92 kB / 1.23 GB, free: 8.051 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: 0 () * 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.0001144/0.7316, allocations: 121.8 kB / 1.23 GB, free: 7.922 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.632e-05/0.7316, allocations: 19.86 kB / 1.23 GB, free: 7.902 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.944e-05/0.7317, allocations: 25.83 kB / 1.23 GB, free: 7.875 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.7317, allocations: 7.938 kB / 1.23 GB, free: 7.867 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.7317, allocations: 0 / 1.23 GB, free: 7.867 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.7317, allocations: 0 / 1.23 GB, free: 7.867 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003003/0.732, allocations: 261.4 kB / 1.23 GB, free: 7.562 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.732, allocations: 0 / 1.23 GB, free: 7.562 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002259/0.7323, allocations: 39.91 kB / 1.23 GB, free: 7.523 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.7323, allocations: 0 / 1.23 GB, free: 7.523 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.7323, allocations: 11.98 kB / 1.23 GB, free: 7.512 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.7323, allocations: 0 / 1.23 GB, free: 7.512 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.7323, allocations: 0 / 1.23 GB, free: 7.512 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006426/0.733, allocations: 312.3 kB / 1.23 GB, free: 7.191 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.7331, allocations: 116.9 kB / 1.231 GB, free: 7.059 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.057e-05/0.7331, allocations: 4 kB / 1.231 GB, free: 7.055 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/0.7333, allocations: 11.98 kB / 1.231 GB, free: 7.043 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.795e-05/0.7334, allocations: 11.98 kB / 1.231 GB, free: 7.031 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.7334, allocations: 4 kB / 1.231 GB, free: 7.027 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001544/0.7336, allocations: 160.4 kB / 1.231 GB, free: 6.871 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7336, allocations: 0 / 1.231 GB, free: 6.871 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002777/0.7339, allocations: 36 kB / 1.231 GB, free: 6.836 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.001017/0.7349, allocations: 0.8427 MB / 1.232 GB, free: 5.969 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005672/0.7355, allocations: 173.3 kB / 1.232 GB, free: 5.801 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.7355, allocations: 4 kB / 1.232 GB, free: 5.797 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002741/0.7358, allocations: 91.86 kB / 1.232 GB, free: 5.707 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003912/0.7362, allocations: 24.66 kB / 1.232 GB, free: 5.68 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003354/0.7395, allocations: 2.264 MB / 1.234 GB, free: 3.348 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003551/0.7399, allocations: 0.7236 MB / 1.235 GB, free: 2.598 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001591/0.7401, allocations: 48.58 kB / 1.235 GB, free: 2.551 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.7402, allocations: 59.03 kB / 1.235 GB, free: 2.496 MB / 0.9512 GB Notification: Performance of SimCode: time 4.81e-07/0.7402, allocations: 4 kB / 1.235 GB, free: 2.492 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02538/0.7656, allocations: 3.763 MB / 1.239 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.008/8.774, allocations: 11.55 kB / 1.239 GB, free: 14.88 MB / 0.9669 GB (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches