Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.EN12975HeatLoss,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",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.001111/0.001111, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001091/0.00109, allocations: 194.8 kB / 16.53 MB, free: 6.699 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.282/1.282, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.612/2.612, allocations: 469.4 MB / 0.742 GB, free: 7.781 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 64.2 kB / 0.9083 GB, free: 34.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2636, allocations: 159.1 MB / 1.064 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003347/0.267, allocations: 1.926 MB / 1.066 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004166/0.2712, allocations: 3.439 MB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.412e-05/0.2713, allocations: 0 / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002486/0.2716, allocations: 51.62 kB / 1.069 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004523/0.272, allocations: 131.3 kB / 1.069 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 7.557e-05/0.2721, allocations: 27.91 kB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002229/0.2724, allocations: 183.1 kB / 1.069 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.2725, allocations: 29.69 kB / 1.069 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001706/0.2727, allocations: 87.62 kB / 1.069 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001674/0.2728, allocations: 83.61 kB / 1.069 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.97e-05/0.2729, allocations: 8 kB / 1.069 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.714e-05/0.273, allocations: 35.91 kB / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.529e-05/0.273, allocations: 39.84 kB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.135e-05/0.2731, allocations: 79.48 kB / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002146/0.2734, allocations: 159.4 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.2734, allocations: 4 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.174e-06/0.2734, allocations: 0 / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.658e-06/0.2734, allocations: 0 / 1.07 GB, free: 8.293 MB / 0.8262 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.0009005/0.2743, allocations: 0.5062 MB / 1.07 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.2743, allocations: 12.03 kB / 1.07 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.295e-05/0.2744, allocations: 34.73 kB / 1.07 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.562e-05/0.2745, allocations: 24.66 kB / 1.07 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003529/0.2748, allocations: 250.8 kB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.2748, allocations: 8.312 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.2749, allocations: 4.375 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000378/0.2752, allocations: 147.2 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.2753, allocations: 0 / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.2753, allocations: 0 / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.056e-05/0.2753, allocations: 8 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004992/0.2758, allocations: 147.8 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007146/0.2765, allocations: 452.5 kB / 1.071 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004633/0.277, allocations: 174.5 kB / 1.071 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003759/0.2774, allocations: 110.8 kB / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.2774, allocations: 3.984 kB / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.2775, allocations: 34.56 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.283e-06/0.2775, allocations: 0 / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0009002/0.2784, allocations: 293.6 kB / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.2784, allocations: 55.41 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002081/0.2786, allocations: 217 kB / 1.072 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.2787, allocations: 29.7 kB / 1.072 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.847e-05/0.2788, allocations: 124.1 kB / 1.072 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.827e-05/0.2788, allocations: 39.36 kB / 1.072 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.789e-05/0.2789, allocations: 33.7 kB / 1.072 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.279, allocations: 334.8 kB / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000259/0.2793, allocations: 75.88 kB / 1.073 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000241/0.2795, allocations: 79.94 kB / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004959/0.28, allocations: 163.6 kB / 1.073 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.28, allocations: 3.938 kB / 1.073 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006253/0.2807, allocations: 225.3 kB / 1.073 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.2807, allocations: 4 kB / 1.073 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.2807, allocations: 0 / 1.073 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.2807, allocations: 0 / 1.073 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002925/0.281, allocations: 35.91 kB / 1.073 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.281, allocations: 7.938 kB / 1.073 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.2812, allocations: 15.92 kB / 1.073 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.2813, allocations: 15.92 kB / 1.073 GB, free: 4.461 MB / 0.8262 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.0001125/0.2814, allocations: 122.4 kB / 1.073 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.147e-05/0.2814, allocations: 19.81 kB / 1.073 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.351e-05/0.2815, allocations: 25.83 kB / 1.073 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.2815, allocations: 0 / 1.073 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.2815, allocations: 4 kB / 1.073 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.2815, allocations: 0 / 1.073 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002897/0.2818, allocations: 273.4 kB / 1.074 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.457e-06/0.2818, allocations: 4 kB / 1.074 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002511/0.2821, allocations: 31.91 kB / 1.074 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.2821, allocations: 4 kB / 1.074 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.2821, allocations: 3.984 kB / 1.074 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.2821, allocations: 0 / 1.074 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2821, allocations: 0 / 1.074 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006435/0.2828, allocations: 315.2 kB / 1.074 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.2829, allocations: 116.7 kB / 1.074 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.383e-05/0.2829, allocations: 4 kB / 1.074 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002208/0.2832, allocations: 15.98 kB / 1.074 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.569e-05/0.2832, allocations: 11.98 kB / 1.074 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.2833, allocations: 4 kB / 1.074 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001279/0.2834, allocations: 160.4 kB / 1.074 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2834, allocations: 0 / 1.074 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003136/0.2837, allocations: 40 kB / 1.074 GB, free: 3.227 MB / 0.8262 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.000939/0.2847, allocations: 0.8602 MB / 1.075 GB, free: 2.344 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005935/0.2853, allocations: 187.8 kB / 1.075 GB, free: 2.16 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2853, allocations: 0 / 1.075 GB, free: 2.16 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002767/0.2856, allocations: 99.86 kB / 1.076 GB, free: 2.062 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003949/0.286, allocations: 36.34 kB / 1.076 GB, free: 2.027 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003331/0.2893, allocations: 2.305 MB / 1.078 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.2896, allocations: 0.7275 MB / 1.079 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001832/0.2898, allocations: 52.56 kB / 1.079 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.2899, allocations: 55.41 kB / 1.079 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of SimCode: time 2.875e-06/0.29, allocations: 0 / 1.079 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02002/0.31, allocations: 3.862 MB / 1.082 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.847/7.157, allocations: 10.86 kB / 1.082 GB, free: 11.07 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_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_EN12975HeatLoss.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches