Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",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.001148/0.001148, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001229/0.001229, allocations: 192.6 kB / 16.13 MB, free: 6.645 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.316/1.316, allocations: 222.9 MB / 239.8 MB, free: 4.594 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.422/2.422, allocations: 437 MB / 0.71 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.001401, allocations: 59.91 kB / 0.8687 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5575/0.5589, allocations: 151.6 MB / 1.017 GB, free: 2.828 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005848/0.5648, allocations: 4.613 MB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.5659, allocations: 0.8343 MB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.4e-05/0.566, allocations: 4 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001626/0.5661, allocations: 23.83 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.792e-05/0.5662, allocations: 27.77 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000422/0.5667, allocations: 147.5 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001441/0.5668, allocations: 163.4 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.72e-05/0.5669, allocations: 21.09 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001532/0.5671, allocations: 71.75 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.071e-05/0.5672, allocations: 75.66 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.5672, allocations: 8 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002941/0.5675, allocations: 147.8 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.701e-05/0.5675, allocations: 23.91 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.91e-05/0.5676, allocations: 67.64 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000304/0.5679, allocations: 225.7 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.5679, allocations: 0 / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.52e-07/0.5679, allocations: 3.938 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.5679, allocations: 0 / 1.023 GB, free: 12.36 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.000791/0.5687, allocations: 485 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.5688, allocations: 8.031 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.762e-05/0.5688, allocations: 42.69 kB / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.479e-05/0.5689, allocations: 16.75 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.569, allocations: 188 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.569, allocations: 12.38 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.569, allocations: 8.375 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003178/0.5694, allocations: 121.6 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.5694, allocations: 0 / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.5694, allocations: 3.938 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.5694, allocations: 4 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004113/0.5698, allocations: 148.7 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000923/0.5708, allocations: 456.5 kB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002834/0.5711, allocations: 126.5 kB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001988/0.5713, allocations: 68.81 kB / 1.025 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00147/0.5727, allocations: 0.9687 MB / 1.026 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.5728, allocations: 38.55 kB / 1.026 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=12): time 3.386e-06/0.5728, allocations: 0 / 1.026 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12): time 0.0006745/0.5735, allocations: 209.3 kB / 1.026 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.5735, allocations: 55.41 kB / 1.026 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.5737, allocations: 164.3 kB / 1.026 GB, free: 8.949 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.5737, allocations: 29.7 kB / 1.026 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.328e-05/0.5738, allocations: 116.3 kB / 1.026 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/0.5738, allocations: 39.36 kB / 1.026 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.442e-05/0.5739, allocations: 49.64 kB / 1.026 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.915e-05/0.574, allocations: 322.8 kB / 1.027 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002268/0.5742, allocations: 79.88 kB / 1.027 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002533/0.5745, allocations: 112.9 kB / 1.027 GB, free: 8.176 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004299/0.5749, allocations: 172.5 kB / 1.027 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5749, allocations: 0 / 1.027 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005565/0.5755, allocations: 243.5 kB / 1.027 GB, free: 7.754 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.5755, allocations: 4 kB / 1.027 GB, free: 7.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.5755, allocations: 8.031 kB / 1.027 GB, free: 7.742 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.5755, allocations: 8 kB / 1.027 GB, free: 7.734 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002748/0.5758, allocations: 59.89 kB / 1.027 GB, free: 7.676 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.5758, allocations: 0 / 1.027 GB, free: 7.676 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001585/0.576, allocations: 27.73 kB / 1.027 GB, free: 7.648 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.782e-05/0.576, allocations: 12 kB / 1.027 GB, free: 7.637 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 26 * 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.43e-05/0.5761, allocations: 122.3 kB / 1.027 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.742e-05/0.5762, allocations: 19.8 kB / 1.027 GB, free: 7.488 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004715/0.5767, allocations: 182.8 kB / 1.028 GB, free: 7.305 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.5767, allocations: 0 / 1.028 GB, free: 7.305 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.5767, allocations: 0 / 1.028 GB, free: 7.305 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.5767, allocations: 3.984 kB / 1.028 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002081/0.5769, allocations: 217.5 kB / 1.028 GB, free: 7.039 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.5769, allocations: 4 kB / 1.028 GB, free: 7.035 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001698/0.5771, allocations: 35.91 kB / 1.028 GB, free: 7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.5771, allocations: 0 / 1.028 GB, free: 7 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.5771, allocations: 7.938 kB / 1.028 GB, free: 6.992 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.5771, allocations: 0 / 1.028 GB, free: 6.992 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5771, allocations: 0 / 1.028 GB, free: 6.992 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004505/0.5776, allocations: 251.8 kB / 1.028 GB, free: 6.73 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.482e-05/0.5777, allocations: 100.9 kB / 1.028 GB, free: 6.613 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.541e-05/0.5777, allocations: 7.938 kB / 1.028 GB, free: 6.605 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.5778, allocations: 11.97 kB / 1.028 GB, free: 6.594 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.595e-05/0.5779, allocations: 15.98 kB / 1.028 GB, free: 6.578 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.5779, allocations: 0 / 1.028 GB, free: 6.578 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.991e-05/0.578, allocations: 118.2 kB / 1.028 GB, free: 6.465 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.292e-06/0.578, allocations: 4 kB / 1.028 GB, free: 6.461 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003314/0.5783, allocations: 64.06 kB / 1.028 GB, free: 6.398 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 (12): * Single equations (assignments): 12 * 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.0008853/0.5792, allocations: 0.8527 MB / 1.029 GB, free: 5.52 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004859/0.5797, allocations: 175.9 kB / 1.029 GB, free: 5.348 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5797, allocations: 0 / 1.029 GB, free: 5.348 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001846/0.5799, allocations: 63.95 kB / 1.029 GB, free: 5.285 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.5803, allocations: 28.86 kB / 1.029 GB, free: 5.258 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002497/0.5828, allocations: 1.981 MB / 1.031 GB, free: 3.184 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.5831, allocations: 0.7009 MB / 1.032 GB, free: 2.457 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.000103/0.5832, allocations: 17.08 kB / 1.032 GB, free: 2.441 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.208e-05/0.5833, allocations: 35.42 kB / 1.032 GB, free: 2.406 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.5833, allocations: 0 / 1.032 GB, free: 2.406 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8352/1.418, allocations: 3.965 MB / 1.036 GB, free: 14.61 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002884/1.419, allocations: 226.5 kB / 1.036 GB, free: 14.35 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.848/3.267, allocations: 0 / 1.036 GB, free: 14.35 MB / 0.795 GB (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches