Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001161/0.001161, allocations: 112.6 kB / 16.42 MB, free: 6.449 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.001032/0.001032, allocations: 189.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.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.16 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.237/2.237, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 67.91 kB / 0.9516 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7462/0.7475, allocations: 140.4 MB / 1.089 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow): time 0.3308/1.078, allocations: 261.6 MB / 1.344 GB, free: 7.922 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.03338/1.112, allocations: 20.13 MB / 1.364 GB, free: 3.742 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003607/1.115, allocations: 87.5 kB / 1.364 GB, free: 3.656 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.003962/1.12, allocations: 1.227 MB / 1.365 GB, free: 2.422 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.01118/1.131, allocations: 3.846 MB / 1.369 GB, free: 14.56 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.007335/1.138, allocations: 2.585 MB / 1.371 GB, free: 11.98 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.02139/1.159, allocations: 16.41 MB / 1.387 GB, free: 11.53 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009843/1.169, allocations: 7.008 MB / 1.394 GB, free: 4.422 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01511/1.184, allocations: 6.102 MB / 1.4 GB, free: 14.32 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009338/1.194, allocations: 4.73 MB / 1.405 GB, free: 9.59 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.002319/1.196, allocations: 0.6992 MB / 1.406 GB, free: 8.891 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01127/1.207, allocations: 4.184 MB / 1.41 GB, free: 4.699 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.003807/1.211, allocations: 2.018 MB / 1.412 GB, free: 2.676 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.008198/1.22, allocations: 3.711 MB / 1.415 GB, free: 14.95 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.02212/1.242, allocations: 12.46 MB / 1.427 GB, free: 2.457 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/1.242, allocations: 0 / 1.427 GB, free: 2.457 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.904e-06/1.242, allocations: 0 / 1.427 GB, free: 2.457 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0004308/1.242, allocations: 0 / 1.427 GB, free: 2.457 MB / 1.154 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.02795/1.27, allocations: 7.151 MB / 1.434 GB, free: 11.22 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 6.721e-05/1.27, allocations: 8.031 kB / 1.434 GB, free: 11.21 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009314/1.28, allocations: 1.242 MB / 1.436 GB, free: 9.961 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01504/1.295, allocations: 5.92 MB / 1.441 GB, free: 3.98 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002682/1.295, allocations: 299.8 kB / 1.442 GB, free: 3.688 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001131/1.296, allocations: 411.9 kB / 1.442 GB, free: 3.285 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01151/1.308, allocations: 5.969 MB / 1.448 GB, free: 13.23 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.64e-05/1.308, allocations: 4 kB / 1.448 GB, free: 13.23 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004952/1.308, allocations: 164 kB / 1.448 GB, free: 13.07 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002042/1.308, allocations: 199.6 kB / 1.448 GB, free: 12.88 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01069/1.319, allocations: 5.308 MB / 1.453 GB, free: 7.562 MB / 1.186 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.0473/1.366, allocations: 24.28 MB / 1.477 GB, free: 13.77 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006074/1.373, allocations: 3.699 MB / 1.481 GB, free: 9.965 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003518/1.376, allocations: 2.177 MB / 1.483 GB, free: 7.777 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001358/1.378, allocations: 0.9981 MB / 1.484 GB, free: 6.574 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003399/1.381, allocations: 1.917 MB / 1.486 GB, free: 4.605 MB / 1.217 GB Notification: Performance of pre-optimization done (n=274): time 7.143e-06/1.381, allocations: 4 kB / 1.486 GB, free: 4.602 MB / 1.217 GB Notification: Performance of matching and sorting (n=278): time 0.02203/1.403, allocations: 9.696 MB / 1.495 GB, free: 10.7 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/1.403, allocations: 136.9 kB / 1.495 GB, free: 10.54 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008832/1.412, allocations: 4.299 MB / 1.499 GB, free: 6.223 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.000871/1.413, allocations: 81.7 kB / 1.5 GB, free: 6.137 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.002829/1.416, allocations: 2.209 MB / 1.502 GB, free: 3.914 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.001711/1.418, allocations: 0.9589 MB / 1.503 GB, free: 2.941 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00118/1.419, allocations: 0.5924 MB / 1.503 GB, free: 2.34 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001151/1.419, allocations: 305.1 kB / 1.504 GB, free: 2.039 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002951/1.422, allocations: 1.67 MB / 1.505 GB, free: 368 kB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003522/1.425, allocations: 2.332 MB / 1.507 GB, free: 13.79 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006237/1.432, allocations: 4.147 MB / 1.511 GB, free: 9.426 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.126e-05/1.432, allocations: 4 kB / 1.511 GB, free: 9.422 MB / 1.248 GB Notification: Performance of matching and sorting (n=394) (initialization): time 0.008999/1.441, allocations: 4.717 MB / 1.516 GB, free: 4.648 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 9.569e-05/1.441, allocations: 71.39 kB / 1.516 GB, free: 4.566 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.764e-05/1.441, allocations: 15.94 kB / 1.516 GB, free: 4.551 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005432/1.441, allocations: 129.4 kB / 1.516 GB, free: 4.422 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003126/1.445, allocations: 0.6787 MB / 1.517 GB, free: 3.742 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003077/1.448, allocations: 2.978 MB / 1.52 GB, free: 0.6055 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00458/1.452, allocations: 223.7 kB / 1.52 GB, free: 396 kB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003458/1.453, allocations: 120 kB / 1.52 GB, free: 276 kB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007235/1.46, allocations: 3.527 MB / 1.524 GB, free: 12.73 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003498/1.463, allocations: 2.332 MB / 1.526 GB, free: 10.17 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00634/1.47, allocations: 4.136 MB / 1.53 GB, free: 5.809 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.529e-05/1.47, allocations: 4 kB / 1.53 GB, free: 5.805 MB / 1.264 GB Notification: Performance of matching and sorting (n=394) (initialization_lambda0): time 0.01/1.48, allocations: 4.697 MB / 1.535 GB, free: 1.051 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 8.84e-05/1.48, allocations: 71.39 kB / 1.535 GB, free: 0.9688 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.62e-05/1.48, allocations: 12 kB / 1.535 GB, free: 0.957 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004725/1.48, allocations: 137.3 kB / 1.535 GB, free: 0.8203 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003253/1.484, allocations: 0.667 MB / 1.535 GB, free: 156 kB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002738/1.486, allocations: 2.373 MB / 1.538 GB, free: 13.64 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004992/1.491, allocations: 240 kB / 1.538 GB, free: 13.41 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005119/1.492, allocations: 120 kB / 1.538 GB, free: 13.29 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.001036/1.493, allocations: 433.3 kB / 1.538 GB, free: 12.85 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001424/1.494, allocations: 422.9 kB / 1.539 GB, free: 12.43 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007857/1.502, allocations: 4.158 MB / 1.543 GB, free: 8.211 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005538/1.508, allocations: 3.497 MB / 1.546 GB, free: 4.625 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/1.508, allocations: 0 / 1.546 GB, free: 4.625 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003035/1.511, allocations: 0.9607 MB / 1.547 GB, free: 3.641 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009159/1.512, allocations: 75.92 kB / 1.547 GB, free: 3.566 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002695/1.515, allocations: 169.1 kB / 1.548 GB, free: 3.402 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003736/1.515, allocations: 161.9 kB / 1.548 GB, free: 3.242 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008862/1.524, allocations: 4.521 MB / 1.552 GB, free: 14.62 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00995/1.534, allocations: 6.373 MB / 1.558 GB, free: 8.16 MB / 1.295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002746/1.537, allocations: 1.879 MB / 1.56 GB, free: 6.266 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.006612/1.543, allocations: 3.034 MB / 1.563 GB, free: 3.223 MB / 1.295 GB Notification: Performance of Backend: time 1.052e-06/1.543, allocations: 0 / 1.563 GB, free: 3.223 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01571/1.559, allocations: 6.207 MB / 1.569 GB, free: 12.96 MB / 1.311 GB Notification: Performance of SimCode: time 0.0285/1.588, allocations: 12.45 MB / 1.581 GB, free: 488 kB / 1.311 GB Notification: Performance of Templates: time 0.7303/2.318, allocations: 114.3 MB / 1.693 GB, free: 378.1 MB / 1.311 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches