Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_9_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.004762/0.004762, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001035/0.001035, allocations: 193.5 kB / 16.67 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.292/2.292, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 68.14 kB / 0.9504 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.276, allocations: 140.4 MB / 1.088 GB, free: 1.961 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006371/0.2824, allocations: 4.587 MB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.2835, allocations: 0.8109 MB / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.2836, allocations: 0 / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001875/0.2838, allocations: 31.77 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.263e-05/0.284, allocations: 35.7 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006068/0.2846, allocations: 175.3 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002238/0.2848, allocations: 167.4 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.2849, allocations: 25.09 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002003/0.2851, allocations: 71.77 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.2853, allocations: 83.66 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.604e-05/0.2853, allocations: 16 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003531/0.2857, allocations: 155.8 kB / 1.094 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.806e-05/0.2857, allocations: 35.89 kB / 1.094 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.285e-05/0.2858, allocations: 67.66 kB / 1.094 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003871/0.2862, allocations: 239 kB / 1.094 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2862, allocations: 0 / 1.094 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2862, allocations: 0 / 1.094 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.2862, allocations: 0 / 1.094 GB, free: 11.45 MB / 0.8575 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.0008991/0.2871, allocations: 478.9 kB / 1.094 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.2872, allocations: 12.03 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.254e-05/0.2872, allocations: 38.73 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.202e-05/0.2873, allocations: 12.84 kB / 1.094 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.2874, allocations: 185.5 kB / 1.095 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.2875, allocations: 11.94 kB / 1.095 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.681e-05/0.2875, allocations: 12 kB / 1.095 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003291/0.2878, allocations: 121.5 kB / 1.095 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.2879, allocations: 0 / 1.095 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.2879, allocations: 8 kB / 1.095 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.2879, allocations: 0 / 1.095 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000407/0.2883, allocations: 143.9 kB / 1.095 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009727/0.2893, allocations: 468.4 kB / 1.095 GB, free: 9.844 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002881/0.2896, allocations: 122.5 kB / 1.095 GB, free: 9.715 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002001/0.2898, allocations: 72.81 kB / 1.095 GB, free: 9.641 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00136/0.2912, allocations: 0.9686 MB / 1.096 GB, free: 8.535 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.2912, allocations: 34.56 kB / 1.096 GB, free: 8.492 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=12): time 1.663e-06/0.2912, allocations: 0 / 1.096 GB, free: 8.492 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12): time 0.0006838/0.2919, allocations: 213.3 kB / 1.097 GB, free: 8.277 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.2919, allocations: 51.41 kB / 1.097 GB, free: 8.215 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.2921, allocations: 171.2 kB / 1.097 GB, free: 8.039 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/0.2921, allocations: 37.64 kB / 1.097 GB, free: 7.996 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.502e-05/0.2922, allocations: 100.4 kB / 1.097 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.2922, allocations: 39.39 kB / 1.097 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.786e-05/0.2923, allocations: 57.62 kB / 1.097 GB, free: 7.793 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.2924, allocations: 322.8 kB / 1.097 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002389/0.2927, allocations: 71.95 kB / 1.097 GB, free: 7.398 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002416/0.2929, allocations: 111.4 kB / 1.098 GB, free: 7.277 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004099/0.2933, allocations: 170.5 kB / 1.098 GB, free: 7.102 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2933, allocations: 0 / 1.098 GB, free: 7.102 MB / 0.8575 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005615/0.2939, allocations: 253.1 kB / 1.098 GB, free: 6.848 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.2939, allocations: 5.719 kB / 1.098 GB, free: 6.844 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.294, allocations: 4.094 kB / 1.098 GB, free: 6.84 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.294, allocations: 4 kB / 1.098 GB, free: 6.836 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000264/0.2942, allocations: 51.97 kB / 1.098 GB, free: 6.785 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.2943, allocations: 11.92 kB / 1.098 GB, free: 6.773 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.2944, allocations: 23.83 kB / 1.098 GB, free: 6.75 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.767e-05/0.2945, allocations: 8 kB / 1.098 GB, free: 6.742 MB / 0.8575 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.477e-05/0.2946, allocations: 117.8 kB / 1.098 GB, free: 6.617 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.382e-05/0.2946, allocations: 23.75 kB / 1.098 GB, free: 6.594 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004921/0.2951, allocations: 183.2 kB / 1.098 GB, free: 6.41 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.2951, allocations: 8 kB / 1.098 GB, free: 6.402 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/0.2951, allocations: 0 / 1.098 GB, free: 6.402 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.2951, allocations: 0 / 1.098 GB, free: 6.402 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002273/0.2954, allocations: 217.5 kB / 1.099 GB, free: 6.141 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/0.2954, allocations: 7.922 kB / 1.099 GB, free: 6.133 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/0.2956, allocations: 27.98 kB / 1.099 GB, free: 6.105 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.2956, allocations: 4 kB / 1.099 GB, free: 6.102 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.2956, allocations: 0 / 1.099 GB, free: 6.102 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.2956, allocations: 0 / 1.099 GB, free: 6.102 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2956, allocations: 0 / 1.099 GB, free: 6.102 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004657/0.2961, allocations: 263.1 kB / 1.099 GB, free: 5.828 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.384e-05/0.2961, allocations: 104.9 kB / 1.099 GB, free: 5.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.2962, allocations: 0 / 1.099 GB, free: 5.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.2963, allocations: 11.98 kB / 1.099 GB, free: 5.695 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.055e-05/0.2964, allocations: 11.98 kB / 1.099 GB, free: 5.684 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.2964, allocations: 0 / 1.099 GB, free: 5.684 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.481e-05/0.2965, allocations: 124.9 kB / 1.099 GB, free: 5.562 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2965, allocations: 0 / 1.099 GB, free: 5.562 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003583/0.2969, allocations: 67.95 kB / 1.099 GB, free: 5.496 MB / 0.8575 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.0009358/0.2978, allocations: 0.8449 MB / 1.1 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005239/0.2983, allocations: 168 kB / 1.1 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.2983, allocations: 0 / 1.1 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000188/0.2985, allocations: 63.89 kB / 1.1 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003841/0.2989, allocations: 23.98 kB / 1.1 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002612/0.3016, allocations: 1.965 MB / 1.102 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.3018, allocations: 0.7045 MB / 1.103 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001044/0.3019, allocations: 27.67 kB / 1.103 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.021e-05/0.302, allocations: 35.42 kB / 1.103 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of SimCode: time 6.91e-07/0.302, allocations: 0 / 1.103 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.483/1.785, allocations: 4.269 MB / 1.107 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.134/9.919, allocations: 15.16 kB / 1.107 GB, free: 13.39 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches