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.00768/0.00768, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001322/0.001322, allocations: 196.1 kB / 16.67 MB, free: 5.977 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.643/2.643, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 67.89 kB / 1.054 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2877, allocations: 157.4 MB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006122/0.2939, allocations: 4.592 MB / 1.212 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.2949, allocations: 0.8061 MB / 1.213 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.833e-05/0.295, allocations: 4 kB / 1.213 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001823/0.2952, allocations: 27.77 kB / 1.213 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.393e-05/0.2953, allocations: 31.7 kB / 1.213 GB, free: 4.645 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005973/0.2959, allocations: 171.4 kB / 1.213 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000229/0.2962, allocations: 171.4 kB / 1.213 GB, free: 4.309 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.2963, allocations: 29.02 kB / 1.213 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002095/0.2965, allocations: 83.75 kB / 1.213 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.2966, allocations: 83.66 kB / 1.213 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.629e-05/0.2967, allocations: 12 kB / 1.213 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003561/0.297, allocations: 151.8 kB / 1.213 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.447e-05/0.2971, allocations: 31.89 kB / 1.213 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.762e-05/0.2972, allocations: 63.67 kB / 1.213 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003826/0.2976, allocations: 247.5 kB / 1.214 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.2976, allocations: 0 / 1.214 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.273e-06/0.2976, allocations: 3.938 kB / 1.214 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.2976, allocations: 0 / 1.214 GB, free: 3.617 MB / 0.9669 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.0009301/0.2985, allocations: 486.9 kB / 1.214 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.2986, allocations: 8.625 kB / 1.214 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.782e-05/0.2986, allocations: 42.73 kB / 1.214 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.572e-05/0.2987, allocations: 12.75 kB / 1.214 GB, free: 3.023 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.2988, allocations: 180.2 kB / 1.214 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.2989, allocations: 12.38 kB / 1.214 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.2989, allocations: 12.38 kB / 1.214 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003119/0.2992, allocations: 127.4 kB / 1.214 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.2992, allocations: 0 / 1.214 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.2992, allocations: 0 / 1.214 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.2993, allocations: 0 / 1.214 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003816/0.2996, allocations: 143.9 kB / 1.215 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009952/0.3007, allocations: 464.4 kB / 1.215 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002766/0.3009, allocations: 130.5 kB / 1.215 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001786/0.3011, allocations: 64.81 kB / 1.215 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001318/0.3025, allocations: 0.9645 MB / 1.216 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.3025, allocations: 38.56 kB / 1.216 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=12): time 1.714e-06/0.3025, allocations: 0 / 1.216 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12): time 0.0006141/0.3031, allocations: 205.4 kB / 1.216 GB, free: 464 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.3032, allocations: 59.34 kB / 1.216 GB, free: 392 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.3033, allocations: 167.2 kB / 1.217 GB, free: 208 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.3033, allocations: 25.7 kB / 1.217 GB, free: 176 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.524e-05/0.3034, allocations: 108.4 kB / 1.217 GB, free: 64 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.754e-05/0.3034, allocations: 39.45 kB / 1.217 GB, free: 24 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.946e-05/0.3035, allocations: 53.72 kB / 1.217 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.3036, allocations: 326.8 kB / 1.217 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002032/0.3039, allocations: 75.95 kB / 1.217 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002239/0.3041, allocations: 108.2 kB / 1.217 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003911/0.3045, allocations: 170.1 kB / 1.217 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.3045, allocations: 4 kB / 1.217 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005181/0.305, allocations: 243.4 kB / 1.218 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.305, allocations: 8.094 kB / 1.218 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.3051, allocations: 7.938 kB / 1.218 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.3051, allocations: 0 / 1.218 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000262/0.3053, allocations: 51.91 kB / 1.218 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.3054, allocations: 4 kB / 1.218 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/0.3055, allocations: 39.66 kB / 1.218 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.544e-05/0.3056, allocations: 7.938 kB / 1.218 GB, free: 14.9 MB / 0.9825 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.87e-05/0.3057, allocations: 133.8 kB / 1.218 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.59e-05/0.3057, allocations: 7.906 kB / 1.218 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004358/0.3061, allocations: 178.8 kB / 1.218 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.3062, allocations: 4 kB / 1.218 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.3062, allocations: 0 / 1.218 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3062, allocations: 3.938 kB / 1.218 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000211/0.3064, allocations: 217.4 kB / 1.218 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.3064, allocations: 8 kB / 1.218 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001476/0.3066, allocations: 31.97 kB / 1.218 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.3066, allocations: 0 / 1.218 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.3066, allocations: 7.938 kB / 1.218 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.3066, allocations: 0 / 1.218 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3066, allocations: 0 / 1.218 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003968/0.307, allocations: 259.9 kB / 1.219 GB, free: 14 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.935e-05/0.3071, allocations: 96.91 kB / 1.219 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.71e-05/0.3071, allocations: 15.81 kB / 1.219 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.3073, allocations: 11.98 kB / 1.219 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.924e-05/0.3073, allocations: 7.984 kB / 1.219 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.3073, allocations: 8 kB / 1.219 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.819e-05/0.3074, allocations: 120.9 kB / 1.219 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3074, allocations: 4 kB / 1.219 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003279/0.3077, allocations: 68.3 kB / 1.219 GB, free: 13.65 MB / 0.9825 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.0008681/0.3086, allocations: 0.8372 MB / 1.22 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004738/0.3091, allocations: 175.9 kB / 1.22 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3091, allocations: 0 / 1.22 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001707/0.3093, allocations: 67.89 kB / 1.22 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003915/0.3097, allocations: 29.89 kB / 1.22 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002539/0.3122, allocations: 1.951 MB / 1.222 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.3125, allocations: 0.7045 MB / 1.223 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.003e-05/0.3126, allocations: 15.09 kB / 1.223 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.764e-05/0.3127, allocations: 39.42 kB / 1.223 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of SimCode: time 1.643e-06/0.3127, allocations: 0 / 1.223 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02082/0.3335, allocations: 4.355 MB / 1.227 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.269/7.602, allocations: 5.375 kB / 1.227 GB, free: 5.496 MB / 0.9825 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