Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.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.Examples.DryCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.sta_a1.T|hex.sta_b1.T|hex.Q2_flow|hex.port_a2.m_flow|hex.port_b2.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.sta_a1.T|hex.sta_b1.T|hex.Q2_flow|hex.port_a2.m_flow|hex.port_b2.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001567/0.001574, allocations: 114.5 kB / 16.42 MB, free: 6.504 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.001786/0.001786, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.1 MB, free: 15.16 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.6/2.6, allocations: 437 MB / 0.7112 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 63.91 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.803/0.8044, allocations: 151.6 MB / 1.167 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow): time 0.2888/1.093, allocations: 261.6 MB / 1.423 GB, free: 13.29 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02908/1.122, allocations: 20.13 MB / 1.443 GB, free: 9.102 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00416/1.127, allocations: 87.5 kB / 1.443 GB, free: 9.016 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.003857/1.131, allocations: 1.227 MB / 1.444 GB, free: 7.781 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.01063/1.141, allocations: 3.86 MB / 1.448 GB, free: 3.906 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.006885/1.148, allocations: 2.587 MB / 1.45 GB, free: 1.328 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.02068/1.169, allocations: 16.39 MB / 1.466 GB, free: 0.8945 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01077/1.18, allocations: 7.004 MB / 1.473 GB, free: 9.789 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01291/1.193, allocations: 6.102 MB / 1.479 GB, free: 3.691 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008317/1.201, allocations: 4.732 MB / 1.484 GB, free: 14.95 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.001968/1.203, allocations: 0.6992 MB / 1.484 GB, free: 14.25 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01021/1.213, allocations: 4.176 MB / 1.488 GB, free: 10.07 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.003384/1.217, allocations: 2.026 MB / 1.49 GB, free: 8.039 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.007172/1.224, allocations: 3.696 MB / 1.494 GB, free: 4.328 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.01787/1.242, allocations: 12.5 MB / 1.506 GB, free: 7.785 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/1.242, allocations: 7.938 kB / 1.506 GB, free: 7.777 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.984e-06/1.242, allocations: 0 / 1.506 GB, free: 7.777 MB / 1.232 GB Notification: Performance of Transformations before backend: time 0.000319/1.242, allocations: 0 / 1.506 GB, free: 7.777 MB / 1.232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1021 * Number of variables: 1021 Notification: Performance of Generate backend data structure: time 0.01882/1.261, allocations: 7.328 MB / 1.513 GB, free: 364 kB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/1.261, allocations: 12.62 kB / 1.513 GB, free: 352 kB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007632/1.269, allocations: 1.265 MB / 1.514 GB, free: 15.07 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0116/1.28, allocations: 5.962 MB / 1.52 GB, free: 9.059 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002749/1.28, allocations: 299.8 kB / 1.521 GB, free: 8.766 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001268/1.282, allocations: 423.9 kB / 1.521 GB, free: 8.352 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01255/1.294, allocations: 5.953 MB / 1.527 GB, free: 2.316 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001443/1.294, allocations: 11.92 kB / 1.527 GB, free: 2.305 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007961/1.295, allocations: 167.9 kB / 1.527 GB, free: 2.141 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002029/1.296, allocations: 195.7 kB / 1.527 GB, free: 1.949 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01054/1.306, allocations: 5.304 MB / 1.532 GB, free: 12.64 MB / 1.264 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04017/1.346, allocations: 24.33 MB / 1.556 GB, free: 2.793 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6968/2.043, allocations: 3.686 MB / 1.56 GB, free: 377.2 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004586/2.048, allocations: 2.181 MB / 1.562 GB, free: 376.9 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001119/2.049, allocations: 0.9969 MB / 1.563 GB, free: 375.9 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003455/2.052, allocations: 1.917 MB / 1.565 GB, free: 375.1 MB / 1.279 GB Notification: Performance of pre-optimization done (n=274): time 6.813e-06/2.052, allocations: 0 / 1.565 GB, free: 375.1 MB / 1.279 GB Notification: Performance of matching and sorting (n=278): time 0.01731/2.07, allocations: 9.788 MB / 1.574 GB, free: 371.3 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.617e-05/2.07, allocations: 132.3 kB / 1.574 GB, free: 371.2 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006029/2.076, allocations: 4.294 MB / 1.579 GB, free: 369.8 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0005813/2.076, allocations: 84.92 kB / 1.579 GB, free: 369.7 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.00187/2.078, allocations: 2.242 MB / 1.581 GB, free: 368.2 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.001077/2.079, allocations: 1.018 MB / 1.582 GB, free: 367.4 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008852/2.08, allocations: 0.6029 MB / 1.582 GB, free: 367.1 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 4.968e-05/2.08, allocations: 305.1 kB / 1.583 GB, free: 366.8 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002214/2.083, allocations: 1.666 MB / 1.584 GB, free: 366.2 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002481/2.085, allocations: 2.336 MB / 1.587 GB, free: 364.9 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004587/2.09, allocations: 4.153 MB / 1.591 GB, free: 361.5 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.121e-05/2.09, allocations: 4 kB / 1.591 GB, free: 361.5 MB / 1.279 GB Notification: Performance of matching and sorting (n=394) (initialization): time 0.006777/2.096, allocations: 4.73 MB / 1.595 GB, free: 356.7 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 5.826e-05/2.097, allocations: 71.39 kB / 1.595 GB, free: 356.6 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.147e-05/2.097, allocations: 12 kB / 1.595 GB, free: 356.6 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003712/2.097, allocations: 127.5 kB / 1.595 GB, free: 356.5 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002706/2.1, allocations: 0.6794 MB / 1.596 GB, free: 355.8 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001954/2.102, allocations: 2.981 MB / 1.599 GB, free: 352.7 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003719/2.105, allocations: 235.4 kB / 1.599 GB, free: 352.4 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003442/2.106, allocations: 120 kB / 1.599 GB, free: 352.3 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004642/2.11, allocations: 3.531 MB / 1.603 GB, free: 348.8 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002371/2.113, allocations: 2.324 MB / 1.605 GB, free: 346.2 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004479/2.117, allocations: 4.135 MB / 1.609 GB, free: 341.9 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.037e-05/2.117, allocations: 4 kB / 1.609 GB, free: 341.9 MB / 1.279 GB Notification: Performance of matching and sorting (n=394) (initialization_lambda0): time 0.00691/2.124, allocations: 4.718 MB / 1.614 GB, free: 337.1 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 5.264e-05/2.124, allocations: 78.41 kB / 1.614 GB, free: 337.1 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.282e-05/2.124, allocations: 12 kB / 1.614 GB, free: 337 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000339/2.125, allocations: 131.5 kB / 1.614 GB, free: 336.9 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002559/2.127, allocations: 0.6592 MB / 1.615 GB, free: 336.3 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001825/2.129, allocations: 2.384 MB / 1.617 GB, free: 333.8 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004207/2.133, allocations: 237.3 kB / 1.617 GB, free: 333.5 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003897/2.134, allocations: 120 kB / 1.617 GB, free: 333.4 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 14 (mAirGai.nextEventScaled,mAirGai.nextEvent,$PRE.mAirGai.nextEvent,mAirGai.last,mAirGai.b,mAirGai.a,mWatGai.nextEventScaled,mWatGai.nextEvent,$PRE.mWatGai.nextEvent,mWatGai.last,mWatGai.b,mWatGai.a,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (373): * Single equations (assignments): 365 * Array equations: 4 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008763/2.135, allocations: 427.3 kB / 1.618 GB, free: 333 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001445/2.136, allocations: 449.2 kB / 1.618 GB, free: 332.5 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00677/2.143, allocations: 4.153 MB / 1.622 GB, free: 328.3 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004372/2.147, allocations: 3.5 MB / 1.626 GB, free: 324.7 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.465e-06/2.147, allocations: 0 / 1.626 GB, free: 324.7 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002304/2.15, allocations: 0.9872 MB / 1.627 GB, free: 323.7 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001149/2.151, allocations: 67.98 kB / 1.627 GB, free: 323.7 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003106/2.154, allocations: 175.3 kB / 1.627 GB, free: 323.5 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003626/2.154, allocations: 157.9 kB / 1.627 GB, free: 323.4 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007303/2.162, allocations: 4.514 MB / 1.631 GB, free: 318.8 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007876/2.169, allocations: 6.407 MB / 1.638 GB, free: 312.3 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001919/2.171, allocations: 1.863 MB / 1.639 GB, free: 310.4 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.005196/2.177, allocations: 3.036 MB / 1.642 GB, free: 307.4 MB / 1.279 GB Notification: Performance of Backend: time 4.7e-07/2.177, allocations: 0 / 1.642 GB, free: 307.4 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01186/2.189, allocations: 6.209 MB / 1.648 GB, free: 301.3 MB / 1.279 GB Notification: Performance of SimCode: time 0.02011/2.209, allocations: 12.62 MB / 1.661 GB, free: 288.7 MB / 1.279 GB Notification: Performance of Templates: time 0.1443/2.353, allocations: 114.3 MB / 1.772 GB, free: 175.3 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches