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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.414/2.414, allocations: 390.3 MB / 402.8 MB, free: 6.691 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 172.9 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.727/1.727, allocations: 221.3 MB / 0.7915 GB, free: 5.418 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009756/0.0009761, allocations: 91.94 kB / 0.9317 GB, free: 5.734 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.124e-05/5.134e-05, allocations: 8 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3559, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.178/1.534, allocations: 152.5 MB / 1.368 GB, free: 1.664 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/1.534, allocations: 83.84 kB / 1.368 GB, free: 1.617 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02282/1.557, allocations: 7.657 MB / 1.375 GB, free: 11.09 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.824e-06/1.557, allocations: 0 / 1.375 GB, free: 11.09 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.861e-05/1.557, allocations: 4 kB / 1.375 GB, free: 11.09 MB / 0.8386 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.0009873/1.558, allocations: 0.5479 MB / 1.376 GB, free: 10.5 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/1.558, allocations: 8.031 kB / 1.376 GB, free: 10.5 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002468/1.558, allocations: 39.25 kB / 1.376 GB, free: 10.46 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005021/1.559, allocations: 297.4 kB / 1.376 GB, free: 10.14 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/1.559, allocations: 10.66 kB / 1.376 GB, free: 10.14 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.806e-05/1.559, allocations: 15.44 kB / 1.376 GB, free: 10.13 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003138/1.559, allocations: 181.1 kB / 1.376 GB, free: 9.969 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/1.559, allocations: 3.938 kB / 1.376 GB, free: 9.965 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/1.559, allocations: 3.562 kB / 1.376 GB, free: 9.965 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/1.559, allocations: 4 kB / 1.376 GB, free: 9.961 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002107/1.559, allocations: 109.7 kB / 1.376 GB, free: 9.887 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001327/1.561, allocations: 0.9599 MB / 1.377 GB, free: 8.945 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005385/1.561, allocations: 195.5 kB / 1.378 GB, free: 8.773 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/1.561, allocations: 59.81 kB / 1.378 GB, free: 8.727 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/1.561, allocations: 3.125 kB / 1.378 GB, free: 8.727 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/1.561, allocations: 38.55 kB / 1.378 GB, free: 8.68 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.483e-06/1.561, allocations: 4 kB / 1.378 GB, free: 8.676 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0004183/1.562, allocations: 165.3 kB / 1.378 GB, free: 8.539 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.018e-05/1.562, allocations: 81.11 kB / 1.378 GB, free: 8.441 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002529/1.562, allocations: 228.4 kB / 1.378 GB, free: 8.246 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/1.562, allocations: 33.27 kB / 1.378 GB, free: 8.211 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000114/1.562, allocations: 155 kB / 1.378 GB, free: 8.09 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.025e-05/1.562, allocations: 57.55 kB / 1.378 GB, free: 8.039 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.293e-05/1.562, allocations: 7.125 kB / 1.378 GB, free: 8.035 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001645/1.563, allocations: 338 kB / 1.379 GB, free: 7.707 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.995e-05/1.563, allocations: 46.25 kB / 1.379 GB, free: 7.676 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/1.563, allocations: 97.38 kB / 1.379 GB, free: 7.582 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/1.563, allocations: 50.8 kB / 1.379 GB, free: 7.547 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/1.563, allocations: 0 / 1.379 GB, free: 7.547 MB / 0.8386 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003622/1.563, allocations: 203.8 kB / 1.379 GB, free: 7.379 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/1.563, allocations: 4 kB / 1.379 GB, free: 7.375 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/1.563, allocations: 0 / 1.379 GB, free: 7.375 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/1.563, allocations: 4 kB / 1.379 GB, free: 7.371 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003027/1.564, allocations: 79.66 kB / 1.379 GB, free: 7.297 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/1.564, allocations: 4 kB / 1.379 GB, free: 7.293 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002361/1.564, allocations: 47.44 kB / 1.379 GB, free: 7.25 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.749e-05/1.564, allocations: 8 kB / 1.379 GB, free: 7.242 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.403e-05/1.564, allocations: 119.4 kB / 1.379 GB, free: 7.125 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.977e-05/1.564, allocations: 23.72 kB / 1.379 GB, free: 7.102 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003817/1.565, allocations: 202.2 kB / 1.379 GB, free: 6.945 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.237e-06/1.565, allocations: 4 kB / 1.379 GB, free: 6.941 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/1.565, allocations: 0 / 1.379 GB, free: 6.941 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/1.565, allocations: 7.984 kB / 1.379 GB, free: 6.934 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003542/1.565, allocations: 295.1 kB / 1.38 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/1.565, allocations: 0 / 1.38 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002724/1.565, allocations: 63.39 kB / 1.38 GB, free: 6.578 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/1.565, allocations: 4 kB / 1.38 GB, free: 6.574 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/1.565, allocations: 4 kB / 1.38 GB, free: 6.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/1.565, allocations: 8 kB / 1.38 GB, free: 6.562 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.565, allocations: 3.938 kB / 1.38 GB, free: 6.559 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004146/1.566, allocations: 355.8 kB / 1.38 GB, free: 6.227 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.101e-05/1.566, allocations: 108.6 kB / 1.38 GB, free: 6.105 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.122e-05/1.566, allocations: 0 / 1.38 GB, free: 6.105 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002781/1.566, allocations: 43.83 kB / 1.38 GB, free: 6.066 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.395e-05/1.566, allocations: 19.78 kB / 1.38 GB, free: 6.051 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/1.566, allocations: 4 kB / 1.38 GB, free: 6.047 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001657/1.566, allocations: 187.9 kB / 1.381 GB, free: 5.898 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.566, allocations: 0 / 1.381 GB, free: 5.898 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003275/1.567, allocations: 63.22 kB / 1.381 GB, free: 5.84 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002515/1.567, allocations: 125 kB / 1.381 GB, free: 5.715 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002866/1.567, allocations: 128.4 kB / 1.381 GB, free: 5.625 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/1.567, allocations: 0 / 1.381 GB, free: 5.625 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001358/1.567, allocations: 74.86 kB / 1.381 GB, free: 5.57 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004487/1.568, allocations: 67.11 kB / 1.381 GB, free: 5.516 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006246/1.569, allocations: 302.6 kB / 1.381 GB, free: 5.23 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/1.569, allocations: 0.7596 MB / 1.382 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001512/1.569, allocations: 34.3 kB / 1.382 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.963e-05/1.569, allocations: 19.44 kB / 1.382 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of SimCode: time 1.833e-06/1.569, allocations: 0 / 1.382 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of Templates: time 0.007307/1.577, allocations: 3.407 MB / 1.385 GB, free: 1.07 MB / 0.8386 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","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches