Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.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.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|P.u_s|P.u_m|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",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|P.u_s|P.u_m|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",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001742/0.001742, allocations: 120.2 kB / 16.81 MB, free: 5.758 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.001874/0.001874, allocations: 192.7 kB / 17.77 MB, free: 5.133 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.506/1.506, allocations: 225.6 MB / 244.2 MB, free: 13.91 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.822/2.822, allocations: 476.7 MB / 0.7556 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 65.3 kB / 1.097 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3664/0.3684, allocations: 168.7 MB / 1.262 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.2451/0.6135, allocations: 211.9 MB / 1.469 GB, free: 8.277 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.0189/0.6324, allocations: 10.68 MB / 1.479 GB, free: 13.57 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00478/0.6372, allocations: 59.62 kB / 1.48 GB, free: 13.52 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.00398/0.6411, allocations: 0.8694 MB / 1.48 GB, free: 12.64 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.01063/0.6518, allocations: 2.574 MB / 1.483 GB, free: 10.05 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.007177/0.6589, allocations: 2.319 MB / 1.485 GB, free: 7.758 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.006984/0.6659, allocations: 3.714 MB / 1.489 GB, free: 4.023 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002243/0.6682, allocations: 1.115 MB / 1.49 GB, free: 2.879 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005189/0.6734, allocations: 2.01 MB / 1.492 GB, free: 0.8633 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002399/0.6758, allocations: 1.189 MB / 1.493 GB, free: 15.67 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0003164/0.6761, allocations: 152 kB / 1.493 GB, free: 15.52 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006081/0.6822, allocations: 3.166 MB / 1.496 GB, free: 12.35 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0006226/0.6828, allocations: 486.1 kB / 1.497 GB, free: 11.88 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001316/0.6841, allocations: 0.9056 MB / 1.498 GB, free: 10.96 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.006895/0.691, allocations: 3.363 MB / 1.501 GB, free: 7.59 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.691, allocations: 3.938 kB / 1.501 GB, free: 7.586 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.225e-06/0.691, allocations: 0 / 1.501 GB, free: 7.586 MB / 1.217 GB Notification: Performance of Transformations before backend: time 3.647e-05/0.691, allocations: 0 / 1.501 GB, free: 7.586 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.005947/0.697, allocations: 2.412 MB / 1.503 GB, free: 5.105 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.697, allocations: 8.031 kB / 1.503 GB, free: 5.098 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002996/0.7, allocations: 0.553 MB / 1.504 GB, free: 4.543 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002902/0.7029, allocations: 1.325 MB / 1.505 GB, free: 3.168 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.996e-05/0.703, allocations: 78 kB / 1.505 GB, free: 3.09 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002121/0.7032, allocations: 116 kB / 1.505 GB, free: 2.977 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002852/0.7061, allocations: 1.314 MB / 1.507 GB, free: 1.633 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/0.7061, allocations: 3.984 kB / 1.507 GB, free: 1.629 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001264/0.7062, allocations: 40 kB / 1.507 GB, free: 1.59 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.125e-05/0.7063, allocations: 42 kB / 1.507 GB, free: 1.547 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003293/0.7096, allocations: 1.327 MB / 1.508 GB, free: 224 kB / 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.009513/0.7191, allocations: 5.273 MB / 1.513 GB, free: 10.64 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002555/0.7217, allocations: 0.9608 MB / 1.514 GB, free: 9.656 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001262/0.7229, allocations: 0.5042 MB / 1.514 GB, free: 9.152 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00127/0.7242, allocations: 0.7513 MB / 1.515 GB, free: 8.25 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001592/0.7258, allocations: 0.5977 MB / 1.516 GB, free: 7.641 MB / 1.232 GB Notification: Performance of pre-optimization done (n=81): time 3.156e-06/0.7258, allocations: 0 / 1.516 GB, free: 7.641 MB / 1.232 GB Notification: Performance of matching and sorting (n=81): time 0.004778/0.7306, allocations: 1.563 MB / 1.517 GB, free: 6.07 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.817e-05/0.7306, allocations: 64.05 kB / 1.517 GB, free: 5.996 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002188/0.7328, allocations: 1.33 MB / 1.519 GB, free: 4.656 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001914/0.733, allocations: 45.7 kB / 1.519 GB, free: 4.605 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007152/0.7337, allocations: 0.6591 MB / 1.519 GB, free: 3.941 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003147/0.734, allocations: 289.5 kB / 1.52 GB, free: 3.656 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004207/0.7345, allocations: 234.8 kB / 1.52 GB, free: 3.422 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002571/0.7347, allocations: 353.9 kB / 1.52 GB, free: 3.07 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001413/0.7361, allocations: 0.4939 MB / 1.521 GB, free: 2.574 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001708/0.7378, allocations: 0.7564 MB / 1.521 GB, free: 1.723 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00284/0.7407, allocations: 1.158 MB / 1.523 GB, free: 0.4961 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.867e-06/0.7407, allocations: 4 kB / 1.523 GB, free: 0.4922 MB / 1.232 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.004037/0.7447, allocations: 1.451 MB / 1.524 GB, free: 15.03 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 6.319e-05/0.7448, allocations: 33.7 kB / 1.524 GB, free: 14.99 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.7448, allocations: 7.938 kB / 1.524 GB, free: 14.98 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.179e-05/0.7448, allocations: 11.98 kB / 1.524 GB, free: 14.97 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001778/0.7466, allocations: 339.7 kB / 1.524 GB, free: 14.64 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008754/0.7475, allocations: 1.195 MB / 1.526 GB, free: 13.39 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001824/0.7493, allocations: 194 kB / 1.526 GB, free: 13.21 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/0.7494, allocations: 55.92 kB / 1.526 GB, free: 13.15 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001894/0.7513, allocations: 0.7445 MB / 1.526 GB, free: 12.41 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001613/0.7529, allocations: 0.7525 MB / 1.527 GB, free: 11.57 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002817/0.7558, allocations: 1.143 MB / 1.528 GB, free: 10.35 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.859e-06/0.7558, allocations: 4 kB / 1.528 GB, free: 10.35 MB / 1.248 GB Notification: Performance of matching and sorting (n=131) (initialization_lambda0): time 0.003768/0.7595, allocations: 1.439 MB / 1.53 GB, free: 8.895 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 4.504e-05/0.7596, allocations: 33.7 kB / 1.53 GB, free: 8.855 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.7596, allocations: 4 kB / 1.53 GB, free: 8.852 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.7596, allocations: 8 kB / 1.53 GB, free: 8.844 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001492/0.7611, allocations: 311.7 kB / 1.53 GB, free: 8.539 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.612e-05/0.7611, allocations: 8 kB / 1.53 GB, free: 8.531 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001697/0.7628, allocations: 167.4 kB / 1.53 GB, free: 8.367 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/0.7629, allocations: 51.98 kB / 1.53 GB, free: 8.316 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 8 (hex.flowRegime_nominal,hex.flowRegime,TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,P.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004289/0.7634, allocations: 253.5 kB / 1.531 GB, free: 8.062 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003814/0.7637, allocations: 163 kB / 1.531 GB, free: 7.902 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003455/0.7672, allocations: 1.305 MB / 1.532 GB, free: 6.594 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/0.7672, allocations: 3.984 kB / 1.532 GB, free: 6.59 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.7672, allocations: 4 kB / 1.532 GB, free: 6.586 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007886/0.768, allocations: 363.6 kB / 1.532 GB, free: 6.211 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002185/0.7682, allocations: 23.94 kB / 1.532 GB, free: 6.188 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/0.7694, allocations: 108.3 kB / 1.532 GB, free: 6.082 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/0.7696, allocations: 56.92 kB / 1.533 GB, free: 6.027 MB / 1.248 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003794/0.7733, allocations: 1.288 MB / 1.534 GB, free: 4.723 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004724/0.7781, allocations: 1.987 MB / 1.536 GB, free: 2.715 MB / 1.248 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001303/0.7794, allocations: 0.4997 MB / 1.536 GB, free: 2.215 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001483/0.7809, allocations: 0.9056 MB / 1.537 GB, free: 1.312 MB / 1.248 GB Notification: Performance of Backend: time 7.82e-07/0.7809, allocations: 0 / 1.537 GB, free: 1.312 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.00718/0.788, allocations: 2.197 MB / 1.539 GB, free: 15.11 MB / 1.264 GB Notification: Performance of SimCode: time 0.007129/0.7952, allocations: 3.209 MB / 1.542 GB, free: 11.84 MB / 1.264 GB Notification: Performance of Templates: time 0.7082/1.503, allocations: 41.15 MB / 1.583 GB, free: 281.7 MB / 1.264 GB make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches