Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001365/0.00137, allocations: 113.5 kB / 16.41 MB, free: 6.492 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.001166/0.001166, allocations: 183 kB / 17.34 MB, free: 5.762 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.397/1.397, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.622/2.622, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 63.89 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.054/1.056, allocations: 151.6 MB / 1.167 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.004142/1.06, allocations: 2.162 MB / 1.169 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002141/1.062, allocations: 1.041 MB / 1.17 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002894/1.063, allocations: 4 kB / 1.17 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 9.839e-05/1.063, allocations: 31.66 kB / 1.17 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0005271/1.063, allocations: 79.23 kB / 1.171 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000638/1.064, allocations: 192.8 kB / 1.171 GB, free: 372 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0004932/1.064, allocations: 294.8 kB / 1.171 GB, free: 76 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002099/1.065, allocations: 56.72 kB / 1.171 GB, free: 16 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000239/1.065, allocations: 115.6 kB / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002938/1.065, allocations: 143.4 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 5.2e-05/1.065, allocations: 20 kB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005194/1.066, allocations: 295.6 kB / 1.172 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 6.507e-05/1.066, allocations: 43.78 kB / 1.172 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001323/1.066, allocations: 119.3 kB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005394/1.066, allocations: 340.3 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/1.067, allocations: 0 / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.763e-06/1.067, allocations: 0 / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.69e-05/1.067, allocations: 4 kB / 1.172 GB, free: 14.96 MB / 0.9044 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.001266/1.068, allocations: 0.6193 MB / 1.173 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/1.068, allocations: 12.92 kB / 1.173 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002654/1.068, allocations: 40.55 kB / 1.173 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005095/1.069, allocations: 279.5 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/1.069, allocations: 12.66 kB / 1.173 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.637e-05/1.069, allocations: 16.38 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000542/1.069, allocations: 233.5 kB / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/1.069, allocations: 0 / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.977e-05/1.069, allocations: 12 kB / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/1.069, allocations: 4 kB / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006428/1.07, allocations: 195.8 kB / 1.173 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001353/1.071, allocations: 0.95 MB / 1.174 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007835/1.072, allocations: 249.1 kB / 1.175 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003327/1.073, allocations: 105.6 kB / 1.175 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.157e-05/1.073, allocations: 8.234 kB / 1.175 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/1.073, allocations: 38.56 kB / 1.175 GB, free: 12 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 1.483e-06/1.073, allocations: 3.938 kB / 1.175 GB, free: 12 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.001128/1.074, allocations: 325.7 kB / 1.175 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/1.074, allocations: 85.05 kB / 1.175 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003125/1.074, allocations: 267 kB / 1.175 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/1.074, allocations: 25.7 kB / 1.175 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/1.074, allocations: 168 kB / 1.176 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.145e-05/1.074, allocations: 59.19 kB / 1.176 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.885e-05/1.074, allocations: 45.56 kB / 1.176 GB, free: 11 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001281/1.075, allocations: 338.8 kB / 1.176 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003075/1.075, allocations: 83.92 kB / 1.176 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003317/1.075, allocations: 144.8 kB / 1.176 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006292/1.076, allocations: 245.8 kB / 1.177 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/1.076, allocations: 0 / 1.177 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008227/1.077, allocations: 297 kB / 1.177 GB, free: 9.855 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/1.077, allocations: 4 kB / 1.177 GB, free: 9.852 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/1.077, allocations: 4.156 kB / 1.177 GB, free: 9.848 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/1.077, allocations: 4 kB / 1.177 GB, free: 9.844 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003007/1.077, allocations: 59.95 kB / 1.177 GB, free: 9.785 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/1.077, allocations: 7.938 kB / 1.177 GB, free: 9.777 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002495/1.077, allocations: 39.7 kB / 1.177 GB, free: 9.738 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.097e-05/1.077, allocations: 12 kB / 1.177 GB, free: 9.727 MB / 0.9044 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.0001461/1.078, allocations: 133.8 kB / 1.177 GB, free: 9.586 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/1.078, allocations: 27.66 kB / 1.177 GB, free: 9.559 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008114/1.078, allocations: 291.3 kB / 1.177 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/1.079, allocations: 4 kB / 1.177 GB, free: 9.262 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/1.079, allocations: 0 / 1.177 GB, free: 9.262 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/1.079, allocations: 3.984 kB / 1.177 GB, free: 9.258 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004089/1.079, allocations: 289.4 kB / 1.178 GB, free: 8.926 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/1.079, allocations: 7.938 kB / 1.178 GB, free: 8.918 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002603/1.079, allocations: 55.89 kB / 1.178 GB, free: 8.863 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/1.079, allocations: 0 / 1.178 GB, free: 8.863 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/1.079, allocations: 8 kB / 1.178 GB, free: 8.855 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/1.079, allocations: 3.938 kB / 1.178 GB, free: 8.852 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/1.079, allocations: 0 / 1.178 GB, free: 8.852 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007959/1.08, allocations: 440.5 kB / 1.178 GB, free: 8.406 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.429e-05/1.08, allocations: 112.6 kB / 1.178 GB, free: 8.277 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.785e-05/1.08, allocations: 0 / 1.178 GB, free: 8.277 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002576/1.08, allocations: 31.95 kB / 1.178 GB, free: 8.246 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.502e-05/1.081, allocations: 15.98 kB / 1.178 GB, free: 8.23 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/1.081, allocations: 8 kB / 1.178 GB, free: 8.223 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001807/1.081, allocations: 194 kB / 1.178 GB, free: 8.039 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/1.081, allocations: 0 / 1.178 GB, free: 8.039 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003763/1.081, allocations: 55.94 kB / 1.179 GB, free: 7.984 MB / 0.9044 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.0002376/1.081, allocations: 119.4 kB / 1.179 GB, free: 7.859 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007534/1.082, allocations: 235.8 kB / 1.179 GB, free: 7.629 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.082, allocations: 0 / 1.179 GB, free: 7.629 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003536/1.083, allocations: 111.9 kB / 1.179 GB, free: 7.52 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005686/1.083, allocations: 88.42 kB / 1.179 GB, free: 7.434 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008894/1.084, allocations: 468.5 kB / 1.179 GB, free: 6.934 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/1.084, allocations: 0.7519 MB / 1.18 GB, free: 6.156 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.841e-05/1.084, allocations: 23.44 kB / 1.18 GB, free: 6.133 MB / 0.9044 GB Notification: Performance of SimCode: time 8.01e-07/1.084, allocations: 0 / 1.18 GB, free: 6.133 MB / 0.9044 GB Notification: Performance of Templates: time 0.006256/1.091, allocations: 3.467 MB / 1.184 GB, free: 2.703 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches