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.001374/0.001374, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001554/0.001554, allocations: 197.8 kB / 16.14 MB, free: 6.711 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.307/1.307, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.487/2.487, allocations: 461.9 MB / 0.7342 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 66.39 kB / 0.8985 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.2397, allocations: 157.4 MB / 1.052 GB, free: 8.207 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005602/0.2453, allocations: 4.609 MB / 1.057 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009618/0.2463, allocations: 0.8373 MB / 1.058 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.634e-05/0.2464, allocations: 0 / 1.058 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001509/0.2466, allocations: 27.89 kB / 1.058 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.651e-05/0.2466, allocations: 27.77 kB / 1.058 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004208/0.2471, allocations: 151.5 kB / 1.058 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.2472, allocations: 163.4 kB / 1.058 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.206e-05/0.2473, allocations: 17.12 kB / 1.058 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001614/0.2475, allocations: 75.69 kB / 1.058 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.043e-05/0.2476, allocations: 75.72 kB / 1.058 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.2476, allocations: 8 kB / 1.058 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000303/0.2479, allocations: 143.8 kB / 1.058 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.928e-05/0.248, allocations: 27.89 kB / 1.058 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.953e-05/0.248, allocations: 63.66 kB / 1.058 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003115/0.2483, allocations: 239.6 kB / 1.059 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2484, allocations: 0 / 1.059 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.01e-07/0.2484, allocations: 0 / 1.059 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.2484, allocations: 0 / 1.059 GB, free: 1.73 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.0007879/0.2492, allocations: 480.7 kB / 1.059 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.2492, allocations: 11.97 kB / 1.059 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.761e-05/0.2492, allocations: 42.75 kB / 1.059 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.454e-05/0.2493, allocations: 12.75 kB / 1.059 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.2494, allocations: 188.1 kB / 1.059 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.2494, allocations: 8.375 kB / 1.059 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.2495, allocations: 12.38 kB / 1.059 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003102/0.2498, allocations: 117.5 kB / 1.059 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.2498, allocations: 8 kB / 1.059 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.2498, allocations: 0 / 1.059 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.2498, allocations: 0 / 1.059 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003864/0.2502, allocations: 139.9 kB / 1.059 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008826/0.2511, allocations: 472.4 kB / 1.06 GB, free: 124 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002952/0.2514, allocations: 130.5 kB / 1.06 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001842/0.2516, allocations: 72.7 kB / 1.06 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001264/0.2529, allocations: 0.9645 MB / 1.061 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.2529, allocations: 42.5 kB / 1.061 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.2529, allocations: 0 / 1.061 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0006298/0.2536, allocations: 213.6 kB / 1.061 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.2536, allocations: 55.34 kB / 1.061 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.2537, allocations: 168 kB / 1.062 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.2538, allocations: 25.7 kB / 1.062 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.028e-05/0.2538, allocations: 108.4 kB / 1.062 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.2539, allocations: 43.36 kB / 1.062 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.07e-05/0.2539, allocations: 49.7 kB / 1.062 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.766e-05/0.254, allocations: 322.8 kB / 1.062 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002146/0.2543, allocations: 75.94 kB / 1.062 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002304/0.2545, allocations: 113.3 kB / 1.062 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003847/0.2549, allocations: 166.4 kB / 1.062 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2549, allocations: 4 kB / 1.062 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005354/0.2554, allocations: 241.2 kB / 1.063 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.2555, allocations: 5.562 kB / 1.063 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.2555, allocations: 7.938 kB / 1.063 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.2555, allocations: 0 / 1.063 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002663/0.2558, allocations: 59.98 kB / 1.063 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.2558, allocations: 4 kB / 1.063 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001498/0.2559, allocations: 35.67 kB / 1.063 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.244e-05/0.256, allocations: 4 kB / 1.063 GB, free: 13.01 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.918e-05/0.2561, allocations: 129.8 kB / 1.063 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.671e-05/0.2561, allocations: 15.75 kB / 1.063 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004424/0.2565, allocations: 182.9 kB / 1.063 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.2566, allocations: 4 kB / 1.063 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.2566, allocations: 3.984 kB / 1.063 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2566, allocations: 0 / 1.063 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002009/0.2568, allocations: 213.5 kB / 1.063 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2568, allocations: 0 / 1.063 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001485/0.2569, allocations: 35.91 kB / 1.063 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.257, allocations: 4 kB / 1.063 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.257, allocations: 11.94 kB / 1.063 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.257, allocations: 3.938 kB / 1.063 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.257, allocations: 0 / 1.063 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004017/0.2574, allocations: 255.2 kB / 1.064 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.801e-05/0.2575, allocations: 97 kB / 1.064 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.494e-05/0.2575, allocations: 11.92 kB / 1.064 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.2576, allocations: 11.98 kB / 1.064 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.893e-05/0.2577, allocations: 7.984 kB / 1.064 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.2577, allocations: 8 kB / 1.064 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.09e-05/0.2578, allocations: 112 kB / 1.064 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2578, allocations: 0 / 1.064 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003059/0.2581, allocations: 60.31 kB / 1.064 GB, free: 11.77 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.0008015/0.2589, allocations: 0.8526 MB / 1.065 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004472/0.2593, allocations: 167.8 kB / 1.065 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.2594, allocations: 192 / 1.065 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001805/0.2595, allocations: 71.89 kB / 1.065 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003356/0.2599, allocations: 15.98 kB / 1.065 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002311/0.2622, allocations: 1.97 MB / 1.067 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002168/0.2624, allocations: 0.7087 MB / 1.068 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.993e-05/0.2625, allocations: 24.95 kB / 1.068 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.389e-05/0.2626, allocations: 35.42 kB / 1.068 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of SimCode: time 3.6e-07/0.2626, allocations: 0 / 1.068 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1707/0.4333, allocations: 3.95 MB / 1.071 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002219/0.4336, allocations: 234.8 kB / 1.072 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.945/2.378, allocations: 4.438 kB / 1.072 GB, free: 3.73 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