Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.EN12975HeatLoss,fileNamePrefix="Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_10_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.001325/0.001325, allocations: 108 kB / 15.6 MB, free: 132 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.001368/0.001368, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.322/1.322, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.517/2.517, allocations: 437.1 MB / 0.7104 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 63.91 kB / 0.8693 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4833/0.4846, allocations: 151.6 MB / 1.017 GB, free: 2.445 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002891/0.4875, allocations: 1.916 MB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003507/0.491, allocations: 3.454 MB / 1.023 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.326e-05/0.4911, allocations: 0 / 1.023 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002164/0.4913, allocations: 47.62 kB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003734/0.4917, allocations: 135.2 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 6.227e-05/0.4918, allocations: 31.91 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001944/0.492, allocations: 179.2 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.715e-05/0.4921, allocations: 17.69 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/0.4923, allocations: 99.56 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.4924, allocations: 75.67 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.448e-05/0.4925, allocations: 8 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.066e-05/0.4925, allocations: 35.91 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.24e-05/0.4926, allocations: 35.84 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.238e-05/0.4927, allocations: 75.55 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.4929, allocations: 163.4 kB / 1.024 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.4929, allocations: 4 kB / 1.024 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.082e-06/0.4929, allocations: 7.938 kB / 1.024 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.4929, allocations: 4 kB / 1.024 GB, free: 12.14 MB / 0.7794 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.0008366/0.4938, allocations: 0.4945 MB / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.4938, allocations: 12.03 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.814e-05/0.4938, allocations: 42.72 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.336e-05/0.4939, allocations: 20.66 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003218/0.4942, allocations: 246.9 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.4942, allocations: 4.375 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.4943, allocations: 4.375 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003592/0.4946, allocations: 149.4 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.4946, allocations: 0 / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.4947, allocations: 3.938 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.459e-05/0.4947, allocations: 8 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004529/0.4952, allocations: 143.9 kB / 1.025 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006455/0.4958, allocations: 456.5 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004198/0.4962, allocations: 174.4 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002686/0.4965, allocations: 105 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.4965, allocations: 4 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.4966, allocations: 38.56 kB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.4966, allocations: 0 / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0008431/0.4974, allocations: 292.1 kB / 1.026 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.4975, allocations: 59.34 kB / 1.026 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.4977, allocations: 213 kB / 1.026 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.4977, allocations: 29.7 kB / 1.026 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.39e-05/0.4978, allocations: 120.1 kB / 1.026 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.172e-05/0.4978, allocations: 47.28 kB / 1.026 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.651e-05/0.4979, allocations: 29.7 kB / 1.026 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.498, allocations: 342.8 kB / 1.026 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002355/0.4982, allocations: 71.94 kB / 1.027 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002366/0.4985, allocations: 71.94 kB / 1.027 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004623/0.4989, allocations: 170 kB / 1.027 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.4989, allocations: 0 / 1.027 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005428/0.4995, allocations: 217.3 kB / 1.027 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.4995, allocations: 8 kB / 1.027 GB, free: 8.395 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.4995, allocations: 0 / 1.027 GB, free: 8.395 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.4995, allocations: 0 / 1.027 GB, free: 8.395 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002577/0.4998, allocations: 31.97 kB / 1.027 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.4998, allocations: 3.984 kB / 1.027 GB, free: 8.359 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001671/0.5, allocations: 15.89 kB / 1.027 GB, free: 8.344 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.5, allocations: 19.92 kB / 1.027 GB, free: 8.324 MB / 0.7794 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 9.566e-05/0.5001, allocations: 127.4 kB / 1.027 GB, free: 8.191 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.878e-05/0.5002, allocations: 23.8 kB / 1.027 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.346e-05/0.5002, allocations: 25.78 kB / 1.027 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.5002, allocations: 0 / 1.027 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.5002, allocations: 3.938 kB / 1.027 GB, free: 8.145 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.5003, allocations: 3.984 kB / 1.027 GB, free: 8.141 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002637/0.5005, allocations: 277.3 kB / 1.027 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.5005, allocations: 0 / 1.027 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002281/0.5008, allocations: 31.97 kB / 1.028 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.5008, allocations: 8 kB / 1.028 GB, free: 7.781 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.5008, allocations: 3.984 kB / 1.028 GB, free: 7.777 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.5008, allocations: 0 / 1.028 GB, free: 7.777 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.5008, allocations: 0 / 1.028 GB, free: 7.777 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005936/0.5014, allocations: 329.8 kB / 1.028 GB, free: 7.441 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.887e-05/0.5015, allocations: 112.8 kB / 1.028 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.25e-05/0.5015, allocations: 4 kB / 1.028 GB, free: 7.309 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002064/0.5018, allocations: 11.98 kB / 1.028 GB, free: 7.297 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.118e-05/0.5018, allocations: 11.98 kB / 1.028 GB, free: 7.285 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.5018, allocations: 7.984 kB / 1.028 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000125/0.502, allocations: 156.4 kB / 1.028 GB, free: 7.125 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.502, allocations: 0 / 1.028 GB, free: 7.125 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002748/0.5022, allocations: 40 kB / 1.028 GB, free: 7.086 MB / 0.7794 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.0008634/0.5031, allocations: 0.8528 MB / 1.029 GB, free: 6.203 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005442/0.5037, allocations: 187.9 kB / 1.029 GB, free: 6.02 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.5037, allocations: 0 / 1.029 GB, free: 6.02 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000254/0.5039, allocations: 97.48 kB / 1.029 GB, free: 5.926 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.5043, allocations: 24.98 kB / 1.029 GB, free: 5.898 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00303/0.5073, allocations: 2.321 MB / 1.032 GB, free: 3.492 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002612/0.5076, allocations: 0.7237 MB / 1.032 GB, free: 2.742 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001755/0.5078, allocations: 48.53 kB / 1.032 GB, free: 2.695 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.418e-05/0.5079, allocations: 55.41 kB / 1.032 GB, free: 2.641 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.5079, allocations: 0 / 1.032 GB, free: 2.641 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01821/0.5261, allocations: 3.865 MB / 1.036 GB, free: 14.91 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.871/7.397, allocations: 6.703 kB / 1.036 GB, free: 14.91 MB / 0.795 GB (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches