Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.HADryCoil,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",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.001625/0.001625, 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.002134/0.002134, allocations: 198.1 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.316/1.316, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.439/2.439, allocations: 437 MB / 0.7099 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 63.91 kB / 0.8687 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5423/0.5437, allocations: 151.6 MB / 1.017 GB, free: 2.84 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002968/0.5468, allocations: 2.205 MB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00149/0.5483, allocations: 1.08 MB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.643e-05/0.5484, allocations: 7.938 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 5.039e-05/0.5484, allocations: 11.86 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.00024/0.5487, allocations: 75.41 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003054/0.549, allocations: 139.8 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000245/0.5493, allocations: 278.8 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.5494, allocations: 60.7 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/0.5495, allocations: 95.58 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001908/0.5497, allocations: 139.3 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.079e-05/0.5498, allocations: 12 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003623/0.5501, allocations: 291.6 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.108e-05/0.5502, allocations: 35.78 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.297e-05/0.5503, allocations: 119.3 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003122/0.5506, allocations: 325.1 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.5506, allocations: 0 / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.41e-07/0.5506, allocations: 0 / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.5506, allocations: 0 / 1.021 GB, free: 13.97 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009906/0.5516, allocations: 0.6233 MB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.5517, allocations: 12.03 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.002e-05/0.5517, allocations: 46.73 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001954/0.5519, allocations: 36.64 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002744/0.5522, allocations: 275.5 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.5522, allocations: 20.64 kB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/0.5522, allocations: 12.38 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004944/0.5527, allocations: 236.7 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.5528, allocations: 0 / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.5528, allocations: 12 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.5528, allocations: 4 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000619/0.5534, allocations: 195.7 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.5545, allocations: 0.9422 MB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007329/0.5552, allocations: 237.2 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003142/0.5555, allocations: 117.8 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.5556, allocations: 3.984 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.5556, allocations: 38.56 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.293e-06/0.5556, allocations: 0 / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.001096/0.5567, allocations: 337.1 kB / 1.024 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.5567, allocations: 85.11 kB / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002315/0.557, allocations: 259 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.557, allocations: 29.7 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.332e-05/0.5571, allocations: 160.2 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.298e-05/0.5572, allocations: 63.05 kB / 1.025 GB, free: 10 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.784e-05/0.5572, allocations: 37.7 kB / 1.025 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.5573, allocations: 338.8 kB / 1.025 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003135/0.5577, allocations: 95.77 kB / 1.026 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003272/0.558, allocations: 133.9 kB / 1.026 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006103/0.5586, allocations: 245.7 kB / 1.026 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.5586, allocations: 0 / 1.026 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007912/0.5594, allocations: 301 kB / 1.026 GB, free: 8.812 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.5594, allocations: 4 kB / 1.026 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.5595, allocations: 4 kB / 1.026 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.5595, allocations: 0 / 1.026 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002871/0.5598, allocations: 63.88 kB / 1.026 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.914e-06/0.5598, allocations: 8.156 kB / 1.026 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000229/0.56, allocations: 35.81 kB / 1.026 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.825e-05/0.56, allocations: 8 kB / 1.026 GB, free: 8.691 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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.0001107/0.5602, allocations: 130.3 kB / 1.026 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.5603, allocations: 31.56 kB / 1.026 GB, free: 8.523 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007739/0.561, allocations: 299.8 kB / 1.027 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.5611, allocations: 4 kB / 1.027 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.5611, allocations: 0 / 1.027 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.5611, allocations: 7.984 kB / 1.027 GB, free: 8.211 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003417/0.5614, allocations: 293.3 kB / 1.027 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.5614, allocations: 4 kB / 1.027 GB, free: 7.871 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002548/0.5617, allocations: 47.95 kB / 1.027 GB, free: 7.824 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.5617, allocations: 0 / 1.027 GB, free: 7.824 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.5617, allocations: 8 kB / 1.027 GB, free: 7.816 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.5617, allocations: 4 kB / 1.027 GB, free: 7.812 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5617, allocations: 0 / 1.027 GB, free: 7.812 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007688/0.5625, allocations: 450.4 kB / 1.028 GB, free: 7.355 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.279e-05/0.5626, allocations: 104.7 kB / 1.028 GB, free: 7.234 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.005e-05/0.5626, allocations: 11.98 kB / 1.028 GB, free: 7.223 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002546/0.5629, allocations: 31.95 kB / 1.028 GB, free: 7.191 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.479e-05/0.563, allocations: 19.97 kB / 1.028 GB, free: 7.172 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.563, allocations: 4 kB / 1.028 GB, free: 7.168 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001579/0.5631, allocations: 190 kB / 1.028 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.282e-06/0.5632, allocations: 0 / 1.028 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003379/0.5635, allocations: 51.94 kB / 1.028 GB, free: 6.934 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.001068/0.5646, allocations: 1.002 MB / 1.029 GB, free: 5.906 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006597/0.5652, allocations: 223.9 kB / 1.029 GB, free: 5.688 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.5653, allocations: 0 / 1.029 GB, free: 5.688 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003295/0.5656, allocations: 119.9 kB / 1.029 GB, free: 5.57 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005791/0.5662, allocations: 65.39 kB / 1.029 GB, free: 5.508 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003688/0.5699, allocations: 2.785 MB / 1.032 GB, free: 2.605 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.5702, allocations: 0.7518 MB / 1.033 GB, free: 1.828 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001614/0.5703, allocations: 26.3 kB / 1.033 GB, free: 1.797 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.5705, allocations: 79.41 kB / 1.033 GB, free: 1.723 MB / 0.7794 GB Notification: Performance of SimCode: time 4.81e-07/0.5705, allocations: 0 / 1.033 GB, free: 1.723 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7864/1.357, allocations: 6 MB / 1.039 GB, free: 11.91 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002164/1.357, allocations: 209.7 kB / 1.039 GB, free: 11.66 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.848/3.205, allocations: 4 kB / 1.039 GB, free: 11.66 MB / 0.795 GB (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches