Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.HACoilInside,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",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.001214/0.001214, allocations: 94.28 kB / 15.37 MB, free: 0.7266 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.001085/0.001086, allocations: 179 kB / 16.27 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.285/1.285, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.172/2.172, allocations: 390.9 MB / 0.6664 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003092/0.0003092, allocations: 16 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5762/0.5765, allocations: 142.4 MB / 0.9552 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.001332/0.5779, allocations: 1.321 MB / 0.9565 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00105/0.579, allocations: 0.9113 MB / 0.9574 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.194e-05/0.579, allocations: 1.438 kB / 0.9574 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.522e-05/0.5791, allocations: 3.938 kB / 0.9574 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001371/0.5792, allocations: 23.66 kB / 0.9574 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000221/0.5794, allocations: 103.8 kB / 0.9575 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.5795, allocations: 70 kB / 0.9576 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.467e-05/0.5796, allocations: 17.34 kB / 0.9576 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.824e-05/0.5797, allocations: 34.14 kB / 0.9576 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.839e-05/0.5798, allocations: 32.03 kB / 0.9576 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.5798, allocations: 2.781 kB / 0.9576 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000297/0.5801, allocations: 274.6 kB / 0.9579 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.448e-05/0.5801, allocations: 17.78 kB / 0.9579 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.189e-05/0.5802, allocations: 48.34 kB / 0.958 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.5804, allocations: 148 kB / 0.9581 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.5804, allocations: 4 kB / 0.9581 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.133e-06/0.5804, allocations: 0 / 0.9581 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.926e-06/0.5804, allocations: 0 / 0.9581 GB, free: 5.43 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003773/0.5808, allocations: 403.3 kB / 0.9585 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.5808, allocations: 11.94 kB / 0.9585 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.604e-05/0.5808, allocations: 33.12 kB / 0.9585 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.576e-05/0.5809, allocations: 15.08 kB / 0.9585 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.581, allocations: 186.8 kB / 0.9587 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.955e-06/0.5811, allocations: 5.812 kB / 0.9587 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.5811, allocations: 10.41 kB / 0.9587 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.5812, allocations: 67 kB / 0.9588 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.5812, allocations: 0 / 0.9588 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.5813, allocations: 0 / 0.9588 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.5813, allocations: 1.844 kB / 0.9588 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001368/0.5814, allocations: 54.61 kB / 0.9589 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003003/0.5817, allocations: 296.1 kB / 0.9591 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.5818, allocations: 64.36 kB / 0.9592 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.142e-05/0.5819, allocations: 30.84 kB / 0.9592 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.18e-05/0.5819, allocations: 3.984 kB / 0.9592 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.688e-06/0.582, allocations: 31.94 kB / 0.9593 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 8.81e-07/0.582, allocations: 0 / 0.9593 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0003161/0.5823, allocations: 126 kB / 0.9594 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.589e-05/0.5823, allocations: 52.78 kB / 0.9594 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.825e-05/0.5824, allocations: 137 kB / 0.9596 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.366e-06/0.5824, allocations: 25.7 kB / 0.9596 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.829e-05/0.5824, allocations: 98.89 kB / 0.9597 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.372e-05/0.5824, allocations: 18.48 kB / 0.9597 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.119e-05/0.5825, allocations: 15.09 kB / 0.9597 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.97e-05/0.5825, allocations: 325.5 kB / 0.96 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.274e-05/0.5826, allocations: 27.05 kB / 0.9601 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.291e-05/0.5827, allocations: 25.86 kB / 0.9601 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.5828, allocations: 67.58 kB / 0.9601 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.5828, allocations: 0 / 0.9601 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001927/0.583, allocations: 105.5 kB / 0.9602 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.583, allocations: 4.125 kB / 0.9603 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.583, allocations: 1.375 kB / 0.9603 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.583, allocations: 0 / 0.9603 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.5832, allocations: 16.36 kB / 0.9603 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.5832, allocations: 1.375 kB / 0.9603 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.916e-05/0.5832, allocations: 13.42 kB / 0.9603 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.5832, allocations: 1.375 kB / 0.9603 GB, free: 3.375 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * 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 4.72e-05/0.5833, allocations: 116.6 kB / 0.9604 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.835e-05/0.5833, allocations: 8.031 kB / 0.9604 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002171/0.5836, allocations: 110.9 kB / 0.9605 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.5836, allocations: 1.312 kB / 0.9605 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.5836, allocations: 0 / 0.9605 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.5836, allocations: 11.88 kB / 0.9605 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.5837, allocations: 182.8 kB / 0.9607 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.5837, allocations: 1.469 kB / 0.9607 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.952e-05/0.5838, allocations: 19.39 kB / 0.9607 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.5838, allocations: 1.156 kB / 0.9607 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.5838, allocations: 1.312 kB / 0.9607 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.5838, allocations: 0 / 0.9607 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.5838, allocations: 3.984 kB / 0.9607 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002101/0.584, allocations: 200.1 kB / 0.9609 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.732e-05/0.5841, allocations: 83.2 kB / 0.961 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.5841, allocations: 5.109 kB / 0.961 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.286e-05/0.5842, allocations: 10.06 kB / 0.961 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.333e-05/0.5842, allocations: 10.45 kB / 0.961 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.5842, allocations: 4.625 kB / 0.961 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.743e-05/0.5843, allocations: 102.3 kB / 0.9611 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5843, allocations: 1.344 kB / 0.9611 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002256/0.5845, allocations: 22.31 kB / 0.9611 GB, free: 2.562 MB / 0.7169 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 (6): * Single equations (assignments): 6 * 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.0004124/0.5849, allocations: 0.7437 MB / 0.9619 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001956/0.5851, allocations: 63.69 kB / 0.9619 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.5851, allocations: 4.719 kB / 0.9619 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.173e-05/0.5852, allocations: 29.64 kB / 0.962 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.5855, allocations: 17.55 kB / 0.962 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.5867, allocations: 1.505 MB / 0.9634 GB, free: 460 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001611/0.5868, allocations: 0.6899 MB / 0.9641 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.303e-05/0.5869, allocations: 3.344 kB / 0.9641 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.034e-05/0.5869, allocations: 26.52 kB / 0.9641 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.5869, allocations: 0 / 0.9641 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.688/2.275, allocations: 2.035 MB / 0.9661 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002282/2.276, allocations: 214.8 kB / 0.9663 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.638/3.914, allocations: 0 / 0.9663 GB, free: 14.52 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches