Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.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_latest_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_latest_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.001531/0.001532, allocations: 115.7 kB / 16.42 MB, free: 6.516 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.001637/0.001637, allocations: 190.6 kB / 17.35 MB, free: 5.738 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.318/1.318, 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 11.0.1-master/package.mo): time 2.611/2.611, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 79.81 kB / 1.055 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8561/0.8575, allocations: 157.4 MB / 1.208 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow): time 0.2779/1.135, allocations: 261.6 MB / 1.464 GB, free: 7.184 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02855/1.164, allocations: 20.12 MB / 1.484 GB, free: 3 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002921/1.167, allocations: 83.5 kB / 1.484 GB, free: 2.918 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.00341/1.171, allocations: 1.196 MB / 1.485 GB, free: 1.715 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.01136/1.182, allocations: 3.685 MB / 1.488 GB, free: 14.02 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.007033/1.189, allocations: 2.558 MB / 1.491 GB, free: 11.46 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.02106/1.21, allocations: 16.41 MB / 1.507 GB, free: 11.02 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01122/1.221, allocations: 7.004 MB / 1.514 GB, free: 3.922 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01351/1.235, allocations: 6.077 MB / 1.52 GB, free: 13.85 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009072/1.244, allocations: 4.729 MB / 1.524 GB, free: 9.113 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.002469/1.246, allocations: 0.7031 MB / 1.525 GB, free: 8.41 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01062/1.257, allocations: 4.168 MB / 1.529 GB, free: 4.234 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.003425/1.26, allocations: 2.022 MB / 1.531 GB, free: 2.207 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.007219/1.268, allocations: 3.7 MB / 1.535 GB, free: 14.49 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.01735/1.285, allocations: 12.47 MB / 1.547 GB, free: 1.988 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/1.285, allocations: 0 / 1.547 GB, free: 1.988 MB / 1.264 GB Notification: Performance of FrontEnd: time 2.705e-06/1.285, allocations: 0 / 1.547 GB, free: 1.988 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.000351/1.286, allocations: 0 / 1.547 GB, free: 1.988 MB / 1.264 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.02035/1.306, allocations: 7.147 MB / 1.554 GB, free: 10.75 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/1.306, allocations: 8.031 kB / 1.554 GB, free: 10.75 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009232/1.315, allocations: 1.246 MB / 1.555 GB, free: 9.492 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01239/1.328, allocations: 5.916 MB / 1.561 GB, free: 3.512 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002991/1.328, allocations: 307.8 kB / 1.561 GB, free: 3.211 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001399/1.329, allocations: 415.8 kB / 1.562 GB, free: 2.805 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6399/1.969, allocations: 5.948 MB / 1.567 GB, free: 342 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001213/1.969, allocations: 9.422 kB / 1.567 GB, free: 342 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005244/1.97, allocations: 170.6 kB / 1.568 GB, free: 341.9 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000355/1.97, allocations: 191.4 kB / 1.568 GB, free: 341.8 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01119/1.981, allocations: 5.309 MB / 1.573 GB, free: 340.1 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.03711/2.019, allocations: 24.27 MB / 1.597 GB, free: 323.3 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004781/2.023, allocations: 3.701 MB / 1.6 GB, free: 321.1 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002806/2.026, allocations: 2.184 MB / 1.602 GB, free: 320 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00104/2.027, allocations: 1 MB / 1.603 GB, free: 318.9 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002941/2.03, allocations: 1.913 MB / 1.605 GB, free: 317.6 MB / 1.279 GB Notification: Performance of pre-optimization done (n=274): time 5.541e-06/2.03, allocations: 3.969 kB / 1.605 GB, free: 317.6 MB / 1.279 GB Notification: Performance of matching and sorting (n=278): time 0.01662/2.047, allocations: 9.693 MB / 1.615 GB, free: 307.7 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.437e-05/2.047, allocations: 140.9 kB / 1.615 GB, free: 307.6 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00719/2.054, allocations: 4.288 MB / 1.619 GB, free: 303.3 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0004119/2.055, allocations: 85.7 kB / 1.619 GB, free: 303.2 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.001714/2.056, allocations: 2.206 MB / 1.621 GB, free: 301 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008821/2.057, allocations: 0.9577 MB / 1.622 GB, free: 300 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007882/2.058, allocations: 0.5925 MB / 1.623 GB, free: 299.4 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 4.439e-05/2.058, allocations: 304.1 kB / 1.623 GB, free: 299.1 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001977/2.06, allocations: 1.669 MB / 1.625 GB, free: 297.4 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002283/2.062, allocations: 2.334 MB / 1.627 GB, free: 294.9 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004265/2.067, allocations: 4.143 MB / 1.631 GB, free: 290.6 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.777e-06/2.067, allocations: 4.656 kB / 1.631 GB, free: 290.6 MB / 1.279 GB Notification: Performance of matching and sorting (n=394) (initialization): time 0.006407/2.073, allocations: 4.724 MB / 1.636 GB, free: 285.8 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 6.352e-05/2.073, allocations: 75.33 kB / 1.636 GB, free: 285.7 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.401e-05/2.073, allocations: 16 kB / 1.636 GB, free: 285.7 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003868/2.074, allocations: 127.2 kB / 1.636 GB, free: 285.6 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002594/2.076, allocations: 0.6843 MB / 1.636 GB, free: 284.9 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002015/2.078, allocations: 2.971 MB / 1.639 GB, free: 281.8 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003641/2.082, allocations: 234.6 kB / 1.64 GB, free: 281.5 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003413/2.082, allocations: 120 kB / 1.64 GB, free: 281.4 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0049/2.087, allocations: 3.534 MB / 1.643 GB, free: 277.9 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002754/2.09, allocations: 2.335 MB / 1.645 GB, free: 275.3 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004886/2.095, allocations: 4.131 MB / 1.649 GB, free: 271 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.537e-05/2.095, allocations: 4 kB / 1.65 GB, free: 271 MB / 1.279 GB Notification: Performance of matching and sorting (n=394) (initialization_lambda0): time 0.00714/2.102, allocations: 4.698 MB / 1.654 GB, free: 266.3 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 5.091e-05/2.102, allocations: 79.27 kB / 1.654 GB, free: 266.2 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-05/2.102, allocations: 16 kB / 1.654 GB, free: 266.2 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003237/2.102, allocations: 124 kB / 1.654 GB, free: 266 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002457/2.105, allocations: 0.667 MB / 1.655 GB, free: 265.4 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001682/2.107, allocations: 2.374 MB / 1.657 GB, free: 262.9 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003587/2.11, allocations: 243.2 kB / 1.657 GB, free: 262.6 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002774/2.111, allocations: 119.3 kB / 1.658 GB, free: 262.5 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.0007243/2.111, allocations: 427.6 kB / 1.658 GB, free: 262.1 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001194/2.112, allocations: 422.9 kB / 1.658 GB, free: 261.7 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006105/2.119, allocations: 4.142 MB / 1.662 GB, free: 257.5 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004094/2.123, allocations: 3.501 MB / 1.666 GB, free: 253.9 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/2.123, allocations: 0 / 1.666 GB, free: 253.9 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002209/2.125, allocations: 0.9684 MB / 1.667 GB, free: 252.9 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001079/2.126, allocations: 67.98 kB / 1.667 GB, free: 252.8 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002862/2.129, allocations: 178.4 kB / 1.667 GB, free: 252.7 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003121/2.129, allocations: 157.9 kB / 1.667 GB, free: 252.5 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00684/2.136, allocations: 4.514 MB / 1.672 GB, free: 247.9 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007351/2.143, allocations: 6.38 MB / 1.678 GB, free: 241.5 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001823/2.145, allocations: 1.864 MB / 1.68 GB, free: 239.6 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.004612/2.15, allocations: 3.038 MB / 1.683 GB, free: 236.5 MB / 1.279 GB Notification: Performance of Backend: time 1.182e-06/2.15, allocations: 0 / 1.683 GB, free: 236.5 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01166/2.162, allocations: 6.201 MB / 1.689 GB, free: 230.5 MB / 1.279 GB Notification: Performance of SimCode: time 0.02081/2.182, allocations: 12.45 MB / 1.701 GB, free: 218 MB / 1.279 GB Notification: Performance of Templates: time 0.1423/2.325, allocations: 116 MB / 1.814 GB, free: 102.9 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches