Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.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.DryCoilCounterFlowPControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.sta_a1.T|hex.sta_b1.T|hex.sta_a2.T|hex.sta_b2.T|hex.Q1_flow|hex.Q2_flow|hex.m1_flow|hex.m2_flow|con.u_s|con.u_m",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.sta_a1.T|hex.sta_b1.T|hex.sta_a2.T|hex.sta_b2.T|hex.Q1_flow|hex.Q2_flow|hex.m1_flow|hex.m2_flow|con.u_s|con.u_m",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 111.2 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.001815/0.001815, allocations: 187.9 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.365/1.365, allocations: 222.9 MB / 241 MB, free: 15.15 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.447/2.447, allocations: 437 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 59.91 kB / 1.019 GB, free: 9.355 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8162/0.8176, allocations: 151.6 MB / 1.167 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl): time 0.2893/1.107, allocations: 275.5 MB / 1.436 GB, free: 15.36 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.03358/1.141, allocations: 22.62 MB / 1.458 GB, free: 8.68 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00468/1.145, allocations: 107.4 kB / 1.459 GB, free: 8.574 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.004412/1.15, allocations: 1.437 MB / 1.46 GB, free: 7.129 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.01259/1.162, allocations: 4.443 MB / 1.464 GB, free: 2.668 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00814/1.171, allocations: 3.023 MB / 1.467 GB, free: 15.66 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.02382/1.194, allocations: 17.33 MB / 1.484 GB, free: 14.28 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01201/1.206, allocations: 7.324 MB / 1.491 GB, free: 6.859 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01598/1.222, allocations: 6.61 MB / 1.498 GB, free: 260 kB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01012/1.233, allocations: 4.996 MB / 1.503 GB, free: 11.25 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.002879/1.236, allocations: 0.7344 MB / 1.503 GB, free: 10.52 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01213/1.248, allocations: 4.488 MB / 1.508 GB, free: 6.02 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.004028/1.252, allocations: 2.123 MB / 1.51 GB, free: 3.891 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.009329/1.261, allocations: 3.948 MB / 1.514 GB, free: 15.92 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.02178/1.283, allocations: 13.06 MB / 1.526 GB, free: 2.828 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/1.283, allocations: 0 / 1.526 GB, free: 2.828 MB / 1.248 GB Notification: Performance of FrontEnd: time 3.597e-06/1.283, allocations: 4 kB / 1.526 GB, free: 2.824 MB / 1.248 GB Notification: Performance of Transformations before backend: time 0.000423/1.283, allocations: 3.938 kB / 1.526 GB, free: 2.82 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: 1075 * Number of variables: 1075 Notification: Performance of Generate backend data structure: time 0.02257/1.306, allocations: 7.658 MB / 1.534 GB, free: 11.06 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/1.306, allocations: 8.922 kB / 1.534 GB, free: 11.05 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008969/1.315, allocations: 1.319 MB / 1.535 GB, free: 9.723 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01421/1.329, allocations: 6.246 MB / 1.541 GB, free: 3.391 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003757/1.33, allocations: 324.2 kB / 1.542 GB, free: 3.07 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001894/1.332, allocations: 443.8 kB / 1.542 GB, free: 2.637 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01515/1.347, allocations: 6.178 MB / 1.548 GB, free: 12.32 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000178/1.347, allocations: 7.938 kB / 1.548 GB, free: 12.31 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001142/1.348, allocations: 172 kB / 1.548 GB, free: 12.14 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002191/1.348, allocations: 208.1 kB / 1.548 GB, free: 11.93 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01169/1.36, allocations: 5.481 MB / 1.554 GB, free: 6.434 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.6895/2.05, allocations: 25.61 MB / 1.579 GB, free: 363.4 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00473/2.054, allocations: 4.189 MB / 1.583 GB, free: 361.1 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002807/2.057, allocations: 2.25 MB / 1.585 GB, free: 360.3 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008541/2.058, allocations: 0.9181 MB / 1.586 GB, free: 359.3 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002745/2.061, allocations: 1.933 MB / 1.588 GB, free: 358.1 MB / 1.279 GB Notification: Performance of pre-optimization done (n=287): time 5.46e-06/2.061, allocations: 2.625 kB / 1.588 GB, free: 358.1 MB / 1.279 GB Notification: Performance of matching and sorting (n=291): time 0.01753/2.078, allocations: 10.17 MB / 1.598 GB, free: 351.6 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/2.078, allocations: 111.3 kB / 1.598 GB, free: 351.5 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005822/2.084, allocations: 4.636 MB / 1.602 GB, free: 346.8 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0006636/2.085, allocations: 93.7 kB / 1.603 GB, free: 346.7 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.001936/2.087, allocations: 2.414 MB / 1.605 GB, free: 344.3 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.001092/2.088, allocations: 1.012 MB / 1.606 GB, free: 343.3 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008818/2.089, allocations: 0.6359 MB / 1.606 GB, free: 342.7 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 4.608e-05/2.089, allocations: 308.1 kB / 1.607 GB, free: 342.4 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002259/2.091, allocations: 1.714 MB / 1.608 GB, free: 340.7 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002567/2.094, allocations: 2.467 MB / 1.611 GB, free: 337.9 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004762/2.099, allocations: 4.256 MB / 1.615 GB, free: 333.5 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.024e-05/2.099, allocations: 4 kB / 1.615 GB, free: 333.5 MB / 1.279 GB Notification: Performance of matching and sorting (n=417) (initialization): time 0.007634/2.106, allocations: 4.973 MB / 1.62 GB, free: 328.5 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 4.878e-05/2.106, allocations: 37.7 kB / 1.62 GB, free: 328.5 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.294e-05/2.106, allocations: 13.44 kB / 1.62 GB, free: 328.5 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008701/2.107, allocations: 257 kB / 1.62 GB, free: 328.2 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002836/2.11, allocations: 0.7263 MB / 1.621 GB, free: 327.5 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00242/2.113, allocations: 3.642 MB / 1.624 GB, free: 323.7 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004507/2.117, allocations: 258.2 kB / 1.625 GB, free: 323.4 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003046/2.117, allocations: 120 kB / 1.625 GB, free: 323.3 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005018/2.122, allocations: 3.625 MB / 1.628 GB, free: 319.7 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002527/2.125, allocations: 2.455 MB / 1.631 GB, free: 317 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004588/2.13, allocations: 4.214 MB / 1.635 GB, free: 312.6 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.857e-06/2.13, allocations: 4 kB / 1.635 GB, free: 312.6 MB / 1.279 GB Notification: Performance of matching and sorting (n=417) (initialization_lambda0): time 0.007075/2.137, allocations: 4.903 MB / 1.64 GB, free: 307.6 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 3.712e-05/2.137, allocations: 48.56 kB / 1.64 GB, free: 307.6 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/2.137, allocations: 12 kB / 1.64 GB, free: 307.6 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005201/2.137, allocations: 221.2 kB / 1.64 GB, free: 307.3 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002623/2.14, allocations: 0.706 MB / 1.641 GB, free: 306.6 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002962/2.143, allocations: 4.498 MB / 1.645 GB, free: 301.9 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004028/2.147, allocations: 276.3 kB / 1.645 GB, free: 301.6 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002971/2.147, allocations: 128 kB / 1.645 GB, free: 301.5 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (392): * Single equations (assignments): 384 * 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.0007913/2.148, allocations: 407 kB / 1.646 GB, free: 301.1 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001055/2.149, allocations: 474.2 kB / 1.646 GB, free: 300.6 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006311/2.155, allocations: 4.284 MB / 1.65 GB, free: 296.3 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004428/2.16, allocations: 3.578 MB / 1.654 GB, free: 292.6 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/2.16, allocations: 0 / 1.654 GB, free: 292.6 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00287/2.163, allocations: 1.014 MB / 1.655 GB, free: 291.6 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001043/2.164, allocations: 67.98 kB / 1.655 GB, free: 291.5 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002905/2.167, allocations: 185.9 kB / 1.655 GB, free: 291.3 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003805/2.167, allocations: 178 kB / 1.655 GB, free: 291.2 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008051/2.175, allocations: 4.592 MB / 1.66 GB, free: 286.6 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008444/2.184, allocations: 6.464 MB / 1.666 GB, free: 280 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002146/2.186, allocations: 1.88 MB / 1.668 GB, free: 278.1 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.005798/2.192, allocations: 3.257 MB / 1.671 GB, free: 274.9 MB / 1.279 GB Notification: Performance of Backend: time 1.343e-06/2.192, allocations: 4 kB / 1.671 GB, free: 274.9 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01382/2.206, allocations: 6.408 MB / 1.677 GB, free: 268.6 MB / 1.279 GB Notification: Performance of SimCode: time 0.02265/2.228, allocations: 13.31 MB / 1.69 GB, free: 255.3 MB / 1.279 GB Notification: Performance of Templates: time 0.156/2.384, allocations: 120.8 MB / 1.808 GB, free: 135.4 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowPControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches