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.001196/0.001196, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.00996/0.00996, allocations: 169.8 kB / 16.27 MB, free: 6.648 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.385/1.385, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.582/2.582, allocations: 462.6 MB / 0.7364 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003671/0.0003671, allocations: 8.969 kB / 0.9029 GB, free: 36.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2814, allocations: 159.6 MB / 1.059 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002493/0.2839, allocations: 1.856 MB / 1.061 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001907/0.2858, allocations: 1.052 MB / 1.062 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001933/0.2861, allocations: 7.938 kB / 1.062 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.266e-05/0.2861, allocations: 15.8 kB / 1.062 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003454/0.2865, allocations: 71.45 kB / 1.062 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004549/0.2869, allocations: 143.7 kB / 1.062 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004023/0.2874, allocations: 282.8 kB / 1.062 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001915/0.2876, allocations: 60.7 kB / 1.062 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001623/0.2877, allocations: 91.58 kB / 1.062 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002572/0.288, allocations: 123.4 kB / 1.062 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.063e-05/0.288, allocations: 12 kB / 1.062 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004332/0.2885, allocations: 287.6 kB / 1.063 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.382e-05/0.2886, allocations: 43.72 kB / 1.063 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.2887, allocations: 133 kB / 1.063 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004088/0.2891, allocations: 319 kB / 1.063 GB, free: 424 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2891, allocations: 0 / 1.063 GB, free: 424 kB / 0.8106 GB Notification: Performance of FrontEnd: time 1.704e-06/0.2891, allocations: 0 / 1.063 GB, free: 424 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.748e-06/0.2891, allocations: 0 / 1.063 GB, free: 424 kB / 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.001114/0.2902, allocations: 0.604 MB / 1.064 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.2903, allocations: 15.97 kB / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.281e-05/0.2904, allocations: 46.73 kB / 1.064 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002342/0.2906, allocations: 36.56 kB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003396/0.291, allocations: 275.5 kB / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.291, allocations: 16.66 kB / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.669e-05/0.291, allocations: 16.38 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005734/0.2916, allocations: 252.7 kB / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.2916, allocations: 0 / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/0.2917, allocations: 4 kB / 1.064 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.2917, allocations: 4 kB / 1.064 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007366/0.2924, allocations: 243.8 kB / 1.065 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.2935, allocations: 0.9423 MB / 1.066 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008126/0.2944, allocations: 269.2 kB / 1.066 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000374/0.2947, allocations: 137.9 kB / 1.066 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.2948, allocations: 3.984 kB / 1.066 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.2948, allocations: 34.56 kB / 1.066 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.343e-06/0.2948, allocations: 0 / 1.066 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.001344/0.2962, allocations: 405 kB / 1.066 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.2962, allocations: 81.11 kB / 1.066 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002609/0.2965, allocations: 271 kB / 1.067 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.2965, allocations: 37.64 kB / 1.067 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.2966, allocations: 152.2 kB / 1.067 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.021e-05/0.2967, allocations: 51.2 kB / 1.067 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.155e-05/0.2967, allocations: 29.7 kB / 1.067 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.2968, allocations: 330.8 kB / 1.067 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000358/0.2972, allocations: 119.9 kB / 1.067 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003926/0.2976, allocations: 163.3 kB / 1.068 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007276/0.2983, allocations: 290.2 kB / 1.068 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2984, allocations: 0 / 1.068 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009082/0.2993, allocations: 349 kB / 1.068 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.2993, allocations: 4 kB / 1.068 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.2993, allocations: 4 kB / 1.068 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.2993, allocations: 3.938 kB / 1.068 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002966/0.2996, allocations: 67.94 kB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.2997, allocations: 12.19 kB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002523/0.2999, allocations: 47.81 kB / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.2999, allocations: 4 kB / 1.068 GB, free: 10.84 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.0001187/0.3001, allocations: 137.8 kB / 1.068 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.3002, allocations: 31.66 kB / 1.068 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008906/0.3011, allocations: 335.1 kB / 1.069 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.3011, allocations: 0 / 1.069 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.3011, allocations: 4 kB / 1.069 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.3011, allocations: 0 / 1.069 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003958/0.3015, allocations: 297.3 kB / 1.069 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3015, allocations: 0 / 1.069 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002863/0.3018, allocations: 67.89 kB / 1.069 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.3018, allocations: 0 / 1.069 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.3019, allocations: 15.98 kB / 1.069 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.3019, allocations: 0 / 1.069 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3019, allocations: 0 / 1.069 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009011/0.3028, allocations: 491.5 kB / 1.07 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.829e-05/0.3028, allocations: 104.8 kB / 1.07 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.54e-05/0.3029, allocations: 8 kB / 1.07 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003188/0.3032, allocations: 35.97 kB / 1.07 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.826e-05/0.3033, allocations: 15.97 kB / 1.07 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.3033, allocations: 8 kB / 1.07 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000159/0.3035, allocations: 190 kB / 1.07 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3035, allocations: 0 / 1.07 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0007333/0.3042, allocations: 60.09 kB / 1.07 GB, free: 8.98 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.001217/0.3054, allocations: 1.028 MB / 1.071 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008042/0.3063, allocations: 273.5 kB / 1.071 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.3063, allocations: 4.062 kB / 1.071 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003865/0.3067, allocations: 143.8 kB / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005856/0.3073, allocations: 69.22 kB / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004123/0.3114, allocations: 2.886 MB / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.3118, allocations: 0.7558 MB / 1.075 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000191/0.312, allocations: 38.42 kB / 1.075 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.3121, allocations: 83.41 kB / 1.075 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of SimCode: time 5.81e-07/0.3121, allocations: 0 / 1.075 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.144/1.456, allocations: 5.891 MB / 1.081 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002311/1.457, allocations: 217 kB / 1.081 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.143/3.599, allocations: 0 / 1.081 GB, free: 13.62 MB / 0.8419 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