Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.WetCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.Q2_flow|hex.QLat2_flow|hex.port_a2.m_flow|hex.port_b2.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.Q2_flow|hex.QLat2_flow|hex.port_a2.m_flow|hex.port_b2.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 103.7 kB / 16.38 MB, free: 6.445 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.001244/0.001245, allocations: 192.2 kB / 17.32 MB, free: 5.754 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.414/1.414, 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 11.0.0-master/package.mo): time 2.438/2.438, allocations: 442.7 MB / 0.7167 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 67.91 kB / 1.027 GB, free: 1.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7238/0.7251, allocations: 153 MB / 1.177 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow): time 0.2629/0.9881, allocations: 264.2 MB / 1.435 GB, free: 1.512 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02867/1.017, allocations: 21.3 MB / 1.456 GB, free: 12.15 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002857/1.02, allocations: 87.5 kB / 1.456 GB, free: 12.06 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.003597/1.023, allocations: 1.262 MB / 1.457 GB, free: 10.79 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.009612/1.033, allocations: 4.024 MB / 1.461 GB, free: 6.754 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.006842/1.04, allocations: 2.746 MB / 1.464 GB, free: 4.016 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.02195/1.062, allocations: 17.61 MB / 1.481 GB, free: 2.355 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01105/1.073, allocations: 8.039 MB / 1.489 GB, free: 10.22 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01311/1.086, allocations: 6.38 MB / 1.495 GB, free: 3.844 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01021/1.096, allocations: 5.165 MB / 1.5 GB, free: 14.68 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.00234/1.099, allocations: 0.8125 MB / 1.501 GB, free: 13.87 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01142/1.11, allocations: 4.644 MB / 1.505 GB, free: 9.219 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.004348/1.114, allocations: 2.236 MB / 1.507 GB, free: 6.977 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.008868/1.123, allocations: 4.128 MB / 1.511 GB, free: 2.832 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.01681/1.14, allocations: 14.01 MB / 1.525 GB, free: 4.789 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/1.14, allocations: 3.938 kB / 1.525 GB, free: 4.785 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.392e-06/1.14, allocations: 0 / 1.525 GB, free: 4.785 MB / 1.248 GB Notification: Performance of Transformations before backend: time 0.0002153/1.14, allocations: 0 / 1.525 GB, free: 4.785 MB / 1.248 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1189 * Number of variables: 1189 Notification: Performance of Generate backend data structure: time 0.01634/1.157, allocations: 7.896 MB / 1.533 GB, free: 12.79 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/1.157, allocations: 12.03 kB / 1.533 GB, free: 12.78 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007825/1.165, allocations: 1.405 MB / 1.534 GB, free: 11.36 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01828/1.183, allocations: 6.338 MB / 1.54 GB, free: 4.938 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004701/1.183, allocations: 353.1 kB / 1.541 GB, free: 4.59 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002248/1.186, allocations: 475.9 kB / 1.541 GB, free: 4.125 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01726/1.203, allocations: 6.889 MB / 1.548 GB, free: 13.11 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001056/1.203, allocations: 11.84 kB / 1.548 GB, free: 13.1 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005449/1.204, allocations: 188 kB / 1.548 GB, free: 12.91 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002108/1.204, allocations: 213 kB / 1.548 GB, free: 12.7 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01267/1.217, allocations: 6.148 MB / 1.554 GB, free: 6.539 MB / 1.279 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.6348/1.851, allocations: 26.9 MB / 1.581 GB, free: 353.5 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004975/1.856, allocations: 4.055 MB / 1.585 GB, free: 351.5 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003193/1.86, allocations: 2.512 MB / 1.587 GB, free: 350.5 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009633/1.861, allocations: 1.004 MB / 1.588 GB, free: 349.5 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002767/1.863, allocations: 2.193 MB / 1.59 GB, free: 348.1 MB / 1.279 GB Notification: Performance of pre-optimization done (n=310): time 5.58e-06/1.863, allocations: 0 / 1.59 GB, free: 348.1 MB / 1.279 GB Notification: Performance of matching and sorting (n=314): time 0.01713/1.88, allocations: 11.23 MB / 1.601 GB, free: 340.5 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/1.881, allocations: 141.2 kB / 1.601 GB, free: 340.3 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00527/1.886, allocations: 4.67 MB / 1.606 GB, free: 335.6 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.000426/1.886, allocations: 93.7 kB / 1.606 GB, free: 335.5 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.001751/1.888, allocations: 2.478 MB / 1.608 GB, free: 333 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009188/1.889, allocations: 1.08 MB / 1.609 GB, free: 331.9 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008894/1.89, allocations: 0.6557 MB / 1.61 GB, free: 331.3 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 6.576e-05/1.89, allocations: 301.1 kB / 1.61 GB, free: 331 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002424/1.892, allocations: 1.895 MB / 1.612 GB, free: 329.1 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002634/1.895, allocations: 2.644 MB / 1.615 GB, free: 326.2 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005002/1.9, allocations: 4.695 MB / 1.619 GB, free: 321.3 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.053e-05/1.9, allocations: 4 kB / 1.619 GB, free: 321.3 MB / 1.279 GB Notification: Performance of matching and sorting (n=434) (initialization): time 0.007163/1.907, allocations: 5.293 MB / 1.624 GB, free: 316 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 5.408e-05/1.907, allocations: 75.39 kB / 1.625 GB, free: 315.9 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.027e-05/1.907, allocations: 12 kB / 1.625 GB, free: 315.9 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003567/1.908, allocations: 128.7 kB / 1.625 GB, free: 315.8 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003068/1.911, allocations: 0.7735 MB / 1.625 GB, free: 315 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002009/1.913, allocations: 2.979 MB / 1.628 GB, free: 311.9 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003965/1.917, allocations: 256.9 kB / 1.629 GB, free: 311.6 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002733/1.917, allocations: 133.6 kB / 1.629 GB, free: 311.5 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005099/1.922, allocations: 3.98 MB / 1.633 GB, free: 307.5 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002682/1.925, allocations: 2.631 MB / 1.635 GB, free: 304.6 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00501/1.93, allocations: 4.683 MB / 1.64 GB, free: 299.7 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.134e-05/1.93, allocations: 4 kB / 1.64 GB, free: 299.7 MB / 1.279 GB Notification: Performance of matching and sorting (n=434) (initialization_lambda0): time 0.007242/1.937, allocations: 5.282 MB / 1.645 GB, free: 294.4 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 4.35e-05/1.937, allocations: 76.48 kB / 1.645 GB, free: 294.3 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/1.937, allocations: 12 kB / 1.645 GB, free: 294.3 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003064/1.938, allocations: 132 kB / 1.645 GB, free: 294.2 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002864/1.94, allocations: 0.7489 MB / 1.646 GB, free: 293.4 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001591/1.942, allocations: 2.378 MB / 1.648 GB, free: 290.9 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003925/1.946, allocations: 274.5 kB / 1.648 GB, free: 290.7 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002659/1.946, allocations: 135.9 kB / 1.649 GB, free: 290.6 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * 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 (413): * Single equations (assignments): 405 * 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.000728/1.947, allocations: 457.4 kB / 1.649 GB, free: 290.1 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008688/1.948, allocations: 462.5 kB / 1.649 GB, free: 289.6 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006606/1.954, allocations: 4.749 MB / 1.654 GB, free: 284.8 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004732/1.959, allocations: 3.997 MB / 1.658 GB, free: 280.8 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.378e-06/1.959, allocations: 4 kB / 1.658 GB, free: 280.8 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002113/1.961, allocations: 1.076 MB / 1.659 GB, free: 279.7 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007243/1.962, allocations: 75.98 kB / 1.659 GB, free: 279.6 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002604/1.965, allocations: 207.3 kB / 1.659 GB, free: 279.4 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003463/1.965, allocations: 182.1 kB / 1.659 GB, free: 279.2 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007383/1.972, allocations: 5.11 MB / 1.664 GB, free: 274.1 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008236/1.981, allocations: 7.313 MB / 1.672 GB, free: 266.7 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002161/1.983, allocations: 2.154 MB / 1.674 GB, free: 264.5 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.004548/1.987, allocations: 3.307 MB / 1.677 GB, free: 261.2 MB / 1.279 GB Notification: Performance of Backend: time 1.042e-06/1.987, allocations: 0 / 1.677 GB, free: 261.2 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01241/2, allocations: 6.873 MB / 1.684 GB, free: 254.5 MB / 1.279 GB Notification: Performance of SimCode: time 0.02091/2.021, allocations: 13.58 MB / 1.697 GB, free: 240.9 MB / 1.279 GB Notification: Performance of Templates: time 0.1538/2.175, allocations: 123.2 MB / 1.817 GB, free: 118.7 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches