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.0008697/0.0008697, allocations: 90.52 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.005746/0.005746, allocations: 169.5 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.263/1.263, 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.455/2.455, allocations: 437.8 MB / 0.7121 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003096/0.0003097, allocations: 12 kB / 0.873 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5968/0.5972, allocations: 153.8 MB / 1.023 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002448/0.5997, allocations: 1.85 MB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00171/0.6014, allocations: 1.053 MB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.6015, allocations: 7.938 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.984e-05/0.6016, allocations: 15.84 kB / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002766/0.6018, allocations: 71.42 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003269/0.6022, allocations: 147.7 kB / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003001/0.6025, allocations: 278.8 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/0.6027, allocations: 60.59 kB / 1.027 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.6028, allocations: 95.61 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002199/0.603, allocations: 123.3 kB / 1.027 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.059e-05/0.6031, allocations: 8 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000404/0.6035, allocations: 291.6 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.533e-05/0.6035, allocations: 31.78 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.6036, allocations: 129 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003773/0.604, allocations: 317.1 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.604, allocations: 4 kB / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.857e-06/0.6041, allocations: 3.938 kB / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.6041, allocations: 3.938 kB / 1.027 GB, free: 11.39 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.001052/0.6051, allocations: 0.5962 MB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.6052, allocations: 12.03 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.002e-05/0.6053, allocations: 50.73 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000208/0.6055, allocations: 40.55 kB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003017/0.6058, allocations: 275.5 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.6058, allocations: 12.66 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.657e-05/0.6058, allocations: 12.38 kB / 1.028 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005601/0.6064, allocations: 256.7 kB / 1.029 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.6064, allocations: 3.938 kB / 1.029 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.882e-05/0.6064, allocations: 8 kB / 1.029 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.6065, allocations: 4 kB / 1.029 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007227/0.6072, allocations: 239.8 kB / 1.029 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001158/0.6084, allocations: 0.9539 MB / 1.03 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008023/0.6092, allocations: 265.2 kB / 1.03 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003679/0.6095, allocations: 133.6 kB / 1.03 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.6096, allocations: 4 kB / 1.03 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.6096, allocations: 38.88 kB / 1.03 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.6096, allocations: 0 / 1.03 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.001284/0.6109, allocations: 405.1 kB / 1.031 GB, free: 7.898 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.611, allocations: 81.11 kB / 1.031 GB, free: 7.801 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002626/0.6112, allocations: 262.9 kB / 1.031 GB, free: 7.535 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.6113, allocations: 33.7 kB / 1.031 GB, free: 7.496 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.6114, allocations: 168.1 kB / 1.031 GB, free: 7.324 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.255e-05/0.6114, allocations: 51.2 kB / 1.031 GB, free: 7.273 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-05/0.6115, allocations: 21.72 kB / 1.031 GB, free: 7.246 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.6116, allocations: 342.8 kB / 1.032 GB, free: 6.902 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003709/0.612, allocations: 111.8 kB / 1.032 GB, free: 6.793 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003864/0.6124, allocations: 167.5 kB / 1.032 GB, free: 6.609 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007253/0.6131, allocations: 281.8 kB / 1.032 GB, free: 6.312 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.6131, allocations: 0 / 1.032 GB, free: 6.312 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008992/0.614, allocations: 344.9 kB / 1.032 GB, free: 5.969 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.6141, allocations: 5.719 kB / 1.032 GB, free: 5.965 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.6141, allocations: 8.125 kB / 1.032 GB, free: 5.957 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.6141, allocations: 0 / 1.032 GB, free: 5.957 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000299/0.6144, allocations: 71.89 kB / 1.033 GB, free: 5.887 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.6144, allocations: 0 / 1.033 GB, free: 5.887 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002606/0.6147, allocations: 59.7 kB / 1.033 GB, free: 5.828 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.932e-05/0.6147, allocations: 12 kB / 1.033 GB, free: 5.816 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.0001187/0.6148, allocations: 130.3 kB / 1.033 GB, free: 5.68 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.615, allocations: 27.66 kB / 1.033 GB, free: 5.652 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000922/0.6159, allocations: 343.9 kB / 1.033 GB, free: 5.309 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.6159, allocations: 4 kB / 1.033 GB, free: 5.305 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.6159, allocations: 0 / 1.033 GB, free: 5.305 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.6159, allocations: 0 / 1.033 GB, free: 5.305 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003744/0.6163, allocations: 297.3 kB / 1.033 GB, free: 4.965 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.6163, allocations: 0 / 1.033 GB, free: 4.965 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000279/0.6166, allocations: 63.95 kB / 1.033 GB, free: 4.902 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.6166, allocations: 7.938 kB / 1.033 GB, free: 4.895 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.6166, allocations: 4 kB / 1.033 GB, free: 4.891 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.6166, allocations: 0 / 1.033 GB, free: 4.891 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.6166, allocations: 7.984 kB / 1.033 GB, free: 4.883 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008994/0.6175, allocations: 482.3 kB / 1.034 GB, free: 4.395 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.645e-05/0.6176, allocations: 108.7 kB / 1.034 GB, free: 4.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.157e-05/0.6177, allocations: 0 / 1.034 GB, free: 4.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002783/0.6179, allocations: 39.97 kB / 1.034 GB, free: 4.23 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.509e-05/0.618, allocations: 23.91 kB / 1.034 GB, free: 4.207 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.618, allocations: 4 kB / 1.034 GB, free: 4.203 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001658/0.6182, allocations: 190 kB / 1.034 GB, free: 4.02 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6182, allocations: 0 / 1.034 GB, free: 4.02 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003638/0.6186, allocations: 56 kB / 1.034 GB, free: 3.965 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.001298/0.6199, allocations: 1.045 MB / 1.035 GB, free: 2.895 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008172/0.6207, allocations: 268 kB / 1.036 GB, free: 2.633 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.6207, allocations: 0 / 1.036 GB, free: 2.633 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000405/0.6212, allocations: 140.4 kB / 1.036 GB, free: 2.496 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006143/0.6218, allocations: 68.97 kB / 1.036 GB, free: 2.426 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004238/0.626, allocations: 2.898 MB / 1.039 GB, free: 15.41 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.6264, allocations: 0.748 MB / 1.039 GB, free: 14.63 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001657/0.6265, allocations: 30.28 kB / 1.039 GB, free: 14.6 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.6267, allocations: 87.39 kB / 1.039 GB, free: 14.52 MB / 0.795 GB Notification: Performance of SimCode: time 4.01e-07/0.6267, allocations: 0 / 1.039 GB, free: 14.52 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03179/0.6585, allocations: 5.886 MB / 1.045 GB, free: 8.852 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001923/0.6587, allocations: 215.1 kB / 1.045 GB, free: 8.594 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.933/2.591, allocations: 0 / 1.045 GB, free: 8.594 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