Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.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.WetCoilCounterFlowPControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.Q1_flow|hex.Q2_flow|hex.QLat2_flow|hex.m1_flow|hex.m2_flow|con.u_s|con.u_m",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.Q1_flow|hex.Q2_flow|hex.QLat2_flow|hex.m1_flow|hex.m2_flow|con.u_s|con.u_m",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 113.9 kB / 16.42 MB, free: 6.508 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.001161/0.001161, allocations: 186.6 kB / 17.35 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.335/1.335, allocations: 222.9 MB / 241.1 MB, free: 15.21 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.531/2.531, allocations: 437.1 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 68.11 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8048/0.8061, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl): time 0.2735/1.08, allocations: 278.1 MB / 1.439 GB, free: 12.78 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.03063/1.11, allocations: 23.8 MB / 1.462 GB, free: 4.918 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003445/1.114, allocations: 107.4 kB / 1.462 GB, free: 4.812 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.003915/1.118, allocations: 1.503 MB / 1.464 GB, free: 3.301 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.01159/1.129, allocations: 4.79 MB / 1.468 GB, free: 14.49 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.007597/1.137, allocations: 3.206 MB / 1.471 GB, free: 11.3 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.02126/1.158, allocations: 18.54 MB / 1.49 GB, free: 8.707 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01115/1.169, allocations: 8.352 MB / 1.498 GB, free: 264 kB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01286/1.182, allocations: 6.99 MB / 1.505 GB, free: 9.27 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00987/1.192, allocations: 5.436 MB / 1.51 GB, free: 3.836 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.002462/1.195, allocations: 0.8515 MB / 1.511 GB, free: 2.984 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01362/1.208, allocations: 4.948 MB / 1.516 GB, free: 14.03 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.005066/1.213, allocations: 2.345 MB / 1.518 GB, free: 11.68 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.009273/1.223, allocations: 4.372 MB / 1.522 GB, free: 7.285 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.02178/1.244, allocations: 14.66 MB / 1.536 GB, free: 8.578 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/1.244, allocations: 3.984 kB / 1.536 GB, free: 8.574 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.393e-06/1.244, allocations: 0 / 1.536 GB, free: 8.574 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.0003551/1.245, allocations: 0 / 1.536 GB, free: 8.574 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: 1243 * Number of variables: 1243 Notification: Performance of Generate backend data structure: time 0.02401/1.269, allocations: 8.625 MB / 1.545 GB, free: 15.84 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/1.269, allocations: 12.58 kB / 1.545 GB, free: 15.83 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009467/1.278, allocations: 1.553 MB / 1.546 GB, free: 14.27 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01333/1.292, allocations: 6.681 MB / 1.553 GB, free: 7.516 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003547/1.292, allocations: 377.5 kB / 1.553 GB, free: 7.145 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00117/1.293, allocations: 0.496 MB / 1.554 GB, free: 6.648 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6202/1.914, allocations: 7.103 MB / 1.561 GB, free: 375 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001584/1.914, allocations: 10.48 kB / 1.561 GB, free: 375 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007097/1.914, allocations: 198.8 kB / 1.561 GB, free: 375 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004156/1.915, allocations: 233 kB / 1.561 GB, free: 374.9 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01377/1.929, allocations: 6.305 MB / 1.567 GB, free: 372.9 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.0372/1.966, allocations: 28.3 MB / 1.595 GB, free: 352.8 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004954/1.971, allocations: 4.549 MB / 1.599 GB, free: 349.2 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002883/1.974, allocations: 2.571 MB / 1.602 GB, free: 346.6 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008981/1.975, allocations: 0.9226 MB / 1.603 GB, free: 345.5 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002826/1.978, allocations: 2.211 MB / 1.605 GB, free: 343.3 MB / 1.279 GB Notification: Performance of pre-optimization done (n=323): time 5.4e-06/1.978, allocations: 3.938 kB / 1.605 GB, free: 343.3 MB / 1.279 GB Notification: Performance of matching and sorting (n=327): time 0.01908/1.997, allocations: 11.68 MB / 1.616 GB, free: 331.6 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/1.997, allocations: 115.6 kB / 1.616 GB, free: 331.5 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00636/2.003, allocations: 5.019 MB / 1.621 GB, free: 326.5 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0005432/2.004, allocations: 93.7 kB / 1.621 GB, free: 326.4 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.002196/2.006, allocations: 2.731 MB / 1.624 GB, free: 323.9 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.001194/2.007, allocations: 1.182 MB / 1.625 GB, free: 322.9 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00102/2.008, allocations: 0.705 MB / 1.626 GB, free: 322.2 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 4.346e-05/2.008, allocations: 303.8 kB / 1.626 GB, free: 321.9 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002586/2.011, allocations: 1.939 MB / 1.628 GB, free: 320 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002944/2.014, allocations: 2.78 MB / 1.631 GB, free: 316.9 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005545/2.019, allocations: 4.798 MB / 1.636 GB, free: 311.9 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/2.019, allocations: 4 kB / 1.636 GB, free: 311.9 MB / 1.279 GB Notification: Performance of matching and sorting (n=457) (initialization): time 0.00825/2.028, allocations: 5.571 MB / 1.641 GB, free: 306.3 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 4.391e-05/2.028, allocations: 41.69 kB / 1.641 GB, free: 306.3 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.147e-05/2.028, allocations: 19.84 kB / 1.641 GB, free: 306.3 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008111/2.028, allocations: 257.8 kB / 1.641 GB, free: 306 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003304/2.032, allocations: 0.8108 MB / 1.642 GB, free: 305.2 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002285/2.034, allocations: 3.64 MB / 1.646 GB, free: 301.4 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004194/2.038, allocations: 289.3 kB / 1.646 GB, free: 301.1 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002905/2.039, allocations: 140 kB / 1.646 GB, free: 301 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005539/2.044, allocations: 4.072 MB / 1.65 GB, free: 296.9 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00301/2.047, allocations: 2.76 MB / 1.653 GB, free: 293.9 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00579/2.053, allocations: 4.774 MB / 1.657 GB, free: 288.9 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.076e-05/2.053, allocations: 4 kB / 1.657 GB, free: 288.9 MB / 1.279 GB Notification: Performance of matching and sorting (n=457) (initialization_lambda0): time 0.008216/2.061, allocations: 5.505 MB / 1.663 GB, free: 283.4 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 4.003e-05/2.061, allocations: 41.64 kB / 1.663 GB, free: 283.3 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.983e-05/2.061, allocations: 16 kB / 1.663 GB, free: 283.3 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005749/2.062, allocations: 213.8 kB / 1.663 GB, free: 283.1 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003179/2.065, allocations: 0.7996 MB / 1.664 GB, free: 282.3 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003131/2.068, allocations: 4.515 MB / 1.668 GB, free: 277.5 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004626/2.073, allocations: 314.7 kB / 1.668 GB, free: 277.2 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003202/2.073, allocations: 136 kB / 1.669 GB, free: 277.1 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * Number of states: 0 () * Number of discrete variables: 8 (TSet.nextEventScaled,TSet.nextEvent,$PRE.TSet.nextEvent,TSet.last,TSet.b,TSet.a,$whenCondition1,con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (432): * Single equations (assignments): 424 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 1 system {(1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0008424/2.074, allocations: 421.7 kB / 1.669 GB, free: 276.6 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009844/2.075, allocations: 0.5163 MB / 1.67 GB, free: 276.1 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007172/2.082, allocations: 4.898 MB / 1.674 GB, free: 271.2 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005209/2.087, allocations: 4.096 MB / 1.678 GB, free: 267 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/2.087, allocations: 0 / 1.678 GB, free: 267 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002289/2.09, allocations: 1.146 MB / 1.679 GB, free: 265.9 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007912/2.091, allocations: 71.98 kB / 1.679 GB, free: 265.8 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002794/2.093, allocations: 220.5 kB / 1.68 GB, free: 265.6 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003822/2.094, allocations: 198.3 kB / 1.68 GB, free: 265.4 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007993/2.102, allocations: 5.19 MB / 1.685 GB, free: 260.2 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008579/2.11, allocations: 7.443 MB / 1.692 GB, free: 252.7 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002294/2.113, allocations: 2.163 MB / 1.694 GB, free: 250.5 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.004939/2.118, allocations: 3.53 MB / 1.698 GB, free: 247 MB / 1.279 GB Notification: Performance of Backend: time 1.182e-06/2.118, allocations: 0 / 1.698 GB, free: 247 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01314/2.131, allocations: 7.123 MB / 1.705 GB, free: 240.1 MB / 1.279 GB Notification: Performance of SimCode: time 0.02172/2.153, allocations: 14.6 MB / 1.719 GB, free: 225.5 MB / 1.279 GB Notification: Performance of Templates: time 0.1572/2.31, allocations: 131 MB / 1.847 GB, free: 95.4 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowPControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches