Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_10_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.001342/0.001342, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00141/0.001411, allocations: 188.4 kB / 16.25 MB, free: 6.633 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.347/1.347, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.605/2.605, allocations: 437 MB / 0.7101 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 67.89 kB / 0.8689 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6561/0.6575, allocations: 151.6 MB / 1.017 GB, free: 2.727 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006274/0.6638, allocations: 4.624 MB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001106/0.665, allocations: 0.8109 MB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.745e-05/0.6651, allocations: 0 / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001917/0.6653, allocations: 19.89 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.088e-05/0.6654, allocations: 27.72 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005325/0.6659, allocations: 155.5 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001924/0.6661, allocations: 179.4 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.6662, allocations: 13.11 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001848/0.6664, allocations: 79.77 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.6665, allocations: 83.67 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.297e-05/0.6666, allocations: 12 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003265/0.6669, allocations: 163.7 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.205e-05/0.6669, allocations: 23.92 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.307e-05/0.667, allocations: 67.66 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003455/0.6674, allocations: 245.6 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.6674, allocations: 0 / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.444e-06/0.6674, allocations: 0 / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.6674, allocations: 0 / 1.023 GB, free: 12.21 MB / 0.7794 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.0009149/0.6683, allocations: 480.6 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.6684, allocations: 12.03 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.222e-05/0.6684, allocations: 38.73 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.936e-05/0.6685, allocations: 16.75 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.6687, allocations: 190 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.6687, allocations: 12.38 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.514e-05/0.6687, allocations: 12.38 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003281/0.669, allocations: 117.5 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.6691, allocations: 0 / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.6691, allocations: 7.984 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.6691, allocations: 0 / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003924/0.6695, allocations: 147.8 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009496/0.6705, allocations: 468.4 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002704/0.6707, allocations: 126.5 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/0.6709, allocations: 68.81 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001311/0.6722, allocations: 0.9684 MB / 1.026 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.6723, allocations: 34.5 kB / 1.026 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=12): time 1.463e-06/0.6723, allocations: 0 / 1.026 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12): time 0.0006645/0.673, allocations: 217.6 kB / 1.026 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.673, allocations: 51.41 kB / 1.026 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.6732, allocations: 157.5 kB / 1.026 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.6732, allocations: 29.7 kB / 1.026 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.715e-05/0.6733, allocations: 112.3 kB / 1.026 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.824e-05/0.6733, allocations: 39.36 kB / 1.026 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.565e-05/0.6734, allocations: 53.69 kB / 1.026 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.6735, allocations: 322.8 kB / 1.027 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002157/0.6738, allocations: 79.89 kB / 1.027 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002327/0.674, allocations: 108.8 kB / 1.027 GB, free: 8.031 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000406/0.6744, allocations: 176.9 kB / 1.027 GB, free: 7.848 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.6744, allocations: 0 / 1.027 GB, free: 7.848 MB / 0.7794 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005339/0.675, allocations: 245.9 kB / 1.027 GB, free: 7.602 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.675, allocations: 6.031 kB / 1.027 GB, free: 7.598 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.675, allocations: 3.938 kB / 1.027 GB, free: 7.594 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.675, allocations: 4 kB / 1.027 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002631/0.6753, allocations: 55.91 kB / 1.027 GB, free: 7.535 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.6753, allocations: 4 kB / 1.027 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001567/0.6755, allocations: 31.72 kB / 1.027 GB, free: 7.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.629e-05/0.6755, allocations: 12 kB / 1.027 GB, free: 7.488 MB / 0.7794 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.0001003/0.6756, allocations: 129.8 kB / 1.028 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.488e-05/0.6757, allocations: 11.91 kB / 1.028 GB, free: 7.34 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004672/0.6761, allocations: 182.8 kB / 1.028 GB, free: 7.156 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.6761, allocations: 4 kB / 1.028 GB, free: 7.152 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.6762, allocations: 4 kB / 1.028 GB, free: 7.148 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.6762, allocations: 3.938 kB / 1.028 GB, free: 7.145 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/0.6764, allocations: 209.6 kB / 1.028 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.6764, allocations: 0 / 1.028 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001488/0.6765, allocations: 31.91 kB / 1.028 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.6766, allocations: 4 kB / 1.028 GB, free: 6.855 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.6766, allocations: 7.938 kB / 1.028 GB, free: 6.848 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.6766, allocations: 0 / 1.028 GB, free: 6.848 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.6766, allocations: 0 / 1.028 GB, free: 6.848 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004201/0.677, allocations: 255.3 kB / 1.028 GB, free: 6.582 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.417e-05/0.6771, allocations: 100.9 kB / 1.028 GB, free: 6.465 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.6771, allocations: 7.938 kB / 1.028 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.6773, allocations: 11.98 kB / 1.028 GB, free: 6.445 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.01e-05/0.6773, allocations: 11.98 kB / 1.028 GB, free: 6.434 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.6773, allocations: 8 kB / 1.028 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.162e-05/0.6774, allocations: 118.2 kB / 1.029 GB, free: 6.312 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6774, allocations: 0 / 1.029 GB, free: 6.312 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003313/0.6778, allocations: 60.36 kB / 1.029 GB, free: 6.254 MB / 0.7794 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.0008842/0.6787, allocations: 0.8487 MB / 1.029 GB, free: 5.379 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004909/0.6792, allocations: 181.7 kB / 1.03 GB, free: 5.203 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.6792, allocations: 4 kB / 1.03 GB, free: 5.199 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001783/0.6794, allocations: 67.94 kB / 1.03 GB, free: 5.133 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004293/0.6798, allocations: 32.8 kB / 1.03 GB, free: 5.102 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00246/0.6823, allocations: 1.977 MB / 1.032 GB, free: 3.031 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.6825, allocations: 0.7084 MB / 1.032 GB, free: 2.297 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.000101/0.6827, allocations: 17.03 kB / 1.032 GB, free: 2.281 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.4e-05/0.6827, allocations: 35.42 kB / 1.032 GB, free: 2.246 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.6828, allocations: 3.938 kB / 1.032 GB, free: 2.242 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01573/0.6985, allocations: 4.053 MB / 1.036 GB, free: 14.38 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000198/0.6987, allocations: 230.1 kB / 1.037 GB, free: 14.12 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.877/2.576, allocations: 0 / 1.037 GB, free: 14.12 MB / 0.795 GB (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches