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.001299/0.001299, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001257/0.001257, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.303/1.303, allocations: 222.9 MB / 239.9 MB, free: 4.5 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.353/2.353, allocations: 437 MB / 0.7101 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 67.89 kB / 0.8689 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4488/0.45, allocations: 151.6 MB / 1.017 GB, free: 2.656 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002636/0.4526, allocations: 1.971 MB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003173/0.4558, allocations: 3.411 MB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.013e-05/0.4559, allocations: 0 / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002196/0.4562, allocations: 43.8 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003701/0.4565, allocations: 123.3 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 6.681e-05/0.4566, allocations: 27.97 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000178/0.4568, allocations: 175.2 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.487e-05/0.4569, allocations: 29.67 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001489/0.457, allocations: 79.64 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.4572, allocations: 91.61 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.4572, allocations: 8 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.191e-05/0.4573, allocations: 31.91 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.569e-05/0.4574, allocations: 39.84 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.936e-05/0.4574, allocations: 79.53 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001728/0.4576, allocations: 159.4 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.4576, allocations: 4 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.172e-06/0.4576, allocations: 0 / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.4576, allocations: 0 / 1.023 GB, free: 12.37 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.0007622/0.4584, allocations: 0.5023 MB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.4584, allocations: 16.02 kB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.328e-05/0.4585, allocations: 30.75 kB / 1.024 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.036e-05/0.4585, allocations: 20.66 kB / 1.024 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002866/0.4588, allocations: 250.8 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.444e-06/0.4588, allocations: 4.375 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/0.4589, allocations: 8.359 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003076/0.4592, allocations: 149.5 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.4592, allocations: 3.984 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.4592, allocations: 0 / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.451e-05/0.4592, allocations: 11.98 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000379/0.4596, allocations: 147.8 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005803/0.4602, allocations: 448.5 kB / 1.025 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003599/0.4606, allocations: 174.5 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002234/0.4608, allocations: 104.8 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.4608, allocations: 3.938 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.4609, allocations: 42.5 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.082e-06/0.4609, allocations: 0 / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.000721/0.4616, allocations: 297.1 kB / 1.025 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/0.4616, allocations: 59.41 kB / 1.025 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.4618, allocations: 213 kB / 1.025 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.4618, allocations: 25.7 kB / 1.025 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.029e-05/0.4619, allocations: 120.1 kB / 1.026 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.861e-05/0.4619, allocations: 43.3 kB / 1.026 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.104e-05/0.462, allocations: 33.7 kB / 1.026 GB, free: 9.488 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.592e-05/0.4621, allocations: 334.8 kB / 1.026 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/0.4623, allocations: 75.94 kB / 1.026 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/0.4625, allocations: 75.88 kB / 1.026 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003908/0.4629, allocations: 164.7 kB / 1.026 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4629, allocations: 0 / 1.026 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004613/0.4634, allocations: 217.4 kB / 1.026 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.4634, allocations: 5.562 kB / 1.026 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.4634, allocations: 0 / 1.026 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.4634, allocations: 4 kB / 1.026 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002295/0.4636, allocations: 35.91 kB / 1.027 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.4637, allocations: 3.984 kB / 1.027 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/0.4638, allocations: 19.89 kB / 1.027 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.4638, allocations: 7.938 kB / 1.027 GB, free: 8.547 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.301e-05/0.4639, allocations: 130.4 kB / 1.027 GB, free: 8.41 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.002e-05/0.464, allocations: 23.75 kB / 1.027 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.469e-05/0.464, allocations: 25.84 kB / 1.027 GB, free: 8.367 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.464, allocations: 3.984 kB / 1.027 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.464, allocations: 0 / 1.027 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.4641, allocations: 0 / 1.027 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002368/0.4643, allocations: 273.3 kB / 1.027 GB, free: 8.047 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4643, allocations: 0 / 1.027 GB, free: 8.047 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002044/0.4645, allocations: 35.91 kB / 1.027 GB, free: 8.012 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.4645, allocations: 7.984 kB / 1.027 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.4645, allocations: 0 / 1.027 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.4645, allocations: 4 kB / 1.027 GB, free: 8 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.4645, allocations: 0 / 1.027 GB, free: 8 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004978/0.4651, allocations: 316.4 kB / 1.027 GB, free: 7.676 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.776e-05/0.4651, allocations: 112.8 kB / 1.027 GB, free: 7.547 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.78e-05/0.4652, allocations: 4 kB / 1.027 GB, free: 7.543 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/0.4654, allocations: 15.98 kB / 1.027 GB, free: 7.527 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.635e-05/0.4654, allocations: 7.984 kB / 1.027 GB, free: 7.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/0.4654, allocations: 11.98 kB / 1.027 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001068/0.4655, allocations: 156.4 kB / 1.028 GB, free: 7.355 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4655, allocations: 3.938 kB / 1.028 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002431/0.4658, allocations: 36 kB / 1.028 GB, free: 7.316 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.0007452/0.4665, allocations: 0.8541 MB / 1.028 GB, free: 6.434 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004652/0.467, allocations: 192.9 kB / 1.029 GB, free: 6.246 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.467, allocations: 0 / 1.029 GB, free: 6.246 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002153/0.4672, allocations: 95.86 kB / 1.029 GB, free: 6.152 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003332/0.4676, allocations: 38.41 kB / 1.029 GB, free: 6.113 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002669/0.4703, allocations: 2.367 MB / 1.031 GB, free: 3.676 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002292/0.4705, allocations: 0.7354 MB / 1.032 GB, free: 2.914 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001558/0.4707, allocations: 44.55 kB / 1.032 GB, free: 2.871 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.447e-05/0.4708, allocations: 55.41 kB / 1.032 GB, free: 2.816 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.4708, allocations: 0 / 1.032 GB, free: 2.816 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5888/1.06, allocations: 3.683 MB / 1.036 GB, free: 15.31 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003056/1.06, allocations: 230.3 kB / 1.036 GB, free: 15.05 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.737/2.797, allocations: 0 / 1.036 GB, free: 15.05 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