Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.m1_flow|hex.m2_flow|con.u_s|con.u_m|hex.Q1_flow|hex.Q2_flow|hex.QLat2_flow|hex.QSen2_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.m1_flow|hex.m2_flow|con.u_s|con.u_m|hex.Q1_flow|hex.Q2_flow|hex.QLat2_flow|hex.QSen2_flow",fileNamePrefix="Buildings_11_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.001543/0.001543, allocations: 113.8 kB / 16.81 MB, free: 5.766 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.001657/0.001657, allocations: 196.7 kB / 17.77 MB, free: 5.117 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.414/1.414, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.777/2.777, allocations: 476.7 MB / 0.7556 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 64.28 kB / 1.097 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3451, allocations: 168.7 MB / 1.262 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl): time 0.3355/0.6807, allocations: 279.3 MB / 1.535 GB, free: 4.617 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.7878/1.468, allocations: 23.84 MB / 1.558 GB, free: 28.6 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004522/1.473, allocations: 107.4 kB / 1.558 GB, free: 28.6 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.004757/1.478, allocations: 1.519 MB / 1.56 GB, free: 28.6 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.01448/1.492, allocations: 4.792 MB / 1.564 GB, free: 28.57 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.009992/1.502, allocations: 3.226 MB / 1.567 GB, free: 28.5 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.03274/1.535, allocations: 18.56 MB / 1.586 GB, free: 28.49 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01491/1.55, allocations: 6.914 MB / 1.592 GB, free: 28.11 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01816/1.568, allocations: 7.008 MB / 1.599 GB, free: 28.07 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01321/1.581, allocations: 5.729 MB / 1.605 GB, free: 27.36 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.004025/1.585, allocations: 0.8522 MB / 1.606 GB, free: 27.36 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0201/1.605, allocations: 5.114 MB / 1.611 GB, free: 27.31 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.005652/1.611, allocations: 2.416 MB / 1.613 GB, free: 26.99 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.0125/1.623, allocations: 4.369 MB / 1.617 GB, free: 25.93 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.0276/1.651, allocations: 14.67 MB / 1.632 GB, free: 24.38 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/1.651, allocations: 2.625 kB / 1.632 GB, free: 24.38 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.743e-06/1.651, allocations: 0 / 1.632 GB, free: 24.38 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.0005371/1.652, allocations: 0 / 1.632 GB, free: 24.38 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.03214/1.684, allocations: 8.637 MB / 1.64 GB, free: 21.05 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 6.023e-05/1.684, allocations: 12.19 kB / 1.64 GB, free: 21.05 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01146/1.695, allocations: 1.543 MB / 1.642 GB, free: 20.61 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01755/1.713, allocations: 6.694 MB / 1.648 GB, free: 19.5 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000499/1.713, allocations: 375.4 kB / 1.648 GB, free: 19.49 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002996/1.716, allocations: 0.4909 MB / 1.649 GB, free: 19.48 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02336/1.74, allocations: 7.101 MB / 1.656 GB, free: 18.86 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003055/1.74, allocations: 15.52 kB / 1.656 GB, free: 18.86 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002193/1.742, allocations: 197.6 kB / 1.656 GB, free: 18.71 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002582/1.742, allocations: 229.4 kB / 1.656 GB, free: 18.69 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01788/1.76, allocations: 6.307 MB / 1.662 GB, free: 15.64 MB / 1.264 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.05456/1.815, allocations: 28.31 MB / 1.69 GB, free: 8.43 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008273/1.823, allocations: 4.355 MB / 1.694 GB, free: 3.941 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004799/1.828, allocations: 2.417 MB / 1.697 GB, free: 1.523 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001395/1.829, allocations: 0.9153 MB / 1.698 GB, free: 444 kB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00483/1.834, allocations: 2.215 MB / 1.7 GB, free: 14.18 MB / 1.295 GB Notification: Performance of pre-optimization done (n=323): time 6.272e-06/1.834, allocations: 0 / 1.7 GB, free: 14.18 MB / 1.295 GB Notification: Performance of matching and sorting (n=327): time 0.02843/1.863, allocations: 11.69 MB / 1.711 GB, free: 2.34 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.78e-05/1.863, allocations: 119.6 kB / 1.711 GB, free: 2.203 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01117/1.874, allocations: 5.018 MB / 1.716 GB, free: 13.19 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0009807/1.875, allocations: 101.7 kB / 1.716 GB, free: 13.08 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.004008/1.879, allocations: 2.718 MB / 1.719 GB, free: 10.35 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.002199/1.881, allocations: 1.192 MB / 1.72 GB, free: 9.176 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002731/1.884, allocations: 0.699 MB / 1.721 GB, free: 8.473 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001405/1.884, allocations: 301.1 kB / 1.721 GB, free: 8.176 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00418/1.888, allocations: 1.955 MB / 1.723 GB, free: 6.215 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004903/1.893, allocations: 2.77 MB / 1.726 GB, free: 3.172 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009054/1.902, allocations: 4.801 MB / 1.73 GB, free: 14.2 MB / 1.326 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.111e-05/1.902, allocations: 4 kB / 1.73 GB, free: 14.2 MB / 1.326 GB Notification: Performance of matching and sorting (n=457) (initialization): time 0.01392/1.916, allocations: 5.557 MB / 1.736 GB, free: 8.688 MB / 1.326 GB Notification: Performance of prepare postOptimizeDAE: time 9.683e-05/1.916, allocations: 45.69 kB / 1.736 GB, free: 8.637 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-05/1.916, allocations: 12 kB / 1.736 GB, free: 8.625 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001097/1.917, allocations: 263.3 kB / 1.736 GB, free: 8.367 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004423/1.922, allocations: 0.8061 MB / 1.737 GB, free: 7.605 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003963/1.926, allocations: 3.651 MB / 1.74 GB, free: 3.793 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005815/1.931, allocations: 287.9 kB / 1.741 GB, free: 3.512 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001086/1.933, allocations: 138.9 kB / 1.741 GB, free: 3.379 MB / 1.326 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009454/1.942, allocations: 4.068 MB / 1.745 GB, free: 15.3 MB / 1.342 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00531/1.947, allocations: 2.762 MB / 1.748 GB, free: 12.27 MB / 1.342 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009107/1.956, allocations: 4.777 MB / 1.752 GB, free: 7.316 MB / 1.342 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.331e-05/1.956, allocations: 4 kB / 1.752 GB, free: 7.312 MB / 1.342 GB Notification: Performance of matching and sorting (n=457) (initialization_lambda0): time 0.01325/1.97, allocations: 5.495 MB / 1.758 GB, free: 1.867 MB / 1.342 GB Notification: Performance of prepare postOptimizeDAE: time 6.515e-05/1.97, allocations: 40.33 kB / 1.758 GB, free: 1.824 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.391e-05/1.97, allocations: 23.94 kB / 1.758 GB, free: 1.801 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006984/1.971, allocations: 223 kB / 1.758 GB, free: 1.582 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003928/1.974, allocations: 0.7982 MB / 1.759 GB, free: 0.8281 MB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004954/1.979, allocations: 4.497 MB / 1.763 GB, free: 12.08 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005697/1.985, allocations: 306.4 kB / 1.763 GB, free: 11.78 MB / 1.357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008692/1.986, allocations: 132 kB / 1.763 GB, free: 11.65 MB / 1.357 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.001732/1.988, allocations: 438.1 kB / 1.764 GB, free: 11.26 MB / 1.357 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002251/1.99, allocations: 0.5163 MB / 1.764 GB, free: 10.74 MB / 1.357 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01352/2.003, allocations: 4.903 MB / 1.769 GB, free: 5.797 MB / 1.357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008498/2.012, allocations: 4.077 MB / 1.773 GB, free: 1.66 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-05/2.012, allocations: 0 / 1.773 GB, free: 1.66 MB / 1.357 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003881/2.016, allocations: 1.142 MB / 1.774 GB, free: 0.4961 MB / 1.357 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001989/2.018, allocations: 83.92 kB / 1.774 GB, free: 424 kB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004514/2.022, allocations: 217.5 kB / 1.775 GB, free: 208 kB / 1.357 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007835/2.023, allocations: 196.8 kB / 1.775 GB, free: 12 kB / 1.357 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01256/2.036, allocations: 5.185 MB / 1.78 GB, free: 10.82 MB / 1.373 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01459/2.05, allocations: 7.453 MB / 1.787 GB, free: 3.301 MB / 1.373 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003582/2.054, allocations: 2.034 MB / 1.789 GB, free: 1.254 MB / 1.373 GB Notification: Performance of sorting global known variables: time 0.008158/2.062, allocations: 3.527 MB / 1.792 GB, free: 13.74 MB / 1.389 GB Notification: Performance of Backend: time 9.82e-07/2.062, allocations: 0 / 1.792 GB, free: 13.74 MB / 1.389 GB Notification: Performance of simCode: created initialization part: time 0.01989/2.082, allocations: 6.679 MB / 1.799 GB, free: 7.262 MB / 1.389 GB Notification: Performance of SimCode: time 0.03547/2.117, allocations: 14.69 MB / 1.813 GB, free: 8.582 MB / 1.404 GB Notification: Performance of Templates: time 0.2332/2.351, allocations: 133.4 MB / 1.944 GB, free: 4.449 MB / 1.529 GB make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.makefile (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowPControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches