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: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWat.y|TAir.y|mWat_flow.y|mAir_flow.y|hADryCoi.hA_1|hADryCoi.hA_2|hADryCoiAir.hA_1|hADryCoiAir.hA_2|hADryCoiWat.hA_1|hADryCoiWat.hA_2",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWat.y|TAir.y|mWat_flow.y|mAir_flow.y|hADryCoi.hA_1|hADryCoi.hA_2|hADryCoiAir.hA_1|hADryCoiAir.hA_2|hADryCoiWat.hA_1|hADryCoiWat.hA_2",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007843/0.0007843, 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.005064/0.005064, allocations: 168.9 kB / 16.26 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.374/1.374, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.761/2.761, allocations: 462.7 MB / 0.7364 GB, free: 268 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004018/0.0004021, allocations: 19.66 kB / 0.9028 GB, free: 36.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4377/0.4381, allocations: 159.6 MB / 1.059 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002548/0.4407, allocations: 1.856 MB / 1.06 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001935/0.4427, allocations: 1.063 MB / 1.062 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002376/0.443, allocations: 3.938 kB / 1.062 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 7.344e-05/0.4431, allocations: 11.86 kB / 1.062 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004848/0.4436, allocations: 79.39 kB / 1.062 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005437/0.4441, allocations: 135.8 kB / 1.062 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004627/0.4446, allocations: 282.8 kB / 1.062 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002049/0.4448, allocations: 64.64 kB / 1.062 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002032/0.445, allocations: 87.58 kB / 1.062 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002912/0.4453, allocations: 131.3 kB / 1.062 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.753e-05/0.4454, allocations: 8 kB / 1.062 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004841/0.4459, allocations: 287.6 kB / 1.063 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.272e-05/0.4459, allocations: 35.78 kB / 1.063 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001273/0.4461, allocations: 129 kB / 1.063 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004294/0.4465, allocations: 323.1 kB / 1.063 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.4465, allocations: 0 / 1.063 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.124e-06/0.4465, allocations: 3.938 kB / 1.063 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.301e-05/0.4466, allocations: 0 / 1.063 GB, free: 0.9609 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.001163/0.4477, allocations: 0.604 MB / 1.064 GB, free: 312 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.4478, allocations: 8.031 kB / 1.064 GB, free: 304 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002708/0.448, allocations: 36.56 kB / 1.064 GB, free: 268 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004406/0.4485, allocations: 275.5 kB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.4485, allocations: 12.66 kB / 1.064 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.59e-05/0.4486, allocations: 16.38 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006068/0.4492, allocations: 252.9 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.4492, allocations: 3.984 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.4492, allocations: 8 kB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.934e-06/0.4493, allocations: 4 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007436/0.45, allocations: 246.9 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001267/0.4513, allocations: 0.9462 MB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008092/0.4521, allocations: 261.4 kB / 1.066 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003909/0.4525, allocations: 137.7 kB / 1.066 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.4526, allocations: 7.938 kB / 1.066 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.4526, allocations: 30.56 kB / 1.066 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.4526, allocations: 0 / 1.066 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.001319/0.4539, allocations: 405 kB / 1.066 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.454, allocations: 81.11 kB / 1.066 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002902/0.4543, allocations: 271 kB / 1.067 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.4543, allocations: 29.64 kB / 1.067 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.4544, allocations: 160.1 kB / 1.067 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.647e-05/0.4545, allocations: 55.25 kB / 1.067 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.125e-05/0.4545, allocations: 17.72 kB / 1.067 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.4547, allocations: 338.8 kB / 1.067 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003612/0.455, allocations: 111.9 kB / 1.067 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004779/0.4555, allocations: 168.8 kB / 1.067 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007652/0.4563, allocations: 281.7 kB / 1.068 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.4563, allocations: 4 kB / 1.068 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009659/0.4573, allocations: 337.6 kB / 1.068 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.4573, allocations: 11.97 kB / 1.068 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.4573, allocations: 4 kB / 1.068 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.4574, allocations: 4 kB / 1.068 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003052/0.4577, allocations: 75.88 kB / 1.068 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.4577, allocations: 0 / 1.068 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002712/0.458, allocations: 55.75 kB / 1.068 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-05/0.458, allocations: 11.98 kB / 1.068 GB, free: 11.45 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.000155/0.4582, allocations: 133.8 kB / 1.068 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.4583, allocations: 27.66 kB / 1.068 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009385/0.4593, allocations: 347.2 kB / 1.069 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.4593, allocations: 4 kB / 1.069 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.4593, allocations: 0 / 1.069 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.4593, allocations: 0 / 1.069 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003994/0.4597, allocations: 289.3 kB / 1.069 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/0.4597, allocations: 3.938 kB / 1.069 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002767/0.46, allocations: 67.95 kB / 1.069 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.636e-06/0.46, allocations: 7.984 kB / 1.069 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.46, allocations: 4 kB / 1.069 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.46, allocations: 0 / 1.069 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.46, allocations: 4 kB / 1.069 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000935/0.461, allocations: 487.2 kB / 1.069 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.803e-05/0.4611, allocations: 104.8 kB / 1.07 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.897e-05/0.4611, allocations: 8 kB / 1.07 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002738/0.4614, allocations: 31.97 kB / 1.07 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.861e-05/0.4615, allocations: 19.97 kB / 1.07 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.4615, allocations: 8 kB / 1.07 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002035/0.4617, allocations: 190 kB / 1.07 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of sort global known variables: time 4.61e-07/0.4617, allocations: 0 / 1.07 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003919/0.4621, allocations: 63.84 kB / 1.07 GB, free: 9.59 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.000221/0.4624, allocations: 119.4 kB / 1.07 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008178/0.4632, allocations: 268 kB / 1.07 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4632, allocations: 0 / 1.07 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003883/0.4636, allocations: 140.5 kB / 1.07 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006268/0.4642, allocations: 80.53 kB / 1.07 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009308/0.4652, allocations: 0.5253 MB / 1.071 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/0.4655, allocations: 0.7557 MB / 1.072 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001656/0.4657, allocations: 26.3 kB / 1.072 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.724e-05/0.4658, allocations: 19.44 kB / 1.072 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.4658, allocations: 4 kB / 1.072 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of Templates: time 0.008051/0.4739, allocations: 3.547 MB / 1.075 GB, free: 4.121 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (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 & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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