Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001772/0.001772, allocations: 108.4 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.71/2.71, allocations: 476.7 MB / 0.7611 GB, free: 11.3 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 79.83 kB / 1.104 GB, free: 9.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8485/0.8505, allocations: 168.7 MB / 1.269 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003221/0.8537, allocations: 1.92 MB / 1.271 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004383/0.8581, allocations: 3.489 MB / 1.274 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.8582, allocations: 0 / 1.274 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002633/0.8585, allocations: 55.56 kB / 1.274 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004897/0.859, allocations: 131.3 kB / 1.274 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 8.217e-05/0.8591, allocations: 31.95 kB / 1.274 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003119/0.8594, allocations: 171.2 kB / 1.274 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.8595, allocations: 25.67 kB / 1.274 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001798/0.8597, allocations: 79.7 kB / 1.274 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001736/0.8598, allocations: 91.53 kB / 1.275 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.517e-05/0.8599, allocations: 8 kB / 1.275 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.002e-05/0.86, allocations: 31.92 kB / 1.275 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.546e-05/0.86, allocations: 43.83 kB / 1.275 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.067e-05/0.8601, allocations: 79.53 kB / 1.275 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002515/0.8604, allocations: 167.2 kB / 1.275 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.8604, allocations: 3.938 kB / 1.275 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.323e-06/0.8604, allocations: 0 / 1.275 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.8604, allocations: 0 / 1.275 GB, free: 14.82 MB / 0.9825 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.001069/0.8615, allocations: 0.5138 MB / 1.275 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.8615, allocations: 12.02 kB / 1.275 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.846e-05/0.8616, allocations: 38.75 kB / 1.275 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.121e-05/0.8616, allocations: 20.8 kB / 1.275 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005316/0.8622, allocations: 247 kB / 1.276 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.286e-06/0.8622, allocations: 384 / 1.276 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.464e-05/0.8622, allocations: 8.375 kB / 1.276 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005505/0.8628, allocations: 157.3 kB / 1.276 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.8628, allocations: 0 / 1.276 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.8628, allocations: 0 / 1.276 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-05/0.8628, allocations: 15.97 kB / 1.276 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006884/0.8635, allocations: 139.9 kB / 1.276 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.8646, allocations: 448.6 kB / 1.276 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006484/0.8653, allocations: 162.4 kB / 1.277 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004342/0.8657, allocations: 100.8 kB / 1.277 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.8657, allocations: 4 kB / 1.277 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.8658, allocations: 34.56 kB / 1.277 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.8658, allocations: 0 / 1.277 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.00132/0.8671, allocations: 301.5 kB / 1.277 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.567e-05/0.8671, allocations: 51.41 kB / 1.277 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003313/0.8675, allocations: 217 kB / 1.277 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.413e-05/0.8675, allocations: 29.7 kB / 1.277 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.8676, allocations: 116.1 kB / 1.277 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.586e-05/0.8677, allocations: 51.58 kB / 1.277 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.8678, allocations: 33.7 kB / 1.277 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000214/0.868, allocations: 334.8 kB / 1.278 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003696/0.8684, allocations: 75.88 kB / 1.278 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003689/0.8688, allocations: 74.44 kB / 1.278 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007544/0.8695, allocations: 172.7 kB / 1.278 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.8695, allocations: 0 / 1.278 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008686/0.8704, allocations: 221.4 kB / 1.278 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.8704, allocations: 4 kB / 1.278 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.8704, allocations: 0 / 1.278 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.8704, allocations: 4 kB / 1.278 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004101/0.8709, allocations: 35.97 kB / 1.278 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.8709, allocations: 0 / 1.278 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002535/0.8711, allocations: 19.92 kB / 1.278 GB, free: 11 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.472e-05/0.8711, allocations: 11.94 kB / 1.278 GB, free: 10.99 MB / 0.9825 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.0001737/0.8713, allocations: 125.8 kB / 1.279 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.655e-05/0.8714, allocations: 15.91 kB / 1.279 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.826e-05/0.8715, allocations: 25.84 kB / 1.279 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.8715, allocations: 7.938 kB / 1.279 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.8715, allocations: 3.984 kB / 1.279 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.8715, allocations: 0 / 1.279 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005236/0.872, allocations: 269.4 kB / 1.279 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.872, allocations: 0 / 1.279 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003539/0.8724, allocations: 35.97 kB / 1.279 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.8724, allocations: 0 / 1.279 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.687e-05/0.8724, allocations: 7.984 kB / 1.279 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.8724, allocations: 4 kB / 1.279 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.8724, allocations: 0 / 1.279 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009568/0.8734, allocations: 320.6 kB / 1.279 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001926/0.8736, allocations: 112.9 kB / 1.279 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.858e-05/0.8736, allocations: 4 kB / 1.279 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003052/0.8739, allocations: 11.98 kB / 1.279 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.664e-05/0.874, allocations: 11.98 kB / 1.279 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.874, allocations: 3.984 kB / 1.279 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002336/0.8742, allocations: 164.4 kB / 1.279 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8742, allocations: 4 kB / 1.279 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004925/0.8747, allocations: 39.94 kB / 1.28 GB, free: 9.758 MB / 0.9825 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.001493/0.8762, allocations: 0.8566 MB / 1.28 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008806/0.8771, allocations: 171.8 kB / 1.281 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.8771, allocations: 0 / 1.281 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004279/0.8775, allocations: 99.86 kB / 1.281 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006546/0.8782, allocations: 36.34 kB / 1.281 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004823/0.883, allocations: 2.315 MB / 1.283 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004851/0.8835, allocations: 0.7236 MB / 1.284 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002817/0.8838, allocations: 52.58 kB / 1.284 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/0.8839, allocations: 59.41 kB / 1.284 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of SimCode: time 9.52e-07/0.8839, allocations: 0 / 1.284 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04051/0.9244, allocations: 3.927 MB / 1.288 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.104/9.029, allocations: 10.16 kB / 1.288 GB, free: 1.555 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.916867408901453]