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.001436/0.001435, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001739/0.001739, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.399/1.399, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.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.557/2.557, allocations: 437 MB / 0.7099 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 63.91 kB / 0.8685 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6724/0.6737, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003241/0.677, allocations: 2.204 MB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001667/0.6787, allocations: 1.064 MB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001476/0.6789, allocations: 7.938 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 6.826e-05/0.679, allocations: 15.8 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003009/0.6793, allocations: 75.45 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004001/0.6797, allocations: 143.7 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003312/0.68, allocations: 286.8 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001898/0.6802, allocations: 56.7 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.6804, allocations: 99.56 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002342/0.6806, allocations: 135.4 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.362e-05/0.6807, allocations: 12 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004418/0.6811, allocations: 283.7 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.844e-05/0.6812, allocations: 47.7 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.6813, allocations: 111.3 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003825/0.6817, allocations: 324.9 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.6817, allocations: 0 / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.112e-06/0.6817, allocations: 0 / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.968e-06/0.6817, allocations: 0 / 1.021 GB, free: 13.92 MB / 0.7794 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.001119/0.6829, allocations: 0.6233 MB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.6829, allocations: 16.02 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002484/0.6832, allocations: 32.66 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003318/0.6835, allocations: 271.5 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.6836, allocations: 12.66 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/0.6836, allocations: 20.38 kB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005365/0.6841, allocations: 236.8 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.6841, allocations: 0 / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.556e-05/0.6842, allocations: 11.94 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.6842, allocations: 4 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006512/0.6849, allocations: 195.8 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001226/0.6861, allocations: 0.9578 MB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007831/0.6869, allocations: 241.2 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003179/0.6872, allocations: 101.6 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.6872, allocations: 7.938 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.6873, allocations: 38.55 kB / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.824e-06/0.6873, allocations: 0 / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.001126/0.6884, allocations: 333.4 kB / 1.024 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.6885, allocations: 81.11 kB / 1.024 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002625/0.6887, allocations: 267 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.6888, allocations: 25.7 kB / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.6889, allocations: 160.2 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.624e-05/0.689, allocations: 55.2 kB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.934e-05/0.689, allocations: 45.55 kB / 1.025 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.6892, allocations: 342.8 kB / 1.025 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003275/0.6895, allocations: 91.77 kB / 1.025 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003322/0.6898, allocations: 140 kB / 1.025 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006432/0.6905, allocations: 249.7 kB / 1.026 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.6905, allocations: 0 / 1.026 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008217/0.6913, allocations: 289.2 kB / 1.026 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.6914, allocations: 4 kB / 1.026 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.6914, allocations: 4 kB / 1.026 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.6914, allocations: 0 / 1.026 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003013/0.6917, allocations: 67.88 kB / 1.026 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.6917, allocations: 4.797 kB / 1.026 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002561/0.692, allocations: 35.75 kB / 1.026 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.442e-05/0.692, allocations: 20.02 kB / 1.026 GB, free: 8.691 MB / 0.7794 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.0001453/0.6922, allocations: 130.3 kB / 1.026 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.6923, allocations: 31.56 kB / 1.026 GB, free: 8.523 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008196/0.6931, allocations: 295.1 kB / 1.027 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.6931, allocations: 4 kB / 1.027 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.6932, allocations: 0 / 1.027 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.6932, allocations: 0 / 1.027 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003926/0.6936, allocations: 289.4 kB / 1.027 GB, free: 7.891 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.6936, allocations: 3.938 kB / 1.027 GB, free: 7.887 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002705/0.6939, allocations: 67.88 kB / 1.027 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.6939, allocations: 0 / 1.027 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.6939, allocations: 4 kB / 1.027 GB, free: 7.816 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.6939, allocations: 4 kB / 1.027 GB, free: 7.812 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.6939, allocations: 0 / 1.027 GB, free: 7.812 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008311/0.6947, allocations: 434.3 kB / 1.027 GB, free: 7.371 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.33e-05/0.6948, allocations: 116.6 kB / 1.027 GB, free: 7.238 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.736e-05/0.6949, allocations: 0 / 1.027 GB, free: 7.238 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000272/0.6952, allocations: 27.97 kB / 1.027 GB, free: 7.211 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.445e-05/0.6953, allocations: 19.97 kB / 1.027 GB, free: 7.191 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.6953, allocations: 8 kB / 1.027 GB, free: 7.184 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001986/0.6955, allocations: 190 kB / 1.028 GB, free: 7 MB / 0.7794 GB Notification: Performance of sort global known variables: time 4.71e-07/0.6955, allocations: 0 / 1.028 GB, free: 7 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000402/0.6959, allocations: 51.91 kB / 1.028 GB, free: 6.949 MB / 0.7794 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.0002662/0.6962, allocations: 123.1 kB / 1.028 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008153/0.697, allocations: 233.5 kB / 1.028 GB, free: 6.594 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.697, allocations: 0 / 1.028 GB, free: 6.594 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003748/0.6974, allocations: 124.1 kB / 1.028 GB, free: 6.473 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007505/0.6982, allocations: 68.72 kB / 1.028 GB, free: 6.406 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009245/0.6991, allocations: 0.5219 MB / 1.029 GB, free: 5.859 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.6994, allocations: 0.7479 MB / 1.029 GB, free: 5.086 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001724/0.6996, allocations: 30.3 kB / 1.03 GB, free: 5.055 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.649e-05/0.6997, allocations: 31.36 kB / 1.03 GB, free: 5.023 MB / 0.7794 GB Notification: Performance of SimCode: time 2e-07/0.6997, allocations: 0 / 1.03 GB, free: 5.023 MB / 0.7794 GB Notification: Performance of Templates: time 0.007768/0.7075, allocations: 3.564 MB / 1.033 GB, free: 1.527 MB / 0.7794 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/jenkins/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