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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001336/0.001336, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.007752/0.007752, allocations: 169 kB / 16.26 MB, free: 6.652 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.135/1.135, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.404/2.404, allocations: 437.8 MB / 0.7121 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000315/0.000315, allocations: 15.98 kB / 0.8729 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5361/0.5364, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.00193/0.5384, allocations: 1.632 MB / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003697/0.5421, allocations: 3.372 MB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.39e-05/0.5422, allocations: 0 / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002167/0.5425, allocations: 47.75 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004233/0.5429, allocations: 123.3 kB / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 7.265e-05/0.543, allocations: 27.95 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002155/0.5432, allocations: 183.2 kB / 1.028 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.974e-05/0.5433, allocations: 21.69 kB / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001738/0.5435, allocations: 83.56 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/0.5436, allocations: 79.67 kB / 1.029 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.518e-05/0.5437, allocations: 4 kB / 1.029 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.275e-05/0.5438, allocations: 23.92 kB / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.984e-05/0.5438, allocations: 35.84 kB / 1.029 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.868e-05/0.5439, allocations: 93.23 kB / 1.029 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001849/0.5441, allocations: 155.3 kB / 1.029 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.5441, allocations: 4 kB / 1.029 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5441, allocations: 4 kB / 1.029 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.5441, allocations: 0 / 1.029 GB, free: 9.938 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.000814/0.545, allocations: 0.4946 MB / 1.029 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.545, allocations: 12.03 kB / 1.029 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.689e-05/0.5451, allocations: 38.67 kB / 1.029 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.613e-05/0.5451, allocations: 24.66 kB / 1.029 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003222/0.5454, allocations: 242.9 kB / 1.03 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.5455, allocations: 8.359 kB / 1.03 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.5455, allocations: 8.375 kB / 1.03 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003651/0.5459, allocations: 153.5 kB / 1.03 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.5459, allocations: 3.938 kB / 1.03 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.5459, allocations: 0 / 1.03 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.812e-05/0.5459, allocations: 8 kB / 1.03 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000474/0.5464, allocations: 159.9 kB / 1.03 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006941/0.5471, allocations: 464.5 kB / 1.03 GB, free: 8.191 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004372/0.5476, allocations: 182.4 kB / 1.031 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002809/0.5479, allocations: 116.8 kB / 1.031 GB, free: 7.887 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.5479, allocations: 8 kB / 1.031 GB, free: 7.879 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/0.5479, allocations: 30.56 kB / 1.031 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 2.594e-06/0.5479, allocations: 3.984 kB / 1.031 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0008828/0.5488, allocations: 317.6 kB / 1.031 GB, free: 7.52 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.5489, allocations: 59.41 kB / 1.031 GB, free: 7.449 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.549, allocations: 213 kB / 1.031 GB, free: 7.23 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.5491, allocations: 33.64 kB / 1.031 GB, free: 7.191 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.519e-05/0.5491, allocations: 120.1 kB / 1.031 GB, free: 7.07 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.443e-05/0.5492, allocations: 47.28 kB / 1.031 GB, free: 7.023 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.775e-05/0.5492, allocations: 17.72 kB / 1.032 GB, free: 7 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.867e-05/0.5493, allocations: 334.8 kB / 1.032 GB, free: 6.664 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002511/0.5496, allocations: 83.94 kB / 1.032 GB, free: 6.582 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002373/0.5498, allocations: 83.81 kB / 1.032 GB, free: 6.504 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004877/0.5503, allocations: 180.7 kB / 1.032 GB, free: 6.324 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.5504, allocations: 4 kB / 1.032 GB, free: 6.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005879/0.551, allocations: 233.4 kB / 1.032 GB, free: 6.086 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.551, allocations: 4 kB / 1.032 GB, free: 6.082 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.551, allocations: 4 kB / 1.032 GB, free: 6.078 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.708e-06/0.551, allocations: 0 / 1.032 GB, free: 6.078 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002613/0.5513, allocations: 39.91 kB / 1.032 GB, free: 6.039 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.5513, allocations: 3.984 kB / 1.032 GB, free: 6.035 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.5515, allocations: 23.89 kB / 1.032 GB, free: 6.012 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/0.5515, allocations: 11.94 kB / 1.032 GB, free: 6 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 0.0001014/0.5516, allocations: 126.4 kB / 1.033 GB, free: 5.867 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.272e-05/0.5516, allocations: 19.75 kB / 1.033 GB, free: 5.848 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.829e-05/0.5517, allocations: 25.83 kB / 1.033 GB, free: 5.828 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.5517, allocations: 4 kB / 1.033 GB, free: 5.824 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.5517, allocations: 3.938 kB / 1.033 GB, free: 5.82 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.5517, allocations: 4 kB / 1.033 GB, free: 5.816 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002738/0.552, allocations: 269.3 kB / 1.033 GB, free: 5.504 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.552, allocations: 0 / 1.033 GB, free: 5.504 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002364/0.5523, allocations: 43.89 kB / 1.033 GB, free: 5.461 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.5523, allocations: 4 kB / 1.033 GB, free: 5.457 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.5523, allocations: 0 / 1.033 GB, free: 5.457 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.5523, allocations: 4 kB / 1.033 GB, free: 5.453 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.5523, allocations: 0 / 1.033 GB, free: 5.453 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006112/0.5529, allocations: 335.2 kB / 1.033 GB, free: 5.109 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.424e-05/0.553, allocations: 112.8 kB / 1.033 GB, free: 4.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.971e-05/0.5531, allocations: 4 kB / 1.033 GB, free: 4.977 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/0.5533, allocations: 15.98 kB / 1.033 GB, free: 4.961 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.345e-05/0.5533, allocations: 19.91 kB / 1.033 GB, free: 4.941 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.5534, allocations: 4 kB / 1.033 GB, free: 4.938 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001257/0.5535, allocations: 160.4 kB / 1.034 GB, free: 4.781 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5535, allocations: 0 / 1.034 GB, free: 4.781 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002812/0.5538, allocations: 39.98 kB / 1.034 GB, free: 4.742 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.0008827/0.5547, allocations: 0.8656 MB / 1.034 GB, free: 3.848 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005454/0.5552, allocations: 191.8 kB / 1.035 GB, free: 3.66 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5552, allocations: 0 / 1.035 GB, free: 3.66 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002674/0.5555, allocations: 109.6 kB / 1.035 GB, free: 3.555 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/0.5559, allocations: 28.92 kB / 1.035 GB, free: 3.523 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003155/0.5591, allocations: 2.442 MB / 1.037 GB, free: 1 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.5593, allocations: 0.7317 MB / 1.038 GB, free: 248 kB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001811/0.5595, allocations: 52.58 kB / 1.038 GB, free: 196 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.522e-05/0.5596, allocations: 47.41 kB / 1.038 GB, free: 148 kB / 0.7794 GB Notification: Performance of SimCode: time 4.51e-07/0.5596, allocations: 4 kB / 1.038 GB, free: 144 kB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1851/0.7447, allocations: 3.511 MB / 1.041 GB, free: 12.82 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001849/0.7449, allocations: 230.6 kB / 1.042 GB, free: 12.56 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.534/2.279, allocations: 0 / 1.042 GB, free: 12.56 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 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.mat","/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