Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_latest_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.001446/0.001446, 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.001276/0.001276, allocations: 197.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.278/1.278, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.586/2.586, allocations: 461.8 MB / 0.7342 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002199/0.002199, allocations: 65.16 kB / 0.8985 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.2618, allocations: 157.4 MB / 1.052 GB, free: 8.223 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003144/0.265, allocations: 2.217 MB / 1.054 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001603/0.2666, allocations: 1.067 MB / 1.055 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001509/0.2668, allocations: 8 kB / 1.055 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.565e-05/0.2669, allocations: 15.8 kB / 1.055 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002984/0.2672, allocations: 67.41 kB / 1.056 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003668/0.2675, allocations: 143.8 kB / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003024/0.2679, allocations: 286.7 kB / 1.056 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.268, allocations: 56.72 kB / 1.056 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001309/0.2682, allocations: 99.52 kB / 1.056 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002034/0.2684, allocations: 131.4 kB / 1.056 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.482e-05/0.2684, allocations: 15.94 kB / 1.056 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003732/0.2688, allocations: 295.6 kB / 1.056 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.742e-05/0.2688, allocations: 43.81 kB / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.667e-05/0.2689, allocations: 111.3 kB / 1.057 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003326/0.2693, allocations: 319.1 kB / 1.057 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2693, allocations: 0 / 1.057 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.42e-07/0.2693, allocations: 4 kB / 1.057 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.2693, allocations: 0 / 1.057 GB, free: 3.348 MB / 0.8106 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.0009852/0.2703, allocations: 0.6233 MB / 1.058 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.2703, allocations: 11.97 kB / 1.058 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.993e-05/0.2704, allocations: 50.73 kB / 1.058 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000202/0.2706, allocations: 36.64 kB / 1.058 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002878/0.2709, allocations: 279.4 kB / 1.058 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.2709, allocations: 12.66 kB / 1.058 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.271, allocations: 16.38 kB / 1.058 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004891/0.2715, allocations: 232.7 kB / 1.058 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.2715, allocations: 0 / 1.058 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.2715, allocations: 4 kB / 1.058 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.2715, allocations: 4 kB / 1.058 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005886/0.2721, allocations: 199.8 kB / 1.058 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.2732, allocations: 0.9345 MB / 1.059 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000742/0.2739, allocations: 245.2 kB / 1.06 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002966/0.2742, allocations: 109.6 kB / 1.06 GB, free: 412 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/0.2742, allocations: 4 kB / 1.06 GB, free: 408 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.2743, allocations: 42.5 kB / 1.06 GB, free: 356 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.372e-06/0.2743, allocations: 3.938 kB / 1.06 GB, free: 352 kB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.001048/0.2753, allocations: 337.9 kB / 1.06 GB, free: 8 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/0.2754, allocations: 85.05 kB / 1.06 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000235/0.2756, allocations: 267 kB / 1.06 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.2757, allocations: 29.7 kB / 1.06 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.2758, allocations: 160.1 kB / 1.06 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.442e-05/0.2758, allocations: 63.19 kB / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.716e-05/0.2759, allocations: 37.7 kB / 1.061 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.276, allocations: 338.8 kB / 1.061 GB, free: 15 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003094/0.2763, allocations: 87.91 kB / 1.061 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003145/0.2766, allocations: 142.1 kB / 1.061 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006084/0.2773, allocations: 241.7 kB / 1.061 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2773, allocations: 4 kB / 1.061 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007764/0.2781, allocations: 289.1 kB / 1.062 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.2781, allocations: 8 kB / 1.062 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.2781, allocations: 7.984 kB / 1.062 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.2781, allocations: 0 / 1.062 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002823/0.2784, allocations: 63.94 kB / 1.062 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.2784, allocations: 7.938 kB / 1.062 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002276/0.2787, allocations: 35.81 kB / 1.062 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.151e-05/0.2787, allocations: 8 kB / 1.062 GB, free: 14.07 MB / 0.8262 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.0001209/0.2788, allocations: 133.8 kB / 1.062 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.2789, allocations: 31.56 kB / 1.062 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007635/0.2797, allocations: 291.2 kB / 1.062 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.2797, allocations: 4 kB / 1.062 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2797, allocations: 0 / 1.062 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.2797, allocations: 0 / 1.062 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003474/0.2801, allocations: 301.3 kB / 1.062 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2801, allocations: 0 / 1.062 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002592/0.2804, allocations: 63.89 kB / 1.063 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.2804, allocations: 0 / 1.063 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.2804, allocations: 4 kB / 1.063 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.2804, allocations: 3.984 kB / 1.063 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2804, allocations: 0 / 1.063 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007718/0.2812, allocations: 447.8 kB / 1.063 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.885e-05/0.2812, allocations: 104.7 kB / 1.063 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.948e-05/0.2813, allocations: 3.984 kB / 1.063 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002509/0.2815, allocations: 23.97 kB / 1.063 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.621e-05/0.2816, allocations: 23.97 kB / 1.063 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.2816, allocations: 4 kB / 1.063 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001631/0.2818, allocations: 194 kB / 1.063 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2818, allocations: 0 / 1.063 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003451/0.2822, allocations: 56.19 kB / 1.063 GB, free: 12.32 MB / 0.8262 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.001085/0.2833, allocations: 0.9885 MB / 1.064 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006779/0.2839, allocations: 227.9 kB / 1.065 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.284, allocations: 192 / 1.065 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003285/0.2843, allocations: 128 kB / 1.065 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005851/0.2849, allocations: 61.88 kB / 1.065 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003781/0.2887, allocations: 2.775 MB / 1.067 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.289, allocations: 0.748 MB / 1.068 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001598/0.2891, allocations: 38.5 kB / 1.068 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.2893, allocations: 83.41 kB / 1.068 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.2893, allocations: 3.938 kB / 1.068 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2841/0.5733, allocations: 5.984 MB / 1.074 GB, free: 1.305 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002312/0.5736, allocations: 225.1 kB / 1.074 GB, free: 1.043 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.944/2.517, allocations: 1.562 kB / 1.074 GB, free: 1.043 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches