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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001622/0.001622, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001981/0.001981, allocations: 195.2 kB / 16.25 MB, free: 6.625 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.462/1.462, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.857/2.857, allocations: 461.9 MB / 0.7343 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 62.67 kB / 0.8987 GB, free: 37.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2796, allocations: 157.4 MB / 1.052 GB, free: 8.711 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.004281/0.2839, allocations: 2.211 MB / 1.055 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002245/0.2862, allocations: 1.052 MB / 1.056 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000298/0.2865, allocations: 3.938 kB / 1.056 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001433/0.2868, allocations: 15.86 kB / 1.056 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005606/0.2873, allocations: 75.39 kB / 1.056 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006446/0.288, allocations: 167.7 kB / 1.056 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004441/0.2884, allocations: 294.8 kB / 1.056 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002111/0.2887, allocations: 57 kB / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001804/0.2888, allocations: 107.6 kB / 1.056 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002556/0.2891, allocations: 139.4 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.29e-05/0.2892, allocations: 20 kB / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004536/0.2896, allocations: 291.7 kB / 1.057 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.408e-05/0.2897, allocations: 47.77 kB / 1.057 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001484/0.2899, allocations: 123.3 kB / 1.057 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005432/0.2904, allocations: 330.8 kB / 1.057 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2904, allocations: 0 / 1.057 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.244e-06/0.2904, allocations: 3.938 kB / 1.057 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.987e-05/0.2905, allocations: 8 kB / 1.057 GB, free: 3.77 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.001325/0.2918, allocations: 0.6248 MB / 1.058 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.2919, allocations: 8.625 kB / 1.058 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.612e-05/0.2919, allocations: 50.72 kB / 1.058 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002363/0.2922, allocations: 36.64 kB / 1.058 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003427/0.2925, allocations: 279.4 kB / 1.058 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.2925, allocations: 8.656 kB / 1.058 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.738e-05/0.2926, allocations: 16.38 kB / 1.058 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006297/0.2932, allocations: 228.7 kB / 1.058 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.2932, allocations: 4 kB / 1.058 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.902e-05/0.2933, allocations: 4 kB / 1.058 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.2933, allocations: 4 kB / 1.058 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006822/0.294, allocations: 203.8 kB / 1.059 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001185/0.2952, allocations: 0.9423 MB / 1.06 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007859/0.296, allocations: 237.2 kB / 1.06 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003431/0.2963, allocations: 105.6 kB / 1.06 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.2964, allocations: 4 kB / 1.06 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.2964, allocations: 42.56 kB / 1.06 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.2964, allocations: 0 / 1.06 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.001211/0.2976, allocations: 341.4 kB / 1.06 GB, free: 448 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.459e-05/0.2977, allocations: 77.11 kB / 1.06 GB, free: 352 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002641/0.2979, allocations: 267 kB / 1.061 GB, free: 76 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.133e-05/0.298, allocations: 29.7 kB / 1.061 GB, free: 40 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.2981, allocations: 164.1 kB / 1.061 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.848e-05/0.2982, allocations: 51.2 kB / 1.061 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.214e-05/0.2983, allocations: 49.64 kB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.2985, allocations: 330.8 kB / 1.061 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003631/0.2988, allocations: 95.91 kB / 1.061 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004252/0.2993, allocations: 145.8 kB / 1.061 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007597/0.3, allocations: 238.4 kB / 1.062 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.3, allocations: 4 kB / 1.062 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008865/0.3009, allocations: 297 kB / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.085e-05/0.301, allocations: 10.03 kB / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.301, allocations: 4 kB / 1.062 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.301, allocations: 4 kB / 1.062 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003187/0.3014, allocations: 63.88 kB / 1.062 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.3014, allocations: 0 / 1.062 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000271/0.3016, allocations: 39.81 kB / 1.062 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.3017, allocations: 4 kB / 1.062 GB, free: 14.5 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.0001541/0.3018, allocations: 141.8 kB / 1.062 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/0.302, allocations: 31.56 kB / 1.062 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000865/0.3029, allocations: 291.1 kB / 1.062 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.3029, allocations: 0 / 1.062 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.3029, allocations: 4 kB / 1.062 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.3029, allocations: 0 / 1.062 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004003/0.3033, allocations: 297.3 kB / 1.063 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.3033, allocations: 0 / 1.063 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002843/0.3036, allocations: 55.89 kB / 1.063 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-06/0.3036, allocations: 4 kB / 1.063 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.3037, allocations: 7.984 kB / 1.063 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.3037, allocations: 4 kB / 1.063 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3037, allocations: 0 / 1.063 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008385/0.3045, allocations: 442.5 kB / 1.063 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.752e-05/0.3046, allocations: 108.7 kB / 1.063 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.442e-05/0.3047, allocations: 11.94 kB / 1.063 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000286/0.305, allocations: 23.97 kB / 1.063 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.003e-05/0.305, allocations: 19.97 kB / 1.063 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.3051, allocations: 8 kB / 1.063 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001786/0.3052, allocations: 190 kB / 1.064 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3052, allocations: 0 / 1.064 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003878/0.3056, allocations: 52 kB / 1.064 GB, free: 12.75 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.001451/0.3071, allocations: 0.9939 MB / 1.065 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008482/0.308, allocations: 231.7 kB / 1.065 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.308, allocations: 7.875 kB / 1.065 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003661/0.3083, allocations: 120.2 kB / 1.065 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007942/0.3092, allocations: 73.56 kB / 1.065 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004581/0.3137, allocations: 2.764 MB / 1.068 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/0.3141, allocations: 0.7519 MB / 1.068 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001997/0.3143, allocations: 34.23 kB / 1.068 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.3144, allocations: 87.34 kB / 1.069 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of SimCode: time 4.51e-07/0.3144, allocations: 0 / 1.069 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7443/1.059, allocations: 6.176 MB / 1.075 GB, free: 1.559 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002017/1.059, allocations: 212.7 kB / 1.075 GB, free: 1.309 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.658/3.717, allocations: 2.031 kB / 1.075 GB, free: 1.309 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