Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001775/0.001775, allocations: 104.8 kB / 16.4 MB, free: 5.977 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.001919/0.001919, allocations: 189.3 kB / 17.34 MB, free: 5.586 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.375/1.375, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.21/2.21, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 68.03 kB / 0.9516 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9933/0.9946, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003478/0.9981, allocations: 2.153 MB / 1.091 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001935/1, allocations: 1.022 MB / 1.092 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001304/1, allocations: 2.875 kB / 1.092 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.801e-05/1, allocations: 25.73 kB / 1.092 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003557/1.001, allocations: 80.48 kB / 1.092 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005344/1.001, allocations: 196.4 kB / 1.092 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003991/1.002, allocations: 295.3 kB / 1.092 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002027/1.002, allocations: 68 kB / 1.092 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000165/1.002, allocations: 111.4 kB / 1.092 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002763/1.002, allocations: 150.5 kB / 1.093 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.525e-05/1.002, allocations: 17.5 kB / 1.093 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005356/1.003, allocations: 298 kB / 1.093 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.192e-05/1.003, allocations: 44.05 kB / 1.093 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001241/1.003, allocations: 119.6 kB / 1.093 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000515/1.004, allocations: 332.9 kB / 1.093 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/1.004, allocations: 4.688 kB / 1.093 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.733e-06/1.004, allocations: 0 / 1.093 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.045e-06/1.004, allocations: 0.7812 kB / 1.093 GB, free: 2.527 MB / 0.8575 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.00107/1.005, allocations: 0.6243 MB / 1.094 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.699e-05/1.005, allocations: 10.22 kB / 1.094 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002407/1.005, allocations: 38.23 kB / 1.094 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004184/1.005, allocations: 290.1 kB / 1.094 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/1.005, allocations: 11.12 kB / 1.094 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.566e-05/1.006, allocations: 21.62 kB / 1.094 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005822/1.006, allocations: 227.8 kB / 1.095 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/1.006, allocations: 0.7812 kB / 1.095 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/1.006, allocations: 5.688 kB / 1.095 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/1.006, allocations: 4.219 kB / 1.095 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006992/1.007, allocations: 198.6 kB / 1.095 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00118/1.008, allocations: 0.95 MB / 1.096 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008275/1.009, allocations: 241.6 kB / 1.096 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003567/1.009, allocations: 103.2 kB / 1.096 GB, free: 0.6133 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.136e-05/1.009, allocations: 6.578 kB / 1.096 GB, free: 0.6094 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/1.009, allocations: 32.39 kB / 1.096 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.513e-06/1.009, allocations: 4.625 kB / 1.096 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.001276/1.011, allocations: 340.5 kB / 1.096 GB, free: 468 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/1.011, allocations: 79.33 kB / 1.096 GB, free: 372 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003121/1.011, allocations: 265 kB / 1.097 GB, free: 216 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/1.011, allocations: 26.58 kB / 1.097 GB, free: 184 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/1.011, allocations: 166.3 kB / 1.097 GB, free: 32 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.641e-05/1.011, allocations: 55.17 kB / 1.097 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.762e-05/1.011, allocations: 39.56 kB / 1.097 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001526/1.011, allocations: 340.7 kB / 1.097 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003478/1.012, allocations: 93.41 kB / 1.097 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004001/1.012, allocations: 140.7 kB / 1.098 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007156/1.013, allocations: 242.9 kB / 1.098 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/1.013, allocations: 1.781 kB / 1.098 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009146/1.014, allocations: 295.2 kB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/1.014, allocations: 6.25 kB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/1.014, allocations: 2.375 kB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/1.014, allocations: 2.609 kB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000306/1.014, allocations: 69.42 kB / 1.098 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/1.014, allocations: 2.656 kB / 1.098 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002612/1.015, allocations: 34.25 kB / 1.098 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.522e-05/1.015, allocations: 11.91 kB / 1.098 GB, free: 15.28 MB / 0.8731 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.0001492/1.015, allocations: 135.8 kB / 1.098 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/1.015, allocations: 32.31 kB / 1.098 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009265/1.016, allocations: 287 kB / 1.099 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/1.016, allocations: 6.75 kB / 1.099 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.016, allocations: 0.9375 kB / 1.099 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/1.016, allocations: 1.875 kB / 1.099 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004955/1.016, allocations: 294.5 kB / 1.099 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/1.016, allocations: 0.6875 kB / 1.099 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002766/1.017, allocations: 63.89 kB / 1.099 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/1.017, allocations: 2.625 kB / 1.099 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/1.017, allocations: 1.312 kB / 1.099 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/1.017, allocations: 1.344 kB / 1.099 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/1.017, allocations: 4 kB / 1.099 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009351/1.018, allocations: 438.5 kB / 1.099 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/1.018, allocations: 110 kB / 1.1 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.945e-05/1.018, allocations: 6.062 kB / 1.1 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002595/1.018, allocations: 26.89 kB / 1.1 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/1.018, allocations: 18.12 kB / 1.1 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/1.018, allocations: 12.69 kB / 1.1 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002464/1.018, allocations: 186.3 kB / 1.1 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.31e-07/1.018, allocations: 4 kB / 1.1 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004125/1.019, allocations: 59.64 kB / 1.1 GB, free: 14.24 MB / 0.8731 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.00027/1.019, allocations: 113.5 kB / 1.1 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008406/1.02, allocations: 228.4 kB / 1.1 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/1.02, allocations: 0 / 1.1 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003865/1.02, allocations: 121.1 kB / 1.1 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005937/1.021, allocations: 84.11 kB / 1.1 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009916/1.022, allocations: 472.1 kB / 1.101 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003917/1.022, allocations: 0.751 MB / 1.102 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.673e-05/1.022, allocations: 24.78 kB / 1.102 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of SimCode: time 3.1e-07/1.022, allocations: 0 / 1.102 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of Templates: time 0.009199/1.032, allocations: 3.47 MB / 1.105 GB, free: 12.67 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches