Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_11_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.00143/0.00143, 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.001372/0.001371, allocations: 199.2 kB / 16.54 MB, free: 6.672 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.326/1.326, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.467/2.467, allocations: 469.8 MB / 0.7424 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001739/0.001739, allocations: 69.88 kB / 0.9087 GB, free: 34.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.2421, allocations: 159.2 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005614/0.2477, allocations: 4.585 MB / 1.069 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009748/0.2487, allocations: 0.8177 MB / 1.069 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.408e-05/0.2488, allocations: 0 / 1.069 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001298/0.2489, allocations: 31.77 kB / 1.069 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.26e-05/0.249, allocations: 35.64 kB / 1.069 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004063/0.2494, allocations: 171.4 kB / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000168/0.2496, allocations: 171.4 kB / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.26e-05/0.2497, allocations: 17.12 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001401/0.2498, allocations: 75.75 kB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.932e-05/0.2499, allocations: 87.66 kB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.468e-05/0.2499, allocations: 12 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002987/0.2503, allocations: 155.8 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.507e-05/0.2503, allocations: 35.89 kB / 1.07 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.465e-05/0.2504, allocations: 67.66 kB / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003184/0.2507, allocations: 235.6 kB / 1.07 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.2507, allocations: 0 / 1.07 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2507, allocations: 0 / 1.07 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.2507, allocations: 0 / 1.07 GB, free: 7.676 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.0007764/0.2515, allocations: 482.8 kB / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.2515, allocations: 12.03 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.493e-05/0.2516, allocations: 34.75 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.929e-05/0.2516, allocations: 12.84 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.2518, allocations: 188.1 kB / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.2518, allocations: 8.375 kB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.2518, allocations: 16.38 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003082/0.2521, allocations: 123 kB / 1.071 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.074e-06/0.2521, allocations: 0 / 1.071 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.2522, allocations: 8 kB / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-06/0.2522, allocations: 0 / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003858/0.2525, allocations: 139.9 kB / 1.071 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008872/0.2534, allocations: 472.4 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000272/0.2537, allocations: 118.5 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000185/0.2539, allocations: 76.8 kB / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001311/0.2552, allocations: 0.9683 MB / 1.073 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.2553, allocations: 30.56 kB / 1.073 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.082e-06/0.2553, allocations: 0 / 1.073 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.000626/0.2559, allocations: 213.3 kB / 1.073 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.256, allocations: 59.34 kB / 1.073 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.2561, allocations: 165.1 kB / 1.073 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.2561, allocations: 33.7 kB / 1.073 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.477e-05/0.2562, allocations: 108.4 kB / 1.074 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.789e-05/0.2562, allocations: 35.45 kB / 1.074 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.272e-05/0.2563, allocations: 49.7 kB / 1.074 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.2565, allocations: 322.8 kB / 1.074 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002141/0.2567, allocations: 79.94 kB / 1.074 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002291/0.2569, allocations: 107.3 kB / 1.074 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004044/0.2573, allocations: 177.9 kB / 1.074 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2573, allocations: 0 / 1.074 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005338/0.2579, allocations: 245.2 kB / 1.075 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/0.2579, allocations: 4 kB / 1.075 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.2579, allocations: 7.922 kB / 1.075 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.2579, allocations: 4 kB / 1.075 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002441/0.2582, allocations: 51.97 kB / 1.075 GB, free: 3.004 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.2582, allocations: 7.938 kB / 1.075 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001438/0.2583, allocations: 27.77 kB / 1.075 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/0.2584, allocations: 11.98 kB / 1.075 GB, free: 2.957 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.144e-05/0.2585, allocations: 121.9 kB / 1.075 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.631e-05/0.2585, allocations: 19.8 kB / 1.075 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004518/0.259, allocations: 174.9 kB / 1.075 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.259, allocations: 3.938 kB / 1.075 GB, free: 2.625 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.259, allocations: 4 kB / 1.075 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.259, allocations: 4 kB / 1.075 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000222/0.2592, allocations: 217.5 kB / 1.075 GB, free: 2.355 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2592, allocations: 0 / 1.075 GB, free: 2.355 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001433/0.2594, allocations: 27.97 kB / 1.075 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.2594, allocations: 4 kB / 1.075 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.2594, allocations: 3.938 kB / 1.075 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2594, allocations: 0 / 1.075 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2594, allocations: 0 / 1.075 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004393/0.2598, allocations: 263.7 kB / 1.075 GB, free: 2.047 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.954e-05/0.2599, allocations: 104.9 kB / 1.076 GB, free: 1.926 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.26, allocations: 3.938 kB / 1.076 GB, free: 1.922 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.2601, allocations: 15.98 kB / 1.076 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/0.2601, allocations: 15.92 kB / 1.076 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.2602, allocations: 4 kB / 1.076 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.926e-05/0.2602, allocations: 125.6 kB / 1.076 GB, free: 1.766 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2603, allocations: 0 / 1.076 GB, free: 1.766 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002861/0.2605, allocations: 60.31 kB / 1.076 GB, free: 1.707 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.0008766/0.2614, allocations: 0.8459 MB / 1.077 GB, free: 0.832 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004911/0.2619, allocations: 178.2 kB / 1.077 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.2619, allocations: 0 / 1.077 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001855/0.2621, allocations: 67.89 kB / 1.077 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.2624, allocations: 20.16 kB / 1.077 GB, free: 0.5742 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002441/0.2649, allocations: 1.957 MB / 1.079 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.2652, allocations: 0.7045 MB / 1.079 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.805e-05/0.2653, allocations: 21.64 kB / 1.079 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.897e-05/0.2653, allocations: 35.42 kB / 1.079 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.2654, allocations: 0 / 1.079 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6765/0.9419, allocations: 4.244 MB / 1.084 GB, free: 9.641 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.36/11.3, allocations: 8.734 kB / 1.084 GB, free: 9.633 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches