Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem1a.T|senTem1b.T|senTem2a.T|senTem2b.T|senTem3a.T|senTem3b.T|senTem4a.T|senTem4b.T|mix1.T|hea1.m_flow|hea2.m_flow|hea3.m_flow|hea4.m_flow|senTem5b.T|senTem5a.T|senTem6b.T|senTem7a.T|senTem7b.T|senTem8a.T|senTem8b.T|mix2.T|hea5.m_flow|hea6.m_flow|hea7.m_flow|hea8.m_flow|che1.y|che2.y|che9.y|che10.y|che3.y|che4.y|che5.y|che6.y|che7.y|che8.y",fileNamePrefix="Buildings_10_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem1a.T|senTem1b.T|senTem2a.T|senTem2b.T|senTem3a.T|senTem3b.T|senTem4a.T|senTem4b.T|mix1.T|hea1.m_flow|hea2.m_flow|hea3.m_flow|hea4.m_flow|senTem5b.T|senTem5a.T|senTem6b.T|senTem7a.T|senTem7b.T|senTem8a.T|senTem8b.T|mix2.T|hea5.m_flow|hea6.m_flow|hea7.m_flow|hea8.m_flow|che1.y|che2.y|che9.y|che10.y|che3.y|che4.y|che5.y|che6.y|che7.y|che8.y",fileNamePrefix="Buildings_10_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 113 kB / 16.42 MB, free: 6.445 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.001585/0.001585, allocations: 185.7 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.412/1.412, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.393/2.393, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 64.12 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7101/0.7116, allocations: 151.6 MB / 1.167 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.269/0.9806, allocations: 300.4 MB / 1.461 GB, free: 6.426 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.06369/1.044, allocations: 50.02 MB / 1.51 GB, free: 4.273 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007853/1.052, allocations: 298.2 kB / 1.51 GB, free: 3.98 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.008885/1.061, allocations: 3.529 MB / 1.513 GB, free: 440 kB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.0236/1.085, allocations: 9.487 MB / 1.523 GB, free: 6.906 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.01668/1.102, allocations: 6.714 MB / 1.529 GB, free: 228 kB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.02323/1.125, allocations: 18.53 MB / 1.547 GB, free: 13.64 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008958/1.134, allocations: 5.835 MB / 1.553 GB, free: 7.707 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01526/1.149, allocations: 7.557 MB / 1.56 GB, free: 152 kB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.612/1.761, allocations: 5.082 MB / 1.565 GB, free: 96.19 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.002728/1.764, allocations: 0.5681 MB / 1.566 GB, free: 96.19 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01204/1.776, allocations: 4.388 MB / 1.57 GB, free: 96.19 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.00261/1.779, allocations: 1.502 MB / 1.572 GB, free: 96.19 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.006056/1.785, allocations: 3.738 MB / 1.575 GB, free: 95.8 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.0138/1.798, allocations: 10.43 MB / 1.585 GB, free: 94.66 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/1.798, allocations: 1.875 kB / 1.585 GB, free: 94.66 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.603e-06/1.798, allocations: 0 / 1.585 GB, free: 94.66 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0001615/1.799, allocations: 0 / 1.585 GB, free: 94.66 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: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.01043/1.809, allocations: 7.479 MB / 1.593 GB, free: 91.27 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/1.809, allocations: 13.59 kB / 1.593 GB, free: 91.27 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001849/1.811, allocations: 0.7788 MB / 1.593 GB, free: 90.89 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007871/1.819, allocations: 5.354 MB / 1.599 GB, free: 89.81 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001519/1.819, allocations: 320 kB / 1.599 GB, free: 89.8 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000456/1.819, allocations: 430.3 kB / 1.599 GB, free: 89.8 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005958/1.825, allocations: 4.385 MB / 1.604 GB, free: 89 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-05/1.826, allocations: 21.75 kB / 1.604 GB, free: 88.99 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003352/1.826, allocations: 172.9 kB / 1.604 GB, free: 88.99 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-05/1.826, allocations: 116.1 kB / 1.604 GB, free: 88.99 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004283/1.83, allocations: 2.963 MB / 1.607 GB, free: 88.95 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.01852/1.849, allocations: 25.13 MB / 1.631 GB, free: 73.11 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002325/1.851, allocations: 2.751 MB / 1.634 GB, free: 71.95 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001203/1.852, allocations: 0.9965 MB / 1.635 GB, free: 71.93 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001766/1.854, allocations: 3.908 MB / 1.639 GB, free: 67.52 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/1.854, allocations: 66 kB / 1.639 GB, free: 67.48 MB / 1.279 GB Notification: Performance of pre-optimization done (n=217): time 3.988e-06/1.854, allocations: 0 / 1.639 GB, free: 67.48 MB / 1.279 GB Notification: Performance of matching and sorting (n=217): time 0.009035/1.863, allocations: 4.066 MB / 1.643 GB, free: 66.61 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.517e-05/1.863, allocations: 82.56 kB / 1.643 GB, free: 66.54 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004758/1.868, allocations: 4.298 MB / 1.647 GB, free: 66.19 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0002423/1.868, allocations: 85.2 kB / 1.647 GB, free: 66.16 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.001447/1.87, allocations: 2.776 MB / 1.65 GB, free: 65.29 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005254/1.87, allocations: 0.7605 MB / 1.651 GB, free: 64.8 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006315/1.871, allocations: 0.5736 MB / 1.651 GB, free: 64.75 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 3.205e-05/1.871, allocations: 301.1 kB / 1.652 GB, free: 64.45 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001178/1.872, allocations: 0.8242 MB / 1.652 GB, free: 64.43 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001628/1.874, allocations: 1.818 MB / 1.654 GB, free: 63.27 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002838/1.877, allocations: 2.514 MB / 1.657 GB, free: 62.39 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.199e-05/1.877, allocations: 9.156 kB / 1.657 GB, free: 62.39 MB / 1.279 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.006657/1.883, allocations: 3.551 MB / 1.66 GB, free: 61.9 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/1.883, allocations: 13.78 kB / 1.66 GB, free: 61.9 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.442e-05/1.883, allocations: 22.88 kB / 1.66 GB, free: 61.9 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002388/1.886, allocations: 0.589 MB / 1.661 GB, free: 61.83 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00153/1.887, allocations: 0.5555 MB / 1.661 GB, free: 61.83 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001437/1.889, allocations: 2.687 MB / 1.664 GB, free: 59.73 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003036/1.892, allocations: 328.1 kB / 1.664 GB, free: 59.59 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001843/1.892, allocations: 134.6 kB / 1.664 GB, free: 59.59 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002451/1.894, allocations: 1.568 MB / 1.666 GB, free: 59.5 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001523/1.896, allocations: 1.8 MB / 1.668 GB, free: 58.33 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002601/1.899, allocations: 2.459 MB / 1.67 GB, free: 57.46 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.068e-05/1.899, allocations: 10.62 kB / 1.67 GB, free: 57.45 MB / 1.279 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.005215/1.904, allocations: 3.308 MB / 1.673 GB, free: 57 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/1.904, allocations: 17.94 kB / 1.673 GB, free: 57 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.849e-05/1.904, allocations: 21.38 kB / 1.673 GB, free: 57 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008084/1.905, allocations: 370.2 kB / 1.674 GB, free: 56.96 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001522/1.906, allocations: 0.5545 MB / 1.674 GB, free: 56.96 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005862/1.912, allocations: 8.442 MB / 1.682 GB, free: 50.66 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00321/1.915, allocations: 306.1 kB / 1.683 GB, free: 50.56 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001815/1.916, allocations: 129.1 kB / 1.683 GB, free: 50.56 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (323): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,12), (1,9), (1,12), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0005629/1.916, allocations: 366.5 kB / 1.683 GB, free: 50.37 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007442/1.917, allocations: 0.509 MB / 1.684 GB, free: 50.1 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005099/1.922, allocations: 3.57 MB / 1.687 GB, free: 49.7 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003245/1.925, allocations: 2.434 MB / 1.69 GB, free: 49.45 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/1.925, allocations: 0 / 1.69 GB, free: 49.45 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001524/1.927, allocations: 0.8883 MB / 1.69 GB, free: 49.06 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005333/1.927, allocations: 39.94 kB / 1.69 GB, free: 49.06 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002103/1.929, allocations: 133.6 kB / 1.691 GB, free: 49.04 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002263/1.93, allocations: 185.8 kB / 1.691 GB, free: 49.04 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004356/1.934, allocations: 2.817 MB / 1.694 GB, free: 48.77 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004692/1.939, allocations: 4.091 MB / 1.698 GB, free: 48.12 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001166/1.94, allocations: 1.057 MB / 1.699 GB, free: 48.1 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.003499/1.943, allocations: 2.846 MB / 1.701 GB, free: 47.92 MB / 1.279 GB Notification: Performance of Backend: time 4.4e-07/1.943, allocations: 0 / 1.701 GB, free: 47.92 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.009078/1.953, allocations: 5.204 MB / 1.706 GB, free: 46.92 MB / 1.279 GB Notification: Performance of SimCode: time 0.01639/1.969, allocations: 11.45 MB / 1.718 GB, free: 38.39 MB / 1.279 GB Notification: Performance of Templates: time 0.1528/2.122, allocations: 109.5 MB / 1.825 GB, free: 12.68 MB / 1.357 GB make -j1 -f Buildings_10_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./Buildings_10_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Interfaces_Examples_HeaterCooler_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches