Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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-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.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_latest_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.008063/0.008063, allocations: 95.77 kB / 15.73 MB, free: 6.039 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.002043/0.002043, allocations: 198.6 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.68/2.68, allocations: 469.4 MB / 0.7421 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 71.81 kB / 1.064 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.2644, allocations: 159.1 MB / 1.22 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002959/0.2674, allocations: 1.901 MB / 1.222 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003945/0.2713, allocations: 3.454 MB / 1.225 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.2715, allocations: 4 kB / 1.225 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002979/0.2718, allocations: 51.62 kB / 1.225 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004811/0.2723, allocations: 127.2 kB / 1.225 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 8.625e-05/0.2724, allocations: 23.97 kB / 1.225 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000248/0.2727, allocations: 171.2 kB / 1.225 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.2728, allocations: 37.66 kB / 1.225 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000204/0.273, allocations: 87.56 kB / 1.225 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.2732, allocations: 79.62 kB / 1.226 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.091e-05/0.2732, allocations: 8 kB / 1.226 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.054e-05/0.2733, allocations: 31.91 kB / 1.226 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.361e-05/0.2734, allocations: 39.84 kB / 1.226 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.457e-05/0.2735, allocations: 71.55 kB / 1.226 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002391/0.2737, allocations: 175.1 kB / 1.226 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2738, allocations: 0 / 1.226 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2738, allocations: 0 / 1.226 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.2738, allocations: 0 / 1.226 GB, free: 8.398 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008315/0.2746, allocations: 0.5061 MB / 1.226 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.2747, allocations: 8.031 kB / 1.226 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.893e-05/0.2747, allocations: 46.73 kB / 1.226 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.937e-05/0.2748, allocations: 16.84 kB / 1.226 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003321/0.2751, allocations: 239 kB / 1.227 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.2751, allocations: 4.375 kB / 1.227 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.2752, allocations: 4.375 kB / 1.227 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003543/0.2755, allocations: 149.4 kB / 1.227 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.2755, allocations: 0 / 1.227 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.2756, allocations: 0 / 1.227 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.907e-05/0.2756, allocations: 15.98 kB / 1.227 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004369/0.276, allocations: 131.9 kB / 1.227 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006709/0.2767, allocations: 444.5 kB / 1.227 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004209/0.2771, allocations: 162.5 kB / 1.227 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002597/0.2774, allocations: 100.8 kB / 1.228 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.2774, allocations: 0 / 1.228 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.2775, allocations: 38.56 kB / 1.228 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.042e-06/0.2775, allocations: 0 / 1.228 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0008819/0.2784, allocations: 288.2 kB / 1.228 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.2784, allocations: 51.41 kB / 1.228 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.2786, allocations: 217 kB / 1.228 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.2786, allocations: 25.7 kB / 1.228 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.885e-05/0.2787, allocations: 128.1 kB / 1.228 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.41e-05/0.2788, allocations: 43.62 kB / 1.228 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.551e-05/0.2788, allocations: 29.7 kB / 1.228 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.2789, allocations: 338.8 kB / 1.229 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002325/0.2792, allocations: 63.94 kB / 1.229 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002215/0.2794, allocations: 75.94 kB / 1.229 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004469/0.2799, allocations: 155.8 kB / 1.229 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.2799, allocations: 3.984 kB / 1.229 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005352/0.2804, allocations: 213.4 kB / 1.229 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.2804, allocations: 7.938 kB / 1.229 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2805, allocations: 0 / 1.229 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.2805, allocations: 0 / 1.229 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002522/0.2807, allocations: 35.95 kB / 1.229 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.2807, allocations: 4 kB / 1.229 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001705/0.2809, allocations: 23.92 kB / 1.229 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.281, allocations: 3.938 kB / 1.229 GB, free: 4.66 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: 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.0001145/0.2811, allocations: 130.3 kB / 1.229 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.042e-05/0.2811, allocations: 27.8 kB / 1.229 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.316e-05/0.2812, allocations: 25.83 kB / 1.229 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2812, allocations: 0 / 1.229 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.2812, allocations: 4 kB / 1.229 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.2812, allocations: 0 / 1.229 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002726/0.2815, allocations: 261.5 kB / 1.23 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2815, allocations: 0 / 1.23 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002191/0.2817, allocations: 31.97 kB / 1.23 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.2817, allocations: 0 / 1.23 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.2818, allocations: 8 kB / 1.23 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.083e-06/0.2818, allocations: 4 kB / 1.23 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.2818, allocations: 3.984 kB / 1.23 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005909/0.2824, allocations: 319.2 kB / 1.23 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.2825, allocations: 108.9 kB / 1.23 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.48e-05/0.2825, allocations: 4 kB / 1.23 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/0.2827, allocations: 19.97 kB / 1.23 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.924e-05/0.2828, allocations: 11.98 kB / 1.23 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.2828, allocations: 0 / 1.23 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000129/0.2829, allocations: 160.4 kB / 1.23 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2829, allocations: 0 / 1.23 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002871/0.2832, allocations: 32 kB / 1.23 GB, free: 3.438 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: 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.0008498/0.2841, allocations: 0.8456 MB / 1.231 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005207/0.2846, allocations: 172.6 kB / 1.231 GB, free: 2.398 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2846, allocations: 0 / 1.231 GB, free: 2.398 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002615/0.2849, allocations: 87.88 kB / 1.231 GB, free: 2.312 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004035/0.2853, allocations: 27.28 kB / 1.231 GB, free: 2.285 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002994/0.2883, allocations: 2.259 MB / 1.234 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.2886, allocations: 0.7315 MB / 1.234 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001574/0.2887, allocations: 52.59 kB / 1.234 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.2888, allocations: 51.41 kB / 1.234 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of SimCode: time 4.21e-07/0.2889, allocations: 0 / 1.234 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02072/0.3096, allocations: 3.768 MB / 1.238 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.541/7.85, allocations: 16.64 kB / 1.238 GB, free: 11.47 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches