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.001145/0.001145, allocations: 108 kB / 15.61 MB, free: 152 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.001132/0.001132, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.271/1.271, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.406/2.406, allocations: 437.1 MB / 0.7104 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 63.91 kB / 0.8693 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5201/0.5214, allocations: 151.6 MB / 1.017 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005508/0.5269, allocations: 4.581 MB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009702/0.5279, allocations: 0.8147 MB / 1.023 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.123e-05/0.528, allocations: 0 / 1.023 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001531/0.5282, allocations: 39.77 kB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.212e-05/0.5283, allocations: 27.72 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004537/0.5287, allocations: 175.3 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000161/0.5289, allocations: 175.4 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.637e-05/0.529, allocations: 21.11 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001551/0.5292, allocations: 75.75 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.584e-05/0.5293, allocations: 83.67 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/0.5293, allocations: 12 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003073/0.5296, allocations: 155.8 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.155e-05/0.5296, allocations: 31.91 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.661e-05/0.5297, allocations: 71.64 kB / 1.024 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003116/0.53, allocations: 233.6 kB / 1.024 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.53, allocations: 0 / 1.024 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.203e-06/0.53, allocations: 0 / 1.024 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.441e-06/0.5301, allocations: 0 / 1.024 GB, free: 11.96 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.0007838/0.5308, allocations: 482.9 kB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.5309, allocations: 12.03 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.079e-05/0.5309, allocations: 34.75 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.768e-05/0.531, allocations: 16.75 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.5311, allocations: 189 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.5311, allocations: 8.375 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.019e-05/0.5312, allocations: 16.38 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000295/0.5315, allocations: 121.5 kB / 1.025 GB, free: 11 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.5315, allocations: 0 / 1.025 GB, free: 11 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.79e-05/0.5315, allocations: 8 kB / 1.025 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.5315, allocations: 0 / 1.025 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003916/0.5319, allocations: 139.9 kB / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008922/0.5328, allocations: 472.4 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002754/0.5331, allocations: 118.5 kB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001882/0.5333, allocations: 76.8 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001258/0.5346, allocations: 0.9607 MB / 1.026 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.5346, allocations: 30.56 kB / 1.026 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=12): time 1.293e-06/0.5346, allocations: 3.938 kB / 1.026 GB, free: 9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12): time 0.0006485/0.5353, allocations: 213.3 kB / 1.027 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.5353, allocations: 59.34 kB / 1.027 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.5354, allocations: 157 kB / 1.027 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.5355, allocations: 33.7 kB / 1.027 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.368e-05/0.5355, allocations: 112.2 kB / 1.027 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.846e-05/0.5356, allocations: 43.34 kB / 1.027 GB, free: 8.355 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.111e-05/0.5356, allocations: 49.7 kB / 1.027 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.256e-05/0.5357, allocations: 322.8 kB / 1.027 GB, free: 7.977 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000226/0.536, allocations: 83.88 kB / 1.027 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002369/0.5362, allocations: 103.4 kB / 1.027 GB, free: 7.781 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004144/0.5366, allocations: 180.8 kB / 1.028 GB, free: 7.594 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.5366, allocations: 0 / 1.028 GB, free: 7.594 MB / 0.7794 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005673/0.5372, allocations: 239.4 kB / 1.028 GB, free: 7.355 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.5372, allocations: 5.562 kB / 1.028 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.5373, allocations: 7.922 kB / 1.028 GB, free: 7.344 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.5373, allocations: 4 kB / 1.028 GB, free: 7.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002688/0.5375, allocations: 55.91 kB / 1.028 GB, free: 7.285 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.5376, allocations: 4 kB / 1.028 GB, free: 7.281 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001555/0.5377, allocations: 27.73 kB / 1.028 GB, free: 7.254 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.467e-05/0.5378, allocations: 11.98 kB / 1.028 GB, free: 7.242 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 8.702e-05/0.5378, allocations: 125.8 kB / 1.028 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.603e-05/0.5379, allocations: 11.91 kB / 1.028 GB, free: 7.098 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004605/0.5384, allocations: 179.2 kB / 1.028 GB, free: 6.918 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.5384, allocations: 4 kB / 1.028 GB, free: 6.914 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.5384, allocations: 4 kB / 1.028 GB, free: 6.91 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.5384, allocations: 7.938 kB / 1.028 GB, free: 6.902 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001989/0.5386, allocations: 213.5 kB / 1.028 GB, free: 6.645 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.5386, allocations: 0 / 1.028 GB, free: 6.645 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.5388, allocations: 27.97 kB / 1.029 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.5388, allocations: 4 kB / 1.029 GB, free: 6.613 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.5388, allocations: 3.938 kB / 1.029 GB, free: 6.609 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.5388, allocations: 0 / 1.029 GB, free: 6.609 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.5388, allocations: 0 / 1.029 GB, free: 6.609 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004287/0.5392, allocations: 259.3 kB / 1.029 GB, free: 6.34 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.316e-05/0.5393, allocations: 104.9 kB / 1.029 GB, free: 6.219 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.5393, allocations: 7.875 kB / 1.029 GB, free: 6.211 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.5395, allocations: 23.91 kB / 1.029 GB, free: 6.188 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.923e-05/0.5395, allocations: 7.984 kB / 1.029 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.5395, allocations: 4 kB / 1.029 GB, free: 6.176 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.124e-05/0.5396, allocations: 125.6 kB / 1.029 GB, free: 6.055 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5396, allocations: 3.938 kB / 1.029 GB, free: 6.051 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003232/0.5399, allocations: 60.38 kB / 1.029 GB, free: 5.992 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.0008465/0.5408, allocations: 0.8427 MB / 1.03 GB, free: 5.125 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004923/0.5413, allocations: 183.7 kB / 1.03 GB, free: 4.945 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.5413, allocations: 0 / 1.03 GB, free: 4.945 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001889/0.5415, allocations: 67.89 kB / 1.03 GB, free: 4.879 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.5418, allocations: 24.17 kB / 1.03 GB, free: 4.855 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002415/0.5443, allocations: 1.949 MB / 1.032 GB, free: 2.812 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002134/0.5445, allocations: 0.7045 MB / 1.033 GB, free: 2.082 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001013/0.5446, allocations: 25.44 kB / 1.033 GB, free: 2.059 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.017e-05/0.5447, allocations: 35.42 kB / 1.033 GB, free: 2.023 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.5447, allocations: 0 / 1.033 GB, free: 2.023 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.36/0.9047, allocations: 4.243 MB / 1.037 GB, free: 13.93 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.927/8.832, allocations: 7.953 kB / 1.037 GB, free: 13.92 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