Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.HACoilInside,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_10_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.0009392/0.0009391, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.005776/0.005776, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.209/1.209, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.385/2.385, allocations: 437.8 MB / 0.7121 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003893/0.0003893, allocations: 15.94 kB / 0.873 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.675/0.6754, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.001897/0.6773, allocations: 1.321 MB / 1.024 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001474/0.6788, allocations: 0.9204 MB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.879e-05/0.6789, allocations: 0 / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.035e-05/0.6789, allocations: 3.938 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001837/0.6791, allocations: 19.84 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003077/0.6794, allocations: 99.75 kB / 1.025 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.6796, allocations: 71.66 kB / 1.026 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.202e-05/0.6797, allocations: 19.98 kB / 1.026 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.156e-05/0.6798, allocations: 23.92 kB / 1.026 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.6799, allocations: 31.84 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.68, allocations: 4 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003868/0.6804, allocations: 283.6 kB / 1.026 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.065e-05/0.6804, allocations: 11.92 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.671e-05/0.6804, allocations: 49.52 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002301/0.6807, allocations: 149.9 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.912e-06/0.6807, allocations: 4 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.515e-06/0.6807, allocations: 0 / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.6807, allocations: 0 / 1.026 GB, free: 12.8 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005463/0.6813, allocations: 407.1 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.6813, allocations: 8.031 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.65e-05/0.6814, allocations: 34.75 kB / 1.027 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001181/0.6815, allocations: 12.84 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.6817, allocations: 194.1 kB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.337e-06/0.6817, allocations: 384 / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.6817, allocations: 8.375 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.6819, allocations: 65.8 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.6819, allocations: 0 / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.6819, allocations: 0 / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.682, allocations: 4 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000177/0.6821, allocations: 55.84 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004509/0.6826, allocations: 300.7 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/0.6828, allocations: 58.55 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.529e-05/0.6829, allocations: 32.97 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.6829, allocations: 0 / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/0.6829, allocations: 38.56 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 9.12e-07/0.6829, allocations: 7.875 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0003837/0.6833, allocations: 113.8 kB / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.6834, allocations: 55.41 kB / 1.027 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.6835, allocations: 133.8 kB / 1.028 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.6835, allocations: 29.7 kB / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.202e-05/0.6836, allocations: 100.1 kB / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.6836, allocations: 11.88 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.748e-05/0.6836, allocations: 13.72 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.6838, allocations: 326.8 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.53e-05/0.6839, allocations: 27.98 kB / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.574e-05/0.6839, allocations: 28.05 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000167/0.6841, allocations: 64.77 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.6841, allocations: 0 / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002327/0.6844, allocations: 105.6 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.6844, allocations: 5.094 kB / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.6844, allocations: 0 / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.6844, allocations: 3.984 kB / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.6845, allocations: 15.98 kB / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.6845, allocations: 4 kB / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.313e-05/0.6846, allocations: 8 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.6846, allocations: 3.984 kB / 1.028 GB, free: 10.34 MB / 0.7794 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 9.307e-05/0.6847, allocations: 122.2 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.6e-05/0.6848, allocations: 7.906 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002744/0.6851, allocations: 106 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.6851, allocations: 7.984 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.6851, allocations: 0 / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.6851, allocations: 0 / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001907/0.6853, allocations: 189.4 kB / 1.029 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.6853, allocations: 0 / 1.029 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.562e-05/0.6854, allocations: 15.98 kB / 1.029 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.6854, allocations: 4 kB / 1.029 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.415e-06/0.6854, allocations: 4 kB / 1.029 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.6854, allocations: 0 / 1.029 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.6854, allocations: 3.938 kB / 1.029 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002691/0.6857, allocations: 195.7 kB / 1.029 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.912e-05/0.6858, allocations: 85.02 kB / 1.029 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.6858, allocations: 11.88 kB / 1.029 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.69e-05/0.6859, allocations: 7.984 kB / 1.029 GB, free: 9.488 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.965e-05/0.6859, allocations: 8 kB / 1.029 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.6859, allocations: 0 / 1.029 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.521e-05/0.686, allocations: 104.7 kB / 1.029 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.686, allocations: 0 / 1.029 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002597/0.6863, allocations: 23.91 kB / 1.029 GB, free: 9.355 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 (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.0006623/0.6869, allocations: 0.7436 MB / 1.03 GB, free: 8.582 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002171/0.6872, allocations: 67.95 kB / 1.03 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.6872, allocations: 0 / 1.03 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.881e-05/0.6873, allocations: 31.92 kB / 1.03 GB, free: 8.484 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.6876, allocations: 15.91 kB / 1.03 GB, free: 8.469 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001742/0.6894, allocations: 1.492 MB / 1.031 GB, free: 6.902 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.6897, allocations: 0.6965 MB / 1.032 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.94e-05/0.6897, allocations: 4 kB / 1.032 GB, free: 6.176 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.138e-05/0.6898, allocations: 23.42 kB / 1.032 GB, free: 6.156 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.6898, allocations: 0 / 1.032 GB, free: 6.156 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4925/1.182, allocations: 2.029 MB / 1.034 GB, free: 4.277 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002682/1.183, allocations: 219.4 kB / 1.034 GB, free: 4.023 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.9/3.083, allocations: 0 / 1.034 GB, free: 4.023 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches