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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001275/0.00128, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.226/1.226, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.608/2.608, allocations: 461.9 MB / 0.7346 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002126/0.002126, allocations: 64.91 kB / 0.8992 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2887, allocations: 157.4 MB / 1.053 GB, free: 8.258 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005615/0.2943, allocations: 4.595 MB / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009699/0.2953, allocations: 0.8139 MB / 1.058 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.156e-05/0.2954, allocations: 0 / 1.058 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001516/0.2955, allocations: 35.75 kB / 1.058 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.101e-05/0.2956, allocations: 35.72 kB / 1.058 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004696/0.2961, allocations: 171.3 kB / 1.058 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001675/0.2963, allocations: 175.4 kB / 1.059 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.382e-05/0.2964, allocations: 17.12 kB / 1.059 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001575/0.2965, allocations: 75.75 kB / 1.059 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.935e-05/0.2966, allocations: 79.67 kB / 1.059 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.999e-05/0.2967, allocations: 16 kB / 1.059 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003121/0.297, allocations: 155.7 kB / 1.059 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.195e-05/0.297, allocations: 31.91 kB / 1.059 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.648e-05/0.2971, allocations: 67.66 kB / 1.059 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003172/0.2974, allocations: 239.6 kB / 1.059 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.2974, allocations: 4 kB / 1.059 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2975, allocations: 0 / 1.059 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.236e-06/0.2975, allocations: 0 / 1.059 GB, free: 1.738 MB / 0.8106 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.0007973/0.2983, allocations: 478.9 kB / 1.06 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.2983, allocations: 12.62 kB / 1.06 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.706e-05/0.2983, allocations: 38.75 kB / 1.06 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.314e-05/0.2984, allocations: 12.75 kB / 1.06 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.2985, allocations: 184.2 kB / 1.06 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.2985, allocations: 8.375 kB / 1.06 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.2986, allocations: 12.38 kB / 1.06 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003117/0.2989, allocations: 122.6 kB / 1.06 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.2989, allocations: 3.984 kB / 1.06 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.2989, allocations: 4 kB / 1.06 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.2989, allocations: 4 kB / 1.06 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004114/0.2993, allocations: 135.9 kB / 1.06 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009174/0.3003, allocations: 464.5 kB / 1.061 GB, free: 144 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002763/0.3006, allocations: 126.5 kB / 1.061 GB, free: 8 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002116/0.3008, allocations: 73.09 kB / 1.061 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001315/0.3021, allocations: 0.9684 MB / 1.062 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.3021, allocations: 34.56 kB / 1.062 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.593e-06/0.3021, allocations: 3.938 kB / 1.062 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0006681/0.3028, allocations: 221.2 kB / 1.062 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.3029, allocations: 51.41 kB / 1.062 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.303, allocations: 168 kB / 1.062 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.303, allocations: 29.7 kB / 1.062 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.081e-05/0.3031, allocations: 104.4 kB / 1.062 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.751e-05/0.3031, allocations: 47.34 kB / 1.062 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.108e-05/0.3032, allocations: 49.7 kB / 1.062 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.268e-05/0.3033, allocations: 322.8 kB / 1.063 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002305/0.3035, allocations: 75.94 kB / 1.063 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00025/0.3038, allocations: 116.2 kB / 1.063 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004156/0.3042, allocations: 166.1 kB / 1.063 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.3042, allocations: 4 kB / 1.063 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000558/0.3048, allocations: 237.3 kB / 1.063 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.3048, allocations: 7.938 kB / 1.063 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.3048, allocations: 7.938 kB / 1.063 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.3048, allocations: 3.984 kB / 1.063 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002683/0.3051, allocations: 55.97 kB / 1.063 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.3051, allocations: 8.094 kB / 1.063 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001599/0.3053, allocations: 31.67 kB / 1.063 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.351e-05/0.3053, allocations: 11.98 kB / 1.063 GB, free: 13.02 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 8.543e-05/0.3054, allocations: 125.8 kB / 1.064 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.664e-05/0.3054, allocations: 11.81 kB / 1.064 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00049/0.3059, allocations: 178.9 kB / 1.064 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.306, allocations: 7.938 kB / 1.064 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.306, allocations: 0 / 1.064 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.306, allocations: 0 / 1.064 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002025/0.3062, allocations: 213.5 kB / 1.064 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3062, allocations: 0 / 1.064 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001625/0.3064, allocations: 31.97 kB / 1.064 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3064, allocations: 0 / 1.064 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.3064, allocations: 7.938 kB / 1.064 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3064, allocations: 3.938 kB / 1.064 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3064, allocations: 0 / 1.064 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004416/0.3068, allocations: 255.2 kB / 1.064 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.064e-05/0.3069, allocations: 101 kB / 1.064 GB, free: 12 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.3069, allocations: 7.938 kB / 1.064 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.3071, allocations: 11.98 kB / 1.064 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.349e-05/0.3071, allocations: 15.92 kB / 1.064 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.3071, allocations: 4 kB / 1.064 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.166e-05/0.3072, allocations: 116 kB / 1.065 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3072, allocations: 0 / 1.065 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003123/0.3075, allocations: 56.06 kB / 1.065 GB, free: 11.79 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.0008553/0.3084, allocations: 0.8533 MB / 1.065 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005072/0.3089, allocations: 167.9 kB / 1.066 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.3089, allocations: 4 kB / 1.066 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002021/0.3091, allocations: 76.02 kB / 1.066 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.3095, allocations: 21.53 kB / 1.066 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002549/0.3121, allocations: 1.957 MB / 1.068 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.3123, allocations: 0.7084 MB / 1.068 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001019/0.3124, allocations: 21 kB / 1.068 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.901e-05/0.3125, allocations: 39.42 kB / 1.068 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of SimCode: time 3e-07/0.3125, allocations: 0 / 1.068 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.642/1.954, allocations: 4.233 MB / 1.072 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.05/12, allocations: 3.125 kB / 1.072 GB, free: 3.707 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