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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.006905/0.006905, allocations: 101.7 kB / 15.88 MB, free: 5.867 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.001582/0.001582, allocations: 192.9 kB / 16.79 MB, free: 5.809 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.41/1.41, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.517/2.517, allocations: 390.2 MB / 0.6649 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 67.88 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8332/0.8348, allocations: 140.4 MB / 0.9496 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003288/0.8382, allocations: 2.199 MB / 0.9517 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00169/0.8399, allocations: 1.062 MB / 0.9528 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.8401, allocations: 7.5 kB / 0.9528 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.782e-05/0.8402, allocations: 11.86 kB / 0.9528 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003043/0.8405, allocations: 69.8 kB / 0.9529 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003446/0.8408, allocations: 153.7 kB / 0.953 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002861/0.8411, allocations: 275.7 kB / 0.9533 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001846/0.8413, allocations: 72.98 kB / 0.9533 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.8414, allocations: 103.5 kB / 0.9534 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002146/0.8417, allocations: 131.1 kB / 0.9536 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.856e-05/0.8417, allocations: 14.23 kB / 0.9536 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004078/0.8421, allocations: 291.3 kB / 0.9539 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.801e-05/0.8422, allocations: 45.44 kB / 0.9539 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.8423, allocations: 113 kB / 0.954 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002597/0.8425, allocations: 223.4 kB / 0.9542 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.8426, allocations: 0 / 0.9542 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8426, allocations: 0 / 0.9542 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.8426, allocations: 4.906 kB / 0.9542 GB, free: 5.656 MB / 0.7169 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.001052/0.8436, allocations: 0.6236 MB / 0.9548 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.8437, allocations: 10.5 kB / 0.9548 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002581/0.844, allocations: 40.02 kB / 0.9549 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002907/0.8443, allocations: 272.9 kB / 0.9551 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.8443, allocations: 15.19 kB / 0.9552 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.8443, allocations: 20.91 kB / 0.9552 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005312/0.8448, allocations: 224.6 kB / 0.9554 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.8449, allocations: 5.562 kB / 0.9554 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.929e-05/0.8449, allocations: 5.062 kB / 0.9554 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.8449, allocations: 4.188 kB / 0.9554 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006694/0.8456, allocations: 194.2 kB / 0.9556 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000995/0.8466, allocations: 0.9419 MB / 0.9565 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007851/0.8474, allocations: 249 kB / 0.9567 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003145/0.8477, allocations: 104.4 kB / 0.9568 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.8477, allocations: 2.281 kB / 0.9568 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/0.8478, allocations: 32.72 kB / 0.9569 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 2.435e-06/0.8478, allocations: 0 / 0.9569 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.001167/0.8489, allocations: 347.8 kB / 0.9572 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/0.849, allocations: 78.58 kB / 0.9573 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002554/0.8492, allocations: 262.7 kB / 0.9575 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.8493, allocations: 31.14 kB / 0.9576 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.128e-05/0.8494, allocations: 160.2 kB / 0.9577 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.539e-05/0.8494, allocations: 58.19 kB / 0.9578 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.942e-05/0.8495, allocations: 39.86 kB / 0.9578 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.042e-05/0.8496, allocations: 336 kB / 0.9581 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002999/0.8499, allocations: 94.47 kB / 0.9582 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003238/0.8502, allocations: 140.4 kB / 0.9584 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006058/0.8508, allocations: 243.6 kB / 0.9586 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.8508, allocations: 3.938 kB / 0.9586 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008314/0.8517, allocations: 292.5 kB / 0.9589 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/0.8517, allocations: 5.906 kB / 0.9589 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.934e-06/0.8517, allocations: 5.344 kB / 0.9589 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.8517, allocations: 2.781 kB / 0.9589 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000311/0.852, allocations: 70.95 kB / 0.959 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.8521, allocations: 2.75 kB / 0.959 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000249/0.8523, allocations: 36.34 kB / 0.959 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/0.8523, allocations: 11.09 kB / 0.959 GB, free: 1.832 MB / 0.7169 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.0001199/0.8525, allocations: 139 kB / 0.9591 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.8526, allocations: 24.19 kB / 0.9592 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008356/0.8534, allocations: 287.2 kB / 0.9594 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-06/0.8535, allocations: 2.125 kB / 0.9594 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.8535, allocations: 0.9688 kB / 0.9594 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.8535, allocations: 1.062 kB / 0.9594 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005258/0.854, allocations: 302.2 kB / 0.9597 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.854, allocations: 4 kB / 0.9597 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003485/0.8544, allocations: 58.36 kB / 0.9598 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.8544, allocations: 5.062 kB / 0.9598 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.8544, allocations: 2.062 kB / 0.9598 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.8544, allocations: 5.703 kB / 0.9598 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.8544, allocations: 1.062 kB / 0.9598 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008062/0.8552, allocations: 441.9 kB / 0.9602 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.483e-05/0.8553, allocations: 103.6 kB / 0.9603 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.865e-05/0.8554, allocations: 5.703 kB / 0.9603 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002557/0.8556, allocations: 29.81 kB / 0.9603 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.7e-05/0.8557, allocations: 23.53 kB / 0.9604 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.8557, allocations: 4.875 kB / 0.9604 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001863/0.8559, allocations: 189.9 kB / 0.9606 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8559, allocations: 0 / 0.9606 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003881/0.8563, allocations: 58.66 kB / 0.9606 GB, free: 0.5977 MB / 0.7169 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.0002546/0.8566, allocations: 118.7 kB / 0.9607 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0007449/0.8573, allocations: 221.3 kB / 0.9609 GB, free: 416 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.8574, allocations: 320 / 0.9609 GB, free: 416 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00034/0.8577, allocations: 130 kB / 0.9611 GB, free: 356 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006606/0.8584, allocations: 67.38 kB / 0.9611 GB, free: 320 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009136/0.8593, allocations: 0.5425 MB / 0.9617 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.8596, allocations: 0.7538 MB / 0.9624 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.224e-05/0.8597, allocations: 26.5 kB / 0.9624 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of SimCode: time 4.6e-07/0.8597, allocations: 0 / 0.9624 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of Templates: time 0.007015/0.8668, allocations: 3.453 MB / 0.9658 GB, free: 13.36 MB / 0.7325 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