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.001432/0.001432, allocations: 115.2 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.001586/0.001586, allocations: 183.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.343/1.343, allocations: 222.9 MB / 241.1 MB, free: 15.17 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.525/2.525, allocations: 437 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 71.88 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8015/0.8028, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl): time 0.2758/1.079, allocations: 278.1 MB / 1.439 GB, free: 12.8 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.03132/1.11, allocations: 23.79 MB / 1.462 GB, free: 4.941 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004002/1.114, allocations: 107.4 kB / 1.462 GB, free: 4.836 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.004619/1.119, allocations: 1.507 MB / 1.464 GB, free: 3.32 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.01351/1.132, allocations: 4.795 MB / 1.468 GB, free: 14.5 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.008379/1.141, allocations: 3.198 MB / 1.471 GB, free: 11.32 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.02485/1.166, allocations: 18.57 MB / 1.49 GB, free: 8.707 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01244/1.178, allocations: 8.348 MB / 1.498 GB, free: 268 kB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01544/1.193, allocations: 6.999 MB / 1.505 GB, free: 9.262 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009964/1.203, allocations: 5.444 MB / 1.51 GB, free: 3.82 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.002511/1.206, allocations: 0.8477 MB / 1.511 GB, free: 2.973 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01161/1.218, allocations: 4.945 MB / 1.516 GB, free: 14.02 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.003877/1.222, allocations: 2.349 MB / 1.518 GB, free: 11.66 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.008483/1.23, allocations: 4.368 MB / 1.522 GB, free: 7.277 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.02289/1.253, allocations: 14.62 MB / 1.536 GB, free: 8.613 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/1.253, allocations: 0 / 1.536 GB, free: 8.613 MB / 1.264 GB Notification: Performance of FrontEnd: time 2.915e-06/1.253, allocations: 0 / 1.536 GB, free: 8.613 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.0004094/1.253, allocations: 0 / 1.536 GB, free: 8.613 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.02308/1.277, allocations: 8.407 MB / 1.545 GB, free: 112 kB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/1.277, allocations: 16.58 kB / 1.545 GB, free: 96 kB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009681/1.286, allocations: 1.494 MB / 1.546 GB, free: 14.59 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01533/1.302, allocations: 6.647 MB / 1.553 GB, free: 7.859 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003851/1.302, allocations: 377.5 kB / 1.553 GB, free: 7.488 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001833/1.304, allocations: 0.5037 MB / 1.553 GB, free: 6.984 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6658/1.97, allocations: 7.1 MB / 1.56 GB, free: 377.6 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003293/1.97, allocations: 8.375 kB / 1.56 GB, free: 377.6 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001864/1.972, allocations: 199.5 kB / 1.561 GB, free: 377.6 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006562/1.973, allocations: 226.3 kB / 1.561 GB, free: 377.6 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01713/1.99, allocations: 6.314 MB / 1.567 GB, free: 375.6 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.04427/2.034, allocations: 28.25 MB / 1.595 GB, free: 354.7 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005989/2.04, allocations: 4.546 MB / 1.599 GB, free: 350 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00366/2.044, allocations: 2.567 MB / 1.601 GB, free: 347.5 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001065/2.045, allocations: 0.9254 MB / 1.602 GB, free: 346.4 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003858/2.049, allocations: 2.21 MB / 1.605 GB, free: 344.1 MB / 1.279 GB Notification: Performance of pre-optimization done (n=323): time 6.943e-06/2.049, allocations: 0 / 1.605 GB, free: 344.1 MB / 1.279 GB Notification: Performance of matching and sorting (n=327): time 0.02131/2.07, allocations: 11.59 MB / 1.616 GB, free: 332.4 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/2.07, allocations: 111.6 kB / 1.616 GB, free: 332.3 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007922/2.078, allocations: 5.021 MB / 1.621 GB, free: 327.3 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0006796/2.079, allocations: 97.69 kB / 1.621 GB, free: 327.2 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.002392/2.081, allocations: 2.676 MB / 1.624 GB, free: 324.5 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.001347/2.083, allocations: 1.127 MB / 1.625 GB, free: 323.4 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001795/2.084, allocations: 0.6911 MB / 1.625 GB, free: 322.7 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 4.223e-05/2.084, allocations: 310.9 kB / 1.626 GB, free: 322.4 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003028/2.087, allocations: 1.945 MB / 1.628 GB, free: 320.4 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003462/2.091, allocations: 2.772 MB / 1.63 GB, free: 317.4 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006405/2.097, allocations: 4.806 MB / 1.635 GB, free: 312.4 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.431e-05/2.097, allocations: 4 kB / 1.635 GB, free: 312.4 MB / 1.279 GB Notification: Performance of matching and sorting (n=457) (initialization): time 0.009124/2.107, allocations: 5.54 MB / 1.64 GB, free: 306.8 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 5.338e-05/2.107, allocations: 45.69 kB / 1.64 GB, free: 306.7 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.999e-05/2.107, allocations: 16 kB / 1.64 GB, free: 306.7 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008849/2.108, allocations: 254.2 kB / 1.641 GB, free: 306.5 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003386/2.111, allocations: 0.8213 MB / 1.641 GB, free: 305.7 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002507/2.113, allocations: 3.633 MB / 1.645 GB, free: 301.9 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004794/2.118, allocations: 280.1 kB / 1.645 GB, free: 301.6 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000644/2.119, allocations: 140 kB / 1.645 GB, free: 301.4 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006559/2.126, allocations: 4.069 MB / 1.649 GB, free: 297.4 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003719/2.129, allocations: 2.758 MB / 1.652 GB, free: 294.3 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006596/2.136, allocations: 4.781 MB / 1.657 GB, free: 289.4 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.691e-05/2.136, allocations: 11.98 kB / 1.657 GB, free: 289.4 MB / 1.279 GB Notification: Performance of matching and sorting (n=457) (initialization_lambda0): time 0.008419/2.144, allocations: 5.477 MB / 1.662 GB, free: 283.9 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 4.346e-05/2.144, allocations: 49.62 kB / 1.662 GB, free: 283.8 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-05/2.144, allocations: 16 kB / 1.662 GB, free: 283.8 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005544/2.145, allocations: 217.5 kB / 1.662 GB, free: 283.6 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003056/2.148, allocations: 0.792 MB / 1.663 GB, free: 282.8 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003065/2.151, allocations: 4.505 MB / 1.668 GB, free: 278 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004684/2.156, allocations: 304.6 kB / 1.668 GB, free: 277.7 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003083/2.156, allocations: 136 kB / 1.668 GB, free: 277.6 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.0008561/2.157, allocations: 425.1 kB / 1.668 GB, free: 277.1 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001007/2.158, allocations: 0.4979 MB / 1.669 GB, free: 276.6 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007309/2.165, allocations: 4.904 MB / 1.674 GB, free: 271.7 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005192/2.171, allocations: 4.088 MB / 1.678 GB, free: 267.5 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/2.171, allocations: 4 kB / 1.678 GB, free: 267.5 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00317/2.174, allocations: 1.12 MB / 1.679 GB, free: 266.4 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001214/2.175, allocations: 75.98 kB / 1.679 GB, free: 266.3 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003256/2.178, allocations: 210.1 kB / 1.679 GB, free: 266.1 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003899/2.179, allocations: 194.3 kB / 1.679 GB, free: 265.9 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008487/2.187, allocations: 5.194 MB / 1.684 GB, free: 260.7 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009123/2.196, allocations: 7.417 MB / 1.692 GB, free: 253.2 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002337/2.199, allocations: 2.163 MB / 1.694 GB, free: 251 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.005138/2.204, allocations: 3.53 MB / 1.697 GB, free: 247.5 MB / 1.279 GB Notification: Performance of Backend: time 1.673e-06/2.204, allocations: 0 / 1.697 GB, free: 247.5 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01306/2.217, allocations: 7.087 MB / 1.704 GB, free: 240.6 MB / 1.279 GB Notification: Performance of SimCode: time 0.02679/2.244, allocations: 14.43 MB / 1.718 GB, free: 226.2 MB / 1.279 GB Notification: Performance of Templates: time 0.1692/2.413, allocations: 131 MB / 1.846 GB, free: 96.12 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