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.001947/0.001947, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002548/0.002548, allocations: 194.5 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.552/2.552, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 6.302/6.302, allocations: 461.9 MB / 0.7343 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002441/0.002441, allocations: 59.98 kB / 0.8987 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4141/0.4166, allocations: 157.4 MB / 1.052 GB, free: 8.652 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.004899/0.4216, allocations: 1.974 MB / 1.054 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.006178/0.4278, allocations: 3.42 MB / 1.058 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001876/0.428, allocations: 0 / 1.058 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000396/0.4284, allocations: 51.73 kB / 1.058 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0007111/0.4292, allocations: 123.4 kB / 1.058 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001112/0.4293, allocations: 19.97 kB / 1.058 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003486/0.4297, allocations: 175.2 kB / 1.058 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.4298, allocations: 29.67 kB / 1.058 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002775/0.4301, allocations: 87.58 kB / 1.058 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002238/0.4304, allocations: 79.67 kB / 1.058 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.381e-05/0.4304, allocations: 12 kB / 1.058 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001325/0.4306, allocations: 31.91 kB / 1.058 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.22e-05/0.4307, allocations: 35.84 kB / 1.058 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001246/0.4308, allocations: 83.47 kB / 1.058 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003366/0.4312, allocations: 171.4 kB / 1.059 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.4312, allocations: 0 / 1.059 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.034e-06/0.4312, allocations: 0 / 1.059 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.4312, allocations: 0 / 1.059 GB, free: 2.344 MB / 0.8106 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.001252/0.4325, allocations: 0.4906 MB / 1.059 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.202e-05/0.4325, allocations: 12.62 kB / 1.059 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.957e-05/0.4326, allocations: 46.67 kB / 1.059 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.524e-05/0.4327, allocations: 20.66 kB / 1.059 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005072/0.4332, allocations: 246.8 kB / 1.059 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.4332, allocations: 12.3 kB / 1.059 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.085e-05/0.4333, allocations: 8.312 kB / 1.059 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000543/0.4338, allocations: 141.5 kB / 1.059 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.4339, allocations: 3.938 kB / 1.059 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.281e-05/0.4339, allocations: 4 kB / 1.059 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.104e-05/0.4339, allocations: 8 kB / 1.06 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006766/0.4346, allocations: 143.9 kB / 1.06 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.4357, allocations: 452.5 kB / 1.06 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006359/0.4363, allocations: 178.4 kB / 1.06 GB, free: 456 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003887/0.4367, allocations: 100.8 kB / 1.06 GB, free: 352 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.4368, allocations: 4 kB / 1.06 GB, free: 348 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.4368, allocations: 30.81 kB / 1.06 GB, free: 308 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=13): time 1.963e-06/0.4368, allocations: 0 / 1.06 GB, free: 308 kB / 0.8106 GB Notification: Performance of matching and sorting (n=13): time 0.001308/0.4381, allocations: 300.1 kB / 1.061 GB, free: 4 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.429e-05/0.4382, allocations: 55.39 kB / 1.061 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003313/0.4386, allocations: 217 kB / 1.061 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.366e-05/0.4386, allocations: 29.7 kB / 1.061 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.4387, allocations: 124.1 kB / 1.061 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.411e-05/0.4388, allocations: 51.34 kB / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.4389, allocations: 25.7 kB / 1.061 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.4391, allocations: 334.8 kB / 1.061 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003506/0.4395, allocations: 71.94 kB / 1.062 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003355/0.4398, allocations: 75.94 kB / 1.062 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007151/0.4406, allocations: 172.7 kB / 1.062 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.4406, allocations: 0 / 1.062 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008418/0.4414, allocations: 216.2 kB / 1.062 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.4415, allocations: 4 kB / 1.062 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.4415, allocations: 0 / 1.062 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.398e-05/0.4415, allocations: 7.984 kB / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003985/0.4419, allocations: 35.91 kB / 1.062 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.4419, allocations: 3.938 kB / 1.062 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002706/0.4422, allocations: 31.81 kB / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.798e-05/0.4423, allocations: 7.938 kB / 1.062 GB, free: 14.51 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.0001685/0.4424, allocations: 125.8 kB / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.927e-05/0.4425, allocations: 15.81 kB / 1.062 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.42e-05/0.4426, allocations: 21.84 kB / 1.062 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.4426, allocations: 4 kB / 1.062 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.4426, allocations: 0 / 1.062 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.4427, allocations: 3.984 kB / 1.062 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004595/0.4431, allocations: 269.4 kB / 1.062 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.4431, allocations: 0 / 1.062 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003459/0.4435, allocations: 35.91 kB / 1.063 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.4435, allocations: 0 / 1.063 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.661e-05/0.4436, allocations: 11.92 kB / 1.063 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.4436, allocations: 4 kB / 1.063 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.4436, allocations: 3.984 kB / 1.063 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009052/0.4445, allocations: 315.2 kB / 1.063 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001728/0.4447, allocations: 112.7 kB / 1.063 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.418e-05/0.4447, allocations: 8 kB / 1.063 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002986/0.4451, allocations: 11.98 kB / 1.063 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.415e-05/0.4452, allocations: 15.92 kB / 1.063 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.287e-05/0.4452, allocations: 11.98 kB / 1.063 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002156/0.4454, allocations: 164.4 kB / 1.063 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of sort global known variables: time 5.31e-07/0.4454, allocations: 0 / 1.063 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004916/0.4459, allocations: 32 kB / 1.063 GB, free: 13.27 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.001349/0.4473, allocations: 0.8489 MB / 1.064 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008496/0.4481, allocations: 199.3 kB / 1.064 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.4482, allocations: 0 / 1.064 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003924/0.4486, allocations: 99.86 kB / 1.064 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006445/0.4492, allocations: 24.41 kB / 1.064 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0049/0.4541, allocations: 2.35 MB / 1.067 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.4545, allocations: 0.7314 MB / 1.067 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002953/0.4548, allocations: 48.61 kB / 1.067 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.455, allocations: 51.41 kB / 1.067 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of SimCode: time 9.22e-07/0.455, allocations: 0 / 1.067 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06703/0.5221, allocations: 3.694 MB / 1.071 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003859/0.5225, allocations: 235.2 kB / 1.071 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.595/5.118, allocations: 0 / 1.071 GB, free: 5.039 MB / 0.8262 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 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.mat","/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