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.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.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.005091/0.005091, allocations: 103.5 kB / 15.74 MB, free: 6.488 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.001224/0.001224, allocations: 195.2 kB / 16.68 MB, free: 6.375 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.277/1.277, allocations: 222.9 MB / 240.4 MB, free: 4.297 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.441/2.441, allocations: 437 MB / 0.7105 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 59.91 kB / 1.018 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.269, allocations: 151.6 MB / 1.166 GB, free: 7.254 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005444/0.2745, allocations: 4.585 MB / 1.171 GB, free: 2.641 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009661/0.2755, allocations: 0.8186 MB / 1.171 GB, free: 1.816 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.379e-05/0.2756, allocations: 0 / 1.171 GB, free: 1.816 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001721/0.2758, allocations: 27.78 kB / 1.171 GB, free: 1.789 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.536e-05/0.2758, allocations: 39.69 kB / 1.172 GB, free: 1.75 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000498/0.2764, allocations: 175.3 kB / 1.172 GB, free: 1.578 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001877/0.2766, allocations: 179.3 kB / 1.172 GB, free: 1.402 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.115e-05/0.2767, allocations: 21.11 kB / 1.172 GB, free: 1.379 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001642/0.2768, allocations: 79.73 kB / 1.172 GB, free: 1.301 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.89e-05/0.2769, allocations: 71.75 kB / 1.172 GB, free: 1.23 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.414e-05/0.277, allocations: 12 kB / 1.172 GB, free: 1.219 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003157/0.2773, allocations: 159.8 kB / 1.172 GB, free: 1.062 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.531e-05/0.2773, allocations: 31.86 kB / 1.172 GB, free: 1.031 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.432e-05/0.2774, allocations: 67.7 kB / 1.172 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003215/0.2777, allocations: 239 kB / 1.173 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2777, allocations: 0 / 1.173 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2777, allocations: 4 kB / 1.173 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.2778, allocations: 0 / 1.173 GB, free: 0.7305 MB / 0.92 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.0007901/0.2786, allocations: 482.9 kB / 1.173 GB, free: 216 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.2786, allocations: 8.031 kB / 1.173 GB, free: 208 kB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.831e-05/0.2786, allocations: 46.73 kB / 1.173 GB, free: 152 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.144e-05/0.2787, allocations: 8.844 kB / 1.173 GB, free: 144 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.2788, allocations: 193.6 kB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.2789, allocations: 12.22 kB / 1.173 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.936e-05/0.2789, allocations: 16.38 kB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002979/0.2792, allocations: 121.5 kB / 1.173 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.2792, allocations: 0 / 1.173 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.2792, allocations: 4 kB / 1.173 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.2792, allocations: 4 kB / 1.173 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003699/0.2796, allocations: 139.9 kB / 1.174 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008727/0.2805, allocations: 468.4 kB / 1.174 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002616/0.2808, allocations: 126.4 kB / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.281, allocations: 69.56 kB / 1.174 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001214/0.2822, allocations: 0.9607 MB / 1.175 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.2822, allocations: 34.56 kB / 1.175 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=12): time 1.654e-06/0.2822, allocations: 0 / 1.175 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12): time 0.0006033/0.2828, allocations: 217.3 kB / 1.175 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.2829, allocations: 51.41 kB / 1.175 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.283, allocations: 169.5 kB / 1.176 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.283, allocations: 29.7 kB / 1.176 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.146e-05/0.2831, allocations: 108.4 kB / 1.176 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.2831, allocations: 39.39 kB / 1.176 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.268e-05/0.2832, allocations: 53.64 kB / 1.176 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.176e-05/0.2833, allocations: 330.8 kB / 1.176 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001975/0.2835, allocations: 71.94 kB / 1.176 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/0.2837, allocations: 108 kB / 1.176 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003752/0.2841, allocations: 173.7 kB / 1.176 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.2841, allocations: 4 kB / 1.176 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005286/0.2847, allocations: 237.2 kB / 1.177 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.2847, allocations: 11.98 kB / 1.177 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.2847, allocations: 7.875 kB / 1.177 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.2847, allocations: 0 / 1.177 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002636/0.285, allocations: 55.97 kB / 1.177 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.285, allocations: 0 / 1.177 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.2852, allocations: 31.92 kB / 1.177 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.735e-05/0.2852, allocations: 11.92 kB / 1.177 GB, free: 12.01 MB / 0.9356 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.23e-05/0.2853, allocations: 128.6 kB / 1.177 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.38e-05/0.2853, allocations: 11.81 kB / 1.177 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004477/0.2858, allocations: 178.9 kB / 1.177 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.2858, allocations: 4 kB / 1.177 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.2858, allocations: 0 / 1.177 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2858, allocations: 0 / 1.177 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002125/0.286, allocations: 221.4 kB / 1.177 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2861, allocations: 0 / 1.177 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001487/0.2862, allocations: 31.97 kB / 1.177 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2862, allocations: 0 / 1.177 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.2862, allocations: 3.938 kB / 1.177 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.2862, allocations: 0 / 1.177 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.2862, allocations: 4 kB / 1.177 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003997/0.2867, allocations: 259.2 kB / 1.178 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.712e-05/0.2867, allocations: 104.9 kB / 1.178 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.2868, allocations: 3.938 kB / 1.178 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.2869, allocations: 15.98 kB / 1.178 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.83e-05/0.2869, allocations: 11.98 kB / 1.178 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.287, allocations: 7.938 kB / 1.178 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.198e-05/0.287, allocations: 120.2 kB / 1.178 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.287, allocations: 0 / 1.178 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000334/0.2874, allocations: 64.31 kB / 1.178 GB, free: 10.77 MB / 0.9356 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.0008184/0.2882, allocations: 0.8456 MB / 1.179 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004685/0.2887, allocations: 168.6 kB / 1.179 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.2887, allocations: 0 / 1.179 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001749/0.2889, allocations: 79.88 kB / 1.179 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.2892, allocations: 20.17 kB / 1.179 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002334/0.2916, allocations: 1.947 MB / 1.181 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/0.2918, allocations: 0.7045 MB / 1.182 GB, free: 6.855 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.198e-05/0.2919, allocations: 24.27 kB / 1.182 GB, free: 6.832 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.618e-05/0.292, allocations: 35.42 kB / 1.182 GB, free: 6.797 MB / 0.9356 GB Notification: Performance of SimCode: time 7.92e-07/0.292, allocations: 0 / 1.182 GB, free: 6.797 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02087/0.3129, allocations: 4.29 MB / 1.186 GB, free: 2.672 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.511/7.824, allocations: 10.47 kB / 1.186 GB, free: 2.664 MB / 0.9356 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