Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001566/0.001566, allocations: 118.1 kB / 16.42 MB, free: 6.012 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.001679/0.001679, allocations: 183.4 kB / 17.35 MB, free: 5.629 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.321/1.321, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.167/2.167, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 67.89 kB / 0.9516 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7652/0.7665, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow): time 0.2784/1.045, allocations: 264.2 MB / 1.347 GB, free: 5.156 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02747/1.072, allocations: 21.31 MB / 1.368 GB, free: 15.79 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003004/1.076, allocations: 91.5 kB / 1.368 GB, free: 15.7 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.003475/1.079, allocations: 1.293 MB / 1.369 GB, free: 14.4 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.01043/1.09, allocations: 4.204 MB / 1.373 GB, free: 10.18 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.006689/1.096, allocations: 2.779 MB / 1.376 GB, free: 7.41 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.02045/1.117, allocations: 17.62 MB / 1.393 GB, free: 5.742 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01047/1.127, allocations: 8.039 MB / 1.401 GB, free: 13.61 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01276/1.14, allocations: 6.494 MB / 1.407 GB, free: 7.113 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009038/1.149, allocations: 5.166 MB / 1.412 GB, free: 1.949 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.002426/1.151, allocations: 0.8125 MB / 1.413 GB, free: 1.137 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01174/1.163, allocations: 4.644 MB / 1.417 GB, free: 12.48 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.003667/1.167, allocations: 2.24 MB / 1.42 GB, free: 10.24 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.007749/1.175, allocations: 4.136 MB / 1.424 GB, free: 6.086 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.02146/1.196, allocations: 14.02 MB / 1.437 GB, free: 8.031 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/1.196, allocations: 0 / 1.437 GB, free: 8.031 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.124e-06/1.196, allocations: 0 / 1.437 GB, free: 8.031 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0003862/1.197, allocations: 0 / 1.437 GB, free: 8.031 MB / 1.17 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.02178/1.218, allocations: 7.898 MB / 1.445 GB, free: 36 kB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/1.218, allocations: 11.97 kB / 1.445 GB, free: 24 kB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009118/1.228, allocations: 1.405 MB / 1.446 GB, free: 14.61 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01455/1.242, allocations: 6.338 MB / 1.453 GB, free: 8.18 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000405/1.243, allocations: 357 kB / 1.453 GB, free: 7.828 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002404/1.245, allocations: 475.9 kB / 1.453 GB, free: 7.363 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01984/1.265, allocations: 6.889 MB / 1.46 GB, free: 356 kB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001795/1.265, allocations: 7.938 kB / 1.46 GB, free: 348 kB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001141/1.266, allocations: 188 kB / 1.46 GB, free: 160 kB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002577/1.267, allocations: 221 kB / 1.461 GB, free: 15.93 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01294/1.279, allocations: 6.14 MB / 1.467 GB, free: 9.781 MB / 1.201 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.04243/1.322, allocations: 26.9 MB / 1.493 GB, free: 13.3 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006004/1.328, allocations: 4.058 MB / 1.497 GB, free: 9.148 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003648/1.332, allocations: 2.504 MB / 1.499 GB, free: 6.637 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001265/1.333, allocations: 1.01 MB / 1.5 GB, free: 5.422 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003771/1.337, allocations: 2.191 MB / 1.502 GB, free: 3.184 MB / 1.232 GB Notification: Performance of pre-optimization done (n=310): time 6.863e-06/1.337, allocations: 3.938 kB / 1.502 GB, free: 3.18 MB / 1.232 GB Notification: Performance of matching and sorting (n=314): time 0.02131/1.358, allocations: 11.23 MB / 1.513 GB, free: 7.746 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.847e-05/1.358, allocations: 145.2 kB / 1.513 GB, free: 7.578 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008998/1.367, allocations: 4.67 MB / 1.518 GB, free: 2.895 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0006513/1.368, allocations: 89.7 kB / 1.518 GB, free: 2.801 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.002772/1.371, allocations: 2.472 MB / 1.521 GB, free: 312 kB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.001485/1.372, allocations: 1.082 MB / 1.522 GB, free: 15.21 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00192/1.374, allocations: 0.6481 MB / 1.522 GB, free: 14.55 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 9.842e-05/1.374, allocations: 309.1 kB / 1.523 GB, free: 14.25 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003409/1.378, allocations: 1.899 MB / 1.524 GB, free: 12.34 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003921/1.382, allocations: 2.638 MB / 1.527 GB, free: 9.453 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006913/1.388, allocations: 4.703 MB / 1.532 GB, free: 4.516 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.426e-05/1.389, allocations: 4 kB / 1.532 GB, free: 4.512 MB / 1.264 GB Notification: Performance of matching and sorting (n=434) (initialization): time 0.009347/1.398, allocations: 5.286 MB / 1.537 GB, free: 15.17 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 7.131e-05/1.398, allocations: 75.39 kB / 1.537 GB, free: 15.09 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.191e-05/1.398, allocations: 12 kB / 1.537 GB, free: 15.07 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004294/1.398, allocations: 132.9 kB / 1.537 GB, free: 14.95 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003377/1.402, allocations: 0.7684 MB / 1.538 GB, free: 14.18 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00275/1.405, allocations: 2.978 MB / 1.541 GB, free: 11.03 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004173/1.409, allocations: 269.4 kB / 1.541 GB, free: 10.77 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003815/1.409, allocations: 124 kB / 1.541 GB, free: 10.65 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006861/1.416, allocations: 3.992 MB / 1.545 GB, free: 6.648 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003675/1.42, allocations: 2.625 MB / 1.547 GB, free: 3.766 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006707/1.426, allocations: 4.696 MB / 1.552 GB, free: 14.84 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.476e-05/1.426, allocations: 4 kB / 1.552 GB, free: 14.84 MB / 1.295 GB Notification: Performance of matching and sorting (n=434) (initialization_lambda0): time 0.009251/1.436, allocations: 5.269 MB / 1.557 GB, free: 9.516 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 7.498e-05/1.436, allocations: 75.38 kB / 1.557 GB, free: 9.43 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.167e-05/1.436, allocations: 16 kB / 1.557 GB, free: 9.414 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004139/1.436, allocations: 133.5 kB / 1.557 GB, free: 9.281 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003159/1.439, allocations: 0.745 MB / 1.558 GB, free: 8.535 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002222/1.442, allocations: 2.373 MB / 1.56 GB, free: 6.023 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004197/1.446, allocations: 278.5 kB / 1.561 GB, free: 5.754 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003514/1.446, allocations: 128 kB / 1.561 GB, free: 5.629 MB / 1.295 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.0009531/1.447, allocations: 456.4 kB / 1.561 GB, free: 5.164 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00143/1.449, allocations: 458.5 kB / 1.562 GB, free: 4.711 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008662/1.457, allocations: 4.768 MB / 1.566 GB, free: 15.89 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006104/1.463, allocations: 4.008 MB / 1.57 GB, free: 11.8 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/1.463, allocations: 11.88 kB / 1.57 GB, free: 11.79 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003216/1.467, allocations: 1.073 MB / 1.571 GB, free: 10.69 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001231/1.468, allocations: 71.98 kB / 1.571 GB, free: 10.62 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003369/1.471, allocations: 198.3 kB / 1.572 GB, free: 10.43 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003997/1.472, allocations: 182.2 kB / 1.572 GB, free: 10.25 MB / 1.311 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009606/1.481, allocations: 5.102 MB / 1.577 GB, free: 5.062 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.5758/2.057, allocations: 7.33 MB / 1.584 GB, free: 433.5 MB / 1.311 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0035/2.061, allocations: 2.141 MB / 1.586 GB, free: 432.7 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.006246/2.067, allocations: 3.307 MB / 1.589 GB, free: 431.5 MB / 1.311 GB Notification: Performance of Backend: time 8.11e-07/2.067, allocations: 0 / 1.589 GB, free: 431.5 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.01483/2.082, allocations: 6.87 MB / 1.596 GB, free: 429.1 MB / 1.311 GB Notification: Performance of SimCode: time 0.02932/2.111, allocations: 13.58 MB / 1.609 GB, free: 423.2 MB / 1.311 GB Notification: Performance of Templates: time 0.1698/2.281, allocations: 124.5 MB / 1.731 GB, free: 338.8 MB / 1.311 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches