Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001386/0.001386, allocations: 108.8 kB / 16.41 MB, free: 6.461 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.001546/0.001546, allocations: 192.2 kB / 17.35 MB, free: 5.715 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.457/1.457, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.673/2.673, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 71.88 kB / 1.055 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.863/0.8644, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl): time 0.2912/1.156, allocations: 275.4 MB / 1.477 GB, free: 9.129 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.03426/1.19, allocations: 22.61 MB / 1.5 GB, free: 2.449 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004145/1.194, allocations: 107.4 kB / 1.5 GB, free: 2.344 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.004159/1.198, allocations: 1.394 MB / 1.501 GB, free: 0.9414 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.01083/1.209, allocations: 4.253 MB / 1.505 GB, free: 12.67 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.007176/1.216, allocations: 3.001 MB / 1.508 GB, free: 9.684 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.0197/1.236, allocations: 17.32 MB / 1.525 GB, free: 8.328 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01084/1.247, allocations: 7.32 MB / 1.532 GB, free: 0.9141 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01414/1.261, allocations: 6.567 MB / 1.539 GB, free: 10.35 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009002/1.27, allocations: 5.009 MB / 1.543 GB, free: 5.336 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.002457/1.273, allocations: 0.7344 MB / 1.544 GB, free: 4.602 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01032/1.283, allocations: 4.473 MB / 1.549 GB, free: 124 kB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.003335/1.286, allocations: 2.127 MB / 1.551 GB, free: 13.99 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.007405/1.294, allocations: 3.948 MB / 1.554 GB, free: 10.02 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.7921/2.086, allocations: 13.06 MB / 1.567 GB, free: 62.77 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 9.929e-06/2.086, allocations: 0.5312 kB / 1.567 GB, free: 62.77 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.014e-06/2.086, allocations: 0.6562 kB / 1.567 GB, free: 62.77 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.000501/2.086, allocations: 0 / 1.567 GB, free: 62.77 MB / 1.279 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.03138/2.118, allocations: 7.658 MB / 1.575 GB, free: 60.19 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 6.456e-05/2.118, allocations: 11.31 kB / 1.575 GB, free: 60.19 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01067/2.129, allocations: 1.322 MB / 1.576 GB, free: 59.85 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0162/2.145, allocations: 6.238 MB / 1.582 GB, free: 58.88 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004827/2.145, allocations: 321.5 kB / 1.582 GB, free: 58.87 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002684/2.148, allocations: 444.9 kB / 1.583 GB, free: 58.86 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01907/2.167, allocations: 6.181 MB / 1.589 GB, free: 58.43 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002666/2.167, allocations: 16.72 kB / 1.589 GB, free: 58.43 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00183/2.169, allocations: 176.1 kB / 1.589 GB, free: 58.43 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002528/2.17, allocations: 201.6 kB / 1.589 GB, free: 58.41 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01402/2.184, allocations: 5.481 MB / 1.595 GB, free: 58.37 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.03916/2.223, allocations: 25.61 MB / 1.62 GB, free: 47.71 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005196/2.228, allocations: 4.192 MB / 1.624 GB, free: 46.8 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002971/2.231, allocations: 2.245 MB / 1.626 GB, free: 46.77 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008894/2.232, allocations: 0.9114 MB / 1.627 GB, free: 45.83 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003148/2.235, allocations: 1.938 MB / 1.629 GB, free: 45.7 MB / 1.279 GB Notification: Performance of pre-optimization done (n=287): time 5.971e-06/2.235, allocations: 1.781 kB / 1.629 GB, free: 45.7 MB / 1.279 GB Notification: Performance of matching and sorting (n=291): time 0.0221/2.257, allocations: 10.17 MB / 1.639 GB, free: 43.95 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.092e-05/2.257, allocations: 108.7 kB / 1.639 GB, free: 43.86 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009136/2.266, allocations: 4.642 MB / 1.643 GB, free: 43.53 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0008911/2.267, allocations: 92.08 kB / 1.643 GB, free: 43.5 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.002417/2.27, allocations: 2.409 MB / 1.646 GB, free: 42.73 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.00141/2.271, allocations: 1.015 MB / 1.647 GB, free: 42.09 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002005/2.273, allocations: 0.6386 MB / 1.647 GB, free: 42.04 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 4.564e-05/2.273, allocations: 304.1 kB / 1.648 GB, free: 41.75 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002802/2.276, allocations: 1.714 MB / 1.649 GB, free: 41.72 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003319/2.279, allocations: 2.474 MB / 1.652 GB, free: 41.01 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006046/2.285, allocations: 4.248 MB / 1.656 GB, free: 40.4 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.26e-05/2.286, allocations: 7.234 kB / 1.656 GB, free: 40.4 MB / 1.279 GB Notification: Performance of matching and sorting (n=417) (initialization): time 0.01017/2.296, allocations: 4.971 MB / 1.661 GB, free: 39.98 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 6.737e-05/2.296, allocations: 42.33 kB / 1.661 GB, free: 39.95 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-05/2.296, allocations: 14.75 kB / 1.661 GB, free: 39.95 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009452/2.297, allocations: 258.4 kB / 1.661 GB, free: 39.93 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002914/2.3, allocations: 0.7236 MB / 1.662 GB, free: 39.93 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002549/2.302, allocations: 3.635 MB / 1.665 GB, free: 37.32 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004329/2.307, allocations: 260.8 kB / 1.665 GB, free: 37.31 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004251/2.307, allocations: 125 kB / 1.666 GB, free: 37.31 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005523/2.313, allocations: 3.614 MB / 1.669 GB, free: 37.22 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003121/2.316, allocations: 2.462 MB / 1.672 GB, free: 36.52 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005946/2.322, allocations: 4.219 MB / 1.676 GB, free: 35.15 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.018e-05/2.322, allocations: 3.875 kB / 1.676 GB, free: 35.15 MB / 1.279 GB Notification: Performance of matching and sorting (n=417) (initialization_lambda0): time 0.0095/2.331, allocations: 4.905 MB / 1.68 GB, free: 33.31 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 4.687e-05/2.331, allocations: 40.61 kB / 1.68 GB, free: 33.28 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.161e-05/2.331, allocations: 11.91 kB / 1.68 GB, free: 33.28 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006379/2.332, allocations: 218.3 kB / 1.681 GB, free: 33.22 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002801/2.335, allocations: 0.7121 MB / 1.681 GB, free: 33.2 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00342/2.338, allocations: 4.502 MB / 1.686 GB, free: 29.45 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004695/2.343, allocations: 272.5 kB / 1.686 GB, free: 29.38 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000467/2.343, allocations: 126.1 kB / 1.686 GB, free: 29.36 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.001124/2.345, allocations: 410.9 kB / 1.687 GB, free: 29.04 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001668/2.346, allocations: 461.8 kB / 1.687 GB, free: 28.81 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007785/2.354, allocations: 4.285 MB / 1.691 GB, free: 27.1 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005014/2.359, allocations: 3.585 MB / 1.695 GB, free: 25.21 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.857e-06/2.359, allocations: 0.5312 kB / 1.695 GB, free: 25.21 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002741/2.362, allocations: 1.016 MB / 1.696 GB, free: 24.28 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001361/2.363, allocations: 67.89 kB / 1.696 GB, free: 24.22 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003724/2.367, allocations: 185.3 kB / 1.696 GB, free: 24.1 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003988/2.367, allocations: 174.6 kB / 1.696 GB, free: 24 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00759/2.375, allocations: 4.591 MB / 1.701 GB, free: 20.17 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008898/2.384, allocations: 6.466 MB / 1.707 GB, free: 13.88 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002002/2.386, allocations: 1.88 MB / 1.709 GB, free: 11.98 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.005348/2.391, allocations: 3.262 MB / 1.712 GB, free: 8.723 MB / 1.279 GB Notification: Performance of Backend: time 6.92e-07/2.391, allocations: 0 / 1.712 GB, free: 8.723 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01329/2.405, allocations: 6.415 MB / 1.718 GB, free: 2.484 MB / 1.279 GB Notification: Performance of SimCode: time 0.02732/2.432, allocations: 13.3 MB / 1.731 GB, free: 5.242 MB / 1.295 GB Notification: Performance of Templates: time 0.1886/2.621, allocations: 122.7 MB / 1.851 GB, free: 12 MB / 1.42 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowPControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches