Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_latest_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.0009837/0.0009837, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006471/0.006471, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.266/1.266, allocations: 223.3 MB / 240.3 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.523/2.523, allocations: 462.6 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003042/0.0003041, allocations: 14.78 kB / 0.9029 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2713, allocations: 159.6 MB / 1.059 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004721/0.276, allocations: 4.245 MB / 1.063 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009272/0.277, allocations: 0.8296 MB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.023e-05/0.277, allocations: 4 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000129/0.2772, allocations: 19.89 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.209e-05/0.2772, allocations: 31.7 kB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000379/0.2776, allocations: 147.5 kB / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001938/0.2778, allocations: 167.4 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.128e-05/0.2779, allocations: 9.125 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001437/0.278, allocations: 71.75 kB / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.788e-05/0.2781, allocations: 79.66 kB / 1.064 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.2782, allocations: 8 kB / 1.064 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002775/0.2784, allocations: 147.8 kB / 1.064 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.613e-05/0.2785, allocations: 23.91 kB / 1.064 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.613e-05/0.2786, allocations: 89.34 kB / 1.064 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002891/0.2789, allocations: 223.6 kB / 1.065 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.2789, allocations: 4 kB / 1.065 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2789, allocations: 0 / 1.065 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.064e-06/0.2789, allocations: 0 / 1.065 GB, free: 14.7 MB / 0.8262 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.000787/0.2797, allocations: 466.9 kB / 1.065 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.2797, allocations: 15.97 kB / 1.065 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.21e-05/0.2798, allocations: 38.73 kB / 1.065 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.554e-05/0.2798, allocations: 16.75 kB / 1.065 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.2799, allocations: 186 kB / 1.065 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.28, allocations: 12.38 kB / 1.065 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.28, allocations: 8.375 kB / 1.065 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003139/0.2803, allocations: 135.4 kB / 1.066 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.161e-06/0.2803, allocations: 3.938 kB / 1.066 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.2804, allocations: 8 kB / 1.066 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.2804, allocations: 0 / 1.066 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004132/0.2808, allocations: 163.8 kB / 1.066 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008955/0.2817, allocations: 472.4 kB / 1.066 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002763/0.282, allocations: 138.5 kB / 1.066 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002052/0.2822, allocations: 84.81 kB / 1.066 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001221/0.2834, allocations: 0.9567 MB / 1.067 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.2835, allocations: 38.48 kB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.253e-06/0.2835, allocations: 0 / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0006578/0.2841, allocations: 241.4 kB / 1.068 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.2842, allocations: 51.41 kB / 1.068 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.2843, allocations: 175.9 kB / 1.068 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.2843, allocations: 29.7 kB / 1.068 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.174e-05/0.2844, allocations: 108.4 kB / 1.068 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.514e-05/0.2844, allocations: 39.45 kB / 1.068 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-05/0.2845, allocations: 25.72 kB / 1.068 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.2846, allocations: 326.8 kB / 1.068 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000225/0.2848, allocations: 87.88 kB / 1.068 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002509/0.2851, allocations: 128.8 kB / 1.069 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004289/0.2855, allocations: 192.8 kB / 1.069 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.2855, allocations: 3.938 kB / 1.069 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005535/0.2861, allocations: 264 kB / 1.069 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.2861, allocations: 4 kB / 1.069 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.2861, allocations: 7.938 kB / 1.069 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/0.2861, allocations: 0 / 1.069 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002568/0.2864, allocations: 63.91 kB / 1.069 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.2864, allocations: 4.094 kB / 1.069 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001573/0.2866, allocations: 39.75 kB / 1.069 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.268e-05/0.2866, allocations: 8 kB / 1.069 GB, free: 9.84 MB / 0.8262 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.498e-05/0.2867, allocations: 121.8 kB / 1.069 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.104e-05/0.2867, allocations: 11.81 kB / 1.069 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005006/0.2872, allocations: 210.8 kB / 1.069 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.2873, allocations: 7.984 kB / 1.069 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.2873, allocations: 0 / 1.069 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.2873, allocations: 0 / 1.069 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002131/0.2875, allocations: 225.4 kB / 1.07 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2875, allocations: 4 kB / 1.07 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001543/0.2877, allocations: 35.91 kB / 1.07 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.2877, allocations: 0 / 1.07 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.2877, allocations: 7.938 kB / 1.07 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.2877, allocations: 4 kB / 1.07 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2877, allocations: 0 / 1.07 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004608/0.2882, allocations: 275.4 kB / 1.07 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.081e-05/0.2882, allocations: 96.91 kB / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.2883, allocations: 7.938 kB / 1.07 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.2884, allocations: 19.98 kB / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.913e-05/0.2885, allocations: 15.92 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.2885, allocations: 0 / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.642e-05/0.2885, allocations: 120 kB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2886, allocations: 0 / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003038/0.2889, allocations: 64.3 kB / 1.07 GB, free: 8.535 MB / 0.8262 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.0008711/0.2897, allocations: 0.8651 MB / 1.071 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004797/0.2902, allocations: 187.9 kB / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2902, allocations: 0 / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001985/0.2904, allocations: 80.08 kB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.2908, allocations: 23.98 kB / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00244/0.2932, allocations: 2.04 MB / 1.073 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.2935, allocations: 0.7048 MB / 1.074 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.694e-05/0.2936, allocations: 21.02 kB / 1.074 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.179e-05/0.2937, allocations: 35.42 kB / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of SimCode: time 4.61e-07/0.2937, allocations: 0 / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.2/1.494, allocations: 3.878 MB / 1.078 GB, free: 0.7578 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002322/1.494, allocations: 230.5 kB / 1.078 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.967/3.461, allocations: 2.188 kB / 1.078 GB, free: 0.5 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches