Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001507/0.001507, allocations: 118 kB / 16.42 MB, free: 6.012 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.00204/0.00204, allocations: 183.4 kB / 17.35 MB, free: 5.629 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.413/1.413, allocations: 222.9 MB / 241.1 MB, free: 15.15 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.227/2.227, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002126/0.002126, allocations: 63.89 kB / 0.9516 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7724/0.7746, allocations: 140.4 MB / 1.089 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl): time 0.2994/1.074, allocations: 275.5 MB / 1.358 GB, free: 9.902 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.03073/1.105, allocations: 22.62 MB / 1.38 GB, free: 3.223 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003639/1.108, allocations: 103.4 kB / 1.38 GB, free: 3.121 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.004/1.113, allocations: 1.441 MB / 1.381 GB, free: 1.672 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.01226/1.125, allocations: 4.445 MB / 1.386 GB, free: 13.21 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.00792/1.133, allocations: 3.01 MB / 1.389 GB, free: 10.21 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.02157/1.154, allocations: 17.34 MB / 1.405 GB, free: 8.832 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009959/1.164, allocations: 7.312 MB / 1.413 GB, free: 1.426 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01302/1.177, allocations: 6.611 MB / 1.419 GB, free: 10.82 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008232/1.186, allocations: 4.997 MB / 1.424 GB, free: 5.812 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.002095/1.188, allocations: 0.7383 MB / 1.425 GB, free: 5.074 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01058/1.198, allocations: 4.484 MB / 1.429 GB, free: 0.582 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.003375/1.202, allocations: 2.127 MB / 1.431 GB, free: 14.45 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.007817/1.21, allocations: 3.941 MB / 1.435 GB, free: 10.49 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.01896/1.229, allocations: 13.07 MB / 1.448 GB, free: 13.38 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/1.229, allocations: 0 / 1.448 GB, free: 13.38 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.653e-06/1.229, allocations: 3.938 kB / 1.448 GB, free: 13.38 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0003897/1.229, allocations: 0 / 1.448 GB, free: 13.38 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: 1075 * Number of variables: 1075 Notification: Performance of Generate backend data structure: time 0.02176/1.251, allocations: 7.662 MB / 1.455 GB, free: 5.617 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.674e-05/1.251, allocations: 12.03 kB / 1.455 GB, free: 5.605 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008354/1.259, allocations: 1.315 MB / 1.456 GB, free: 4.281 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01336/1.273, allocations: 6.231 MB / 1.463 GB, free: 13.96 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003506/1.273, allocations: 340.1 kB / 1.463 GB, free: 13.63 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001587/1.275, allocations: 439.9 kB / 1.463 GB, free: 13.2 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01348/1.288, allocations: 6.179 MB / 1.469 GB, free: 6.879 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001296/1.288, allocations: 15.83 kB / 1.469 GB, free: 6.863 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008067/1.289, allocations: 172 kB / 1.47 GB, free: 6.695 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002118/1.289, allocations: 204.1 kB / 1.47 GB, free: 6.492 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01048/1.3, allocations: 5.489 MB / 1.475 GB, free: 0.9844 MB / 1.201 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.03874/1.338, allocations: 25.6 MB / 1.5 GB, free: 5.727 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005936/1.344, allocations: 4.192 MB / 1.504 GB, free: 1.375 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003364/1.348, allocations: 2.256 MB / 1.506 GB, free: 15.11 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001087/1.349, allocations: 0.9074 MB / 1.507 GB, free: 14.02 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003555/1.353, allocations: 1.929 MB / 1.509 GB, free: 12.05 MB / 1.248 GB Notification: Performance of pre-optimization done (n=287): time 5.51e-06/1.353, allocations: 0 / 1.509 GB, free: 12.05 MB / 1.248 GB Notification: Performance of matching and sorting (n=291): time 0.02083/1.373, allocations: 10.17 MB / 1.519 GB, free: 1.68 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.577e-05/1.373, allocations: 111.4 kB / 1.519 GB, free: 1.551 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008325/1.382, allocations: 4.632 MB / 1.524 GB, free: 12.91 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0005129/1.382, allocations: 97.64 kB / 1.524 GB, free: 12.81 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.002711/1.385, allocations: 2.419 MB / 1.526 GB, free: 10.38 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.001441/1.387, allocations: 1.009 MB / 1.527 GB, free: 9.352 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001553/1.388, allocations: 0.6398 MB / 1.528 GB, free: 8.703 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.00012/1.388, allocations: 309.1 kB / 1.528 GB, free: 8.398 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003118/1.391, allocations: 1.714 MB / 1.53 GB, free: 6.676 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003771/1.395, allocations: 2.474 MB / 1.532 GB, free: 3.938 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006431/1.402, allocations: 4.249 MB / 1.536 GB, free: 15.46 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.286e-05/1.402, allocations: 4 kB / 1.536 GB, free: 15.46 MB / 1.279 GB Notification: Performance of matching and sorting (n=417) (initialization): time 0.008846/1.41, allocations: 4.969 MB / 1.541 GB, free: 10.45 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 5.262e-05/1.411, allocations: 45.86 kB / 1.541 GB, free: 10.39 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.421e-05/1.411, allocations: 12 kB / 1.541 GB, free: 10.38 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008829/1.411, allocations: 261.4 kB / 1.541 GB, free: 10.12 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003061/1.415, allocations: 0.7216 MB / 1.542 GB, free: 9.398 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003063/1.418, allocations: 3.636 MB / 1.546 GB, free: 5.57 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004012/1.422, allocations: 255.6 kB / 1.546 GB, free: 5.32 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003219/1.422, allocations: 132 kB / 1.546 GB, free: 5.191 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005753/1.428, allocations: 3.613 MB / 1.55 GB, free: 1.57 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003365/1.431, allocations: 2.456 MB / 1.552 GB, free: 14.85 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006199/1.437, allocations: 4.226 MB / 1.556 GB, free: 10.41 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.414e-05/1.437, allocations: 4 kB / 1.556 GB, free: 10.4 MB / 1.295 GB Notification: Performance of matching and sorting (n=417) (initialization_lambda0): time 0.008765/1.446, allocations: 4.903 MB / 1.561 GB, free: 5.449 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 5.158e-05/1.446, allocations: 41.8 kB / 1.561 GB, free: 5.402 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.203e-05/1.446, allocations: 15.94 kB / 1.561 GB, free: 5.387 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007075/1.447, allocations: 213.7 kB / 1.561 GB, free: 5.172 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00292/1.45, allocations: 0.7099 MB / 1.562 GB, free: 4.461 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004291/1.454, allocations: 4.499 MB / 1.566 GB, free: 15.68 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004243/1.458, allocations: 276.2 kB / 1.567 GB, free: 15.41 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003393/1.459, allocations: 128.1 kB / 1.567 GB, free: 15.28 MB / 1.311 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.0009603/1.46, allocations: 414.6 kB / 1.567 GB, free: 14.86 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001467/1.461, allocations: 470.3 kB / 1.568 GB, free: 14.4 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008036/1.469, allocations: 4.284 MB / 1.572 GB, free: 10.06 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005685/1.475, allocations: 3.574 MB / 1.575 GB, free: 6.41 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.878e-06/1.475, allocations: 0 / 1.575 GB, free: 6.41 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003691/1.479, allocations: 1.015 MB / 1.576 GB, free: 5.371 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001773/1.48, allocations: 71.98 kB / 1.576 GB, free: 5.301 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003773/1.484, allocations: 185.2 kB / 1.576 GB, free: 5.121 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004379/1.485, allocations: 178 kB / 1.577 GB, free: 4.945 MB / 1.311 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008884/1.494, allocations: 4.593 MB / 1.581 GB, free: 284 kB / 1.311 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.5897/2.083, allocations: 6.458 MB / 1.587 GB, free: 433.8 MB / 1.311 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002777/2.086, allocations: 1.884 MB / 1.589 GB, free: 433.1 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.006205/2.092, allocations: 3.258 MB / 1.592 GB, free: 432 MB / 1.311 GB Notification: Performance of Backend: time 6.11e-07/2.092, allocations: 0 / 1.592 GB, free: 432 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.01475/2.107, allocations: 6.42 MB / 1.599 GB, free: 429.7 MB / 1.311 GB Notification: Performance of SimCode: time 0.02689/2.134, allocations: 13.3 MB / 1.612 GB, free: 424.1 MB / 1.311 GB Notification: Performance of Templates: time 0.1675/2.302, allocations: 120.8 MB / 1.73 GB, free: 340.7 MB / 1.311 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowPControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches