Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.0015/0.0015, 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.001533/0.001533, 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.321/1.321, allocations: 222.9 MB / 241.1 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.346/2.346, allocations: 390.3 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 67.89 kB / 0.9516 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.758/0.7594, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl): time 0.301/1.06, allocations: 278.1 MB / 1.36 GB, free: 7.34 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.03136/1.092, allocations: 23.79 MB / 1.383 GB, free: 15.48 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004509/1.096, allocations: 107.4 kB / 1.384 GB, free: 15.38 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.004418/1.101, allocations: 1.514 MB / 1.385 GB, free: 13.85 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.01319/1.114, allocations: 4.783 MB / 1.39 GB, free: 9.051 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.008268/1.122, allocations: 3.209 MB / 1.393 GB, free: 5.855 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.02138/1.144, allocations: 18.54 MB / 1.411 GB, free: 3.262 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01036/1.154, allocations: 8.352 MB / 1.419 GB, free: 10.81 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01409/1.168, allocations: 7.007 MB / 1.426 GB, free: 3.809 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009656/1.178, allocations: 5.428 MB / 1.431 GB, free: 14.38 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.002447/1.18, allocations: 0.8554 MB / 1.432 GB, free: 13.53 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01197/1.192, allocations: 4.948 MB / 1.437 GB, free: 8.57 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.004076/1.197, allocations: 2.353 MB / 1.439 GB, free: 6.211 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.01167/1.208, allocations: 4.365 MB / 1.443 GB, free: 1.828 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.02144/1.23, allocations: 14.62 MB / 1.458 GB, free: 3.168 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/1.23, allocations: 0 / 1.458 GB, free: 3.168 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.003e-06/1.23, allocations: 0 / 1.458 GB, free: 3.168 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0004072/1.23, allocations: 4 kB / 1.458 GB, free: 3.164 MB / 1.186 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.02408/1.254, allocations: 8.411 MB / 1.466 GB, free: 10.65 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/1.254, allocations: 8.031 kB / 1.466 GB, free: 10.64 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01023/1.265, allocations: 1.502 MB / 1.467 GB, free: 9.133 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01538/1.28, allocations: 6.654 MB / 1.474 GB, free: 2.398 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003759/1.28, allocations: 373.5 kB / 1.474 GB, free: 2.031 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001856/1.282, allocations: 0.4921 MB / 1.475 GB, free: 1.539 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01621/1.298, allocations: 7.103 MB / 1.482 GB, free: 10.3 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001016/1.299, allocations: 11.89 kB / 1.482 GB, free: 10.29 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005741/1.299, allocations: 200 kB / 1.482 GB, free: 10.1 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002266/1.299, allocations: 237.3 kB / 1.482 GB, free: 9.863 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01306/1.312, allocations: 6.302 MB / 1.488 GB, free: 3.547 MB / 1.217 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.0503/1.363, allocations: 28.25 MB / 1.516 GB, free: 5.621 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00717/1.37, allocations: 4.536 MB / 1.52 GB, free: 0.9297 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004107/1.374, allocations: 2.575 MB / 1.523 GB, free: 14.34 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001259/1.375, allocations: 0.9232 MB / 1.524 GB, free: 13.24 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004273/1.38, allocations: 2.214 MB / 1.526 GB, free: 10.98 MB / 1.264 GB Notification: Performance of pre-optimization done (n=323): time 6.142e-06/1.38, allocations: 0 / 1.526 GB, free: 10.98 MB / 1.264 GB Notification: Performance of matching and sorting (n=327): time 0.02427/1.404, allocations: 11.59 MB / 1.537 GB, free: 15.21 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.563e-05/1.404, allocations: 111.6 kB / 1.537 GB, free: 15.09 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007988/1.412, allocations: 5.021 MB / 1.542 GB, free: 10.07 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0007068/1.413, allocations: 97.7 kB / 1.542 GB, free: 9.965 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.002746/1.416, allocations: 2.677 MB / 1.545 GB, free: 7.262 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.001569/1.417, allocations: 1.128 MB / 1.546 GB, free: 6.117 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001551/1.419, allocations: 0.6954 MB / 1.547 GB, free: 5.414 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001055/1.419, allocations: 301.1 kB / 1.547 GB, free: 5.117 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003383/1.422, allocations: 1.958 MB / 1.549 GB, free: 3.152 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003863/1.426, allocations: 2.774 MB / 1.552 GB, free: 92 kB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006985/1.433, allocations: 4.793 MB / 1.556 GB, free: 11.06 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.159e-05/1.433, allocations: 8 kB / 1.556 GB, free: 11.05 MB / 1.295 GB Notification: Performance of matching and sorting (n=457) (initialization): time 0.009864/1.443, allocations: 5.541 MB / 1.562 GB, free: 5.473 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 6.068e-05/1.443, allocations: 45.69 kB / 1.562 GB, free: 5.422 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.734e-05/1.443, allocations: 16 kB / 1.562 GB, free: 5.406 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009042/1.444, allocations: 262 kB / 1.562 GB, free: 5.145 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00369/1.448, allocations: 0.8113 MB / 1.563 GB, free: 4.332 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003347/1.451, allocations: 3.64 MB / 1.566 GB, free: 0.5 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004601/1.456, allocations: 280.9 kB / 1.567 GB, free: 232 kB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000494/1.456, allocations: 140 kB / 1.567 GB, free: 92 kB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007142/1.463, allocations: 4.079 MB / 1.571 GB, free: 12 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004095/1.468, allocations: 2.758 MB / 1.573 GB, free: 8.953 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007245/1.475, allocations: 4.774 MB / 1.578 GB, free: 3.945 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.497e-05/1.475, allocations: 4 kB / 1.578 GB, free: 3.941 MB / 1.311 GB Notification: Performance of matching and sorting (n=457) (initialization_lambda0): time 0.5761/2.051, allocations: 5.472 MB / 1.583 GB, free: 432.6 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 7.254e-05/2.051, allocations: 42.66 kB / 1.583 GB, free: 432.5 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-05/2.051, allocations: 13.75 kB / 1.583 GB, free: 432.5 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007512/2.052, allocations: 218.2 kB / 1.584 GB, free: 432.5 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004216/2.056, allocations: 0.7996 MB / 1.584 GB, free: 432.5 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004247/2.06, allocations: 4.503 MB / 1.589 GB, free: 429.5 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005193/2.066, allocations: 310.2 kB / 1.589 GB, free: 429.5 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006417/2.066, allocations: 137.1 kB / 1.589 GB, free: 429.5 MB / 1.311 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.0009644/2.067, allocations: 429.7 kB / 1.59 GB, free: 429.3 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001448/2.069, allocations: 0.4943 MB / 1.59 GB, free: 429.3 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0095/2.078, allocations: 4.903 MB / 1.595 GB, free: 427.3 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007443/2.086, allocations: 4.084 MB / 1.599 GB, free: 425.7 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.281e-05/2.086, allocations: 1.469 kB / 1.599 GB, free: 425.7 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003343/2.089, allocations: 1.112 MB / 1.6 GB, free: 425.3 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001179/2.09, allocations: 79.12 kB / 1.6 GB, free: 425.3 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003391/2.094, allocations: 222.4 kB / 1.6 GB, free: 425.2 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006233/2.094, allocations: 196.7 kB / 1.601 GB, free: 425.2 MB / 1.311 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01036/2.105, allocations: 5.187 MB / 1.606 GB, free: 423.4 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01211/2.117, allocations: 7.422 MB / 1.613 GB, free: 420.6 MB / 1.311 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003443/2.12, allocations: 2.16 MB / 1.615 GB, free: 419.8 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.007772/2.128, allocations: 3.532 MB / 1.618 GB, free: 418.6 MB / 1.311 GB Notification: Performance of Backend: time 8.31e-07/2.128, allocations: 1.469 kB / 1.618 GB, free: 418.6 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.01719/2.145, allocations: 7.079 MB / 1.625 GB, free: 416.1 MB / 1.311 GB Notification: Performance of SimCode: time 0.03377/2.179, allocations: 14.42 MB / 1.639 GB, free: 409.8 MB / 1.311 GB Notification: Performance of Templates: time 0.1793/2.358, allocations: 131 MB / 1.767 GB, free: 303.1 MB / 1.311 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowPControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches