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.001095/0.001095, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001603/0.001603, allocations: 194.7 kB / 16.25 MB, free: 6.621 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.442/1.442, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.769/2.769, allocations: 461.9 MB / 0.7344 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 71.94 kB / 0.8987 GB, free: 37.19 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2869, allocations: 157.4 MB / 1.052 GB, free: 8.613 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.007119/0.294, allocations: 4.611 MB / 1.057 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001162/0.2952, allocations: 0.8101 MB / 1.058 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.887e-05/0.2953, allocations: 8 kB / 1.058 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002216/0.2956, allocations: 23.84 kB / 1.058 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001127/0.2957, allocations: 27.77 kB / 1.058 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006487/0.2964, allocations: 159.5 kB / 1.058 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002045/0.2966, allocations: 171.4 kB / 1.058 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.2967, allocations: 21.09 kB / 1.058 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003023/0.297, allocations: 83.69 kB / 1.058 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001609/0.2972, allocations: 79.67 kB / 1.058 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.387e-05/0.2972, allocations: 12 kB / 1.058 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004921/0.2977, allocations: 151.8 kB / 1.058 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.524e-05/0.2978, allocations: 39.91 kB / 1.058 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.864e-05/0.2979, allocations: 67.66 kB / 1.059 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005436/0.2985, allocations: 235.6 kB / 1.059 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.2985, allocations: 0 / 1.059 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.945e-06/0.2985, allocations: 0 / 1.059 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.51e-05/0.2985, allocations: 0 / 1.059 GB, free: 2.102 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.001059/0.2996, allocations: 482.9 kB / 1.059 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.918e-05/0.2996, allocations: 12.62 kB / 1.059 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.732e-05/0.2997, allocations: 38.73 kB / 1.059 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.632e-05/0.2998, allocations: 20.69 kB / 1.059 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.3, allocations: 184.2 kB / 1.059 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.3, allocations: 4.375 kB / 1.059 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.949e-05/0.3001, allocations: 12.38 kB / 1.059 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004107/0.3005, allocations: 129.4 kB / 1.06 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.3005, allocations: 0 / 1.06 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.54e-05/0.3005, allocations: 8 kB / 1.06 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.3006, allocations: 0 / 1.06 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004513/0.301, allocations: 139.9 kB / 1.06 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.302, allocations: 460.5 kB / 1.06 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003111/0.3024, allocations: 130.5 kB / 1.06 GB, free: 364 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002049/0.3026, allocations: 72.81 kB / 1.06 GB, free: 288 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001452/0.304, allocations: 0.9645 MB / 1.061 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.3041, allocations: 30.56 kB / 1.061 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.313e-06/0.3041, allocations: 4 kB / 1.061 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0006675/0.3048, allocations: 217.2 kB / 1.062 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.3048, allocations: 59.34 kB / 1.062 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.305, allocations: 164 kB / 1.062 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.3051, allocations: 37.7 kB / 1.062 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.843e-05/0.3052, allocations: 104.4 kB / 1.062 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.88e-05/0.3052, allocations: 43.36 kB / 1.062 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.3053, allocations: 49.69 kB / 1.062 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001952/0.3055, allocations: 322.8 kB / 1.062 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002622/0.3058, allocations: 75.89 kB / 1.062 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002978/0.3061, allocations: 112.9 kB / 1.062 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004798/0.3066, allocations: 174.1 kB / 1.063 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3066, allocations: 0 / 1.063 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006345/0.3073, allocations: 237.3 kB / 1.063 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.3073, allocations: 4 kB / 1.063 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.3073, allocations: 3.938 kB / 1.063 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.392e-05/0.3073, allocations: 8.094 kB / 1.063 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002957/0.3076, allocations: 55.91 kB / 1.063 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.63e-05/0.3077, allocations: 7.984 kB / 1.063 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000177/0.3079, allocations: 31.67 kB / 1.063 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.654e-05/0.3079, allocations: 8 kB / 1.063 GB, free: 13.38 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 0.0001375/0.308, allocations: 121.8 kB / 1.063 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.07e-05/0.3081, allocations: 15.81 kB / 1.063 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005568/0.3087, allocations: 182.8 kB / 1.063 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.3087, allocations: 0 / 1.063 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/0.3087, allocations: 7.938 kB / 1.063 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3087, allocations: 0 / 1.063 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002928/0.309, allocations: 217.5 kB / 1.063 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.309, allocations: 3.984 kB / 1.063 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001689/0.3092, allocations: 27.98 kB / 1.064 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.3092, allocations: 4 kB / 1.064 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.3093, allocations: 7.922 kB / 1.064 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.3093, allocations: 0 / 1.064 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.3093, allocations: 0 / 1.064 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005033/0.3098, allocations: 259.3 kB / 1.064 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.3099, allocations: 100.9 kB / 1.064 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.564e-05/0.3099, allocations: 3.938 kB / 1.064 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/0.3101, allocations: 15.98 kB / 1.064 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.386e-05/0.3101, allocations: 11.92 kB / 1.064 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.3102, allocations: 0 / 1.064 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.252e-05/0.3102, allocations: 120 kB / 1.064 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3102, allocations: 0 / 1.064 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003601/0.3106, allocations: 68.3 kB / 1.064 GB, free: 12.13 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.0009134/0.3115, allocations: 0.8469 MB / 1.065 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004987/0.312, allocations: 168 kB / 1.065 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3121, allocations: 4 kB / 1.065 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001861/0.3123, allocations: 68.64 kB / 1.065 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003989/0.3127, allocations: 27.98 kB / 1.065 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002528/0.3152, allocations: 1.992 MB / 1.067 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.3155, allocations: 0.7084 MB / 1.068 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001218/0.3156, allocations: 16.59 kB / 1.068 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.633e-05/0.3157, allocations: 35.42 kB / 1.068 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3157, allocations: 0 / 1.068 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7421/1.058, allocations: 4.051 MB / 1.072 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000304/1.058, allocations: 228.4 kB / 1.072 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.695/3.753, allocations: 0 / 1.072 GB, free: 4.008 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