Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.48/2.48, allocations: 390.3 MB / 402.8 MB, free: 6.688 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 168.9 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.87/1.87, allocations: 221.3 MB / 0.7915 GB, free: 5.391 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001188, allocations: 80.03 kB / 0.9317 GB, free: 5.703 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.549e-05/3.551e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3418, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.325/1.667, allocations: 422.7 MB / 1.631 GB, free: 11.76 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003385/1.667, allocations: 88.55 kB / 1.632 GB, free: 11.67 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 11.32/12.98, allocations: 2.797 GB / 4.429 GB, free: 29.25 MB / 1.26 GB Notification: Performance of FrontEnd: time 3.397e-06/12.98, allocations: 0 / 4.429 GB, free: 29.25 MB / 1.26 GB Notification: Performance of Transformations before backend: time 0.001291/12.98, allocations: 169.3 kB / 4.429 GB, free: 29.09 MB / 1.26 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.02064/13, allocations: 5.92 MB / 4.435 GB, free: 23.05 MB / 1.26 GB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/13, allocations: 8.031 kB / 4.435 GB, free: 23.04 MB / 1.26 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005283/13.01, allocations: 0.7841 MB / 4.436 GB, free: 22.25 MB / 1.26 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.45/14.46, allocations: 60.65 MB / 4.495 GB, free: 74.95 MB / 1.292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005865/14.46, allocations: 318.7 kB / 4.495 GB, free: 74.93 MB / 1.292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001832/14.46, allocations: 423.7 kB / 4.496 GB, free: 74.93 MB / 1.292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01266/14.48, allocations: 4.186 MB / 4.5 GB, free: 74.15 MB / 1.292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001347/14.48, allocations: 17.47 kB / 4.5 GB, free: 74.15 MB / 1.292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006127/14.48, allocations: 178.1 kB / 4.5 GB, free: 74.15 MB / 1.292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002617/14.48, allocations: 122.4 kB / 4.5 GB, free: 74.15 MB / 1.292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007177/14.48, allocations: 2.784 MB / 4.503 GB, free: 74.12 MB / 1.292 GB Warning: The model contains alias variables with conflicting start and/or 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.05164/14.54, allocations: 24.06 MB / 4.526 GB, free: 60.2 MB / 1.292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00555/14.54, allocations: 2.905 MB / 4.529 GB, free: 59.02 MB / 1.292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002283/14.54, allocations: 1.047 MB / 4.53 GB, free: 59 MB / 1.292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003755/14.55, allocations: 3.931 MB / 4.534 GB, free: 54.59 MB / 1.292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000116/14.55, allocations: 67.97 kB / 4.534 GB, free: 54.55 MB / 1.292 GB Notification: Performance of pre-optimization done (n=225): time 5.831e-06/14.55, allocations: 0 / 4.534 GB, free: 54.55 MB / 1.292 GB Notification: Performance of matching and sorting (n=225): time 0.008962/14.56, allocations: 2.562 MB / 4.537 GB, free: 54.16 MB / 1.292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.386e-05/14.56, allocations: 79.14 kB / 4.537 GB, free: 54.09 MB / 1.292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01161/14.57, allocations: 3.614 MB / 4.54 GB, free: 53.77 MB / 1.292 GB Notification: Performance of collectPreVariables (initialization): time 0.001157/14.57, allocations: 80.12 kB / 4.54 GB, free: 53.74 MB / 1.292 GB Notification: Performance of collectInitialEqns (initialization): time 0.003251/14.57, allocations: 2.784 MB / 4.543 GB, free: 53.11 MB / 1.292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001755/14.57, allocations: 0.7837 MB / 4.544 GB, free: 52.72 MB / 1.292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001526/14.57, allocations: 51.81 kB / 4.544 GB, free: 52.72 MB / 1.292 GB Notification: Performance of setup shared object (initialization): time 0.0002149/14.57, allocations: 412.1 kB / 4.544 GB, free: 52.41 MB / 1.292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001783/14.58, allocations: 0.7662 MB / 4.545 GB, free: 52.41 MB / 1.292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002221/14.58, allocations: 1.761 MB / 4.547 GB, free: 51.25 MB / 1.292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002036/14.58, allocations: 1.07 MB / 4.548 GB, free: 51.21 MB / 1.292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-05/14.58, allocations: 5.656 kB / 4.548 GB, free: 51.21 MB / 1.292 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.01094/14.59, allocations: 3.293 MB / 4.551 GB, free: 50.83 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 0.004499/14.6, allocations: 10.36 MB / 4.561 GB, free: 40.07 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.74e-05/14.6, allocations: 20.95 kB / 4.561 GB, free: 40.07 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001577/14.6, allocations: 404.8 kB / 4.561 GB, free: 40.03 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002948/14.6, allocations: 0.5251 MB / 4.562 GB, free: 40.03 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002872/14.6, allocations: 2.686 MB / 4.565 GB, free: 37.94 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00937/14.61, allocations: 0.5496 MB / 4.565 GB, free: 37.87 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001051/14.61, allocations: 137 kB / 4.565 GB, free: 37.87 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/14.61, allocations: 3.188 kB / 4.565 GB, free: 37.87 MB / 1.292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006325/14.62, allocations: 2.734 MB / 4.568 GB, free: 37.77 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.151e-05/14.62, allocations: 25.03 kB / 4.568 GB, free: 37.77 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001028/14.62, allocations: 371.4 kB / 4.568 GB, free: 37.74 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001842/14.62, allocations: 0.5269 MB / 4.569 GB, free: 37.74 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01386/14.64, allocations: 7.69 MB / 4.576 GB, free: 48.11 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01043/14.65, allocations: 0.5123 MB / 4.577 GB, free: 48.05 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00136/14.65, allocations: 131.4 kB / 4.577 GB, free: 48.05 MB / 1.307 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (299): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 12,1 9,1 12,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.001622/14.65, allocations: 276.1 kB / 4.577 GB, free: 47.95 MB / 1.307 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003548/14.65, allocations: 0.5137 MB / 4.578 GB, free: 47.68 MB / 1.307 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009334/14.66, allocations: 3.735 MB / 4.581 GB, free: 47.4 MB / 1.307 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.406e-05/14.66, allocations: 37.69 kB / 4.581 GB, free: 47.4 MB / 1.307 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/14.66, allocations: 3.141 kB / 4.581 GB, free: 47.4 MB / 1.307 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004085/14.67, allocations: 2.53 MB / 4.584 GB, free: 47.2 MB / 1.307 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.02497/14.69, allocations: 8.518 MB / 4.592 GB, free: 45.7 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.181e-05/14.69, allocations: 6.781 kB / 4.592 GB, free: 45.7 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001482/14.7, allocations: 385.2 kB / 4.593 GB, free: 45.7 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007636/14.7, allocations: 308.7 kB / 4.593 GB, free: 45.66 MB / 1.307 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001542/14.7, allocations: 66.47 kB / 4.593 GB, free: 45.66 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002126/14.7, allocations: 2.491 MB / 4.595 GB, free: 43.57 MB / 1.307 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/14.7, allocations: 0 / 4.595 GB, free: 43.57 MB / 1.307 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009283/14.71, allocations: 4.659 MB / 4.6 GB, free: 42.8 MB / 1.307 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005489/14.71, allocations: 0.9945 MB / 4.601 GB, free: 42.43 MB / 1.307 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002434/14.72, allocations: 49.55 kB / 4.601 GB, free: 42.43 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006614/14.72, allocations: 441.4 kB / 4.601 GB, free: 42.41 MB / 1.307 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004095/14.72, allocations: 151.5 kB / 4.601 GB, free: 42.41 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000454/14.72, allocations: 117.6 kB / 4.602 GB, free: 42.41 MB / 1.307 GB Notification: Performance of sorting global known variables: time 0.00741/14.73, allocations: 2.743 MB / 4.604 GB, free: 42.21 MB / 1.307 GB Notification: Performance of sort global known variables: time 6.31e-07/14.73, allocations: 0 / 4.604 GB, free: 42.21 MB / 1.307 GB Notification: Performance of remove unused functions: time 0.02401/14.75, allocations: 3.589 MB / 4.608 GB, free: 41.84 MB / 1.307 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (227): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.01197/14.77, allocations: 3.424 MB / 4.611 GB, free: 40.59 MB / 1.307 GB Notification: Performance of simCode: created initialization part: time 0.01363/14.78, allocations: 4.496 MB / 4.616 GB, free: 40 MB / 1.307 GB Notification: Performance of simCode: created event and clocks part: time 1.135e-05/14.78, allocations: 0 / 4.616 GB, free: 40 MB / 1.307 GB Notification: Performance of simCode: created simulation system equations: time 0.00305/14.78, allocations: 1.294 MB / 4.617 GB, free: 39.97 MB / 1.307 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01767/14.8, allocations: 2.71 MB / 4.619 GB, free: 39.95 MB / 1.307 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02336/14.82, allocations: 7.308 MB / 4.627 GB, free: 38.01 MB / 1.307 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00596/14.83, allocations: 3.01 MB / 4.63 GB, free: 37.21 MB / 1.307 GB Notification: Performance of simCode: alias equations: time 0.0118/14.84, allocations: 1.516 MB / 4.631 GB, free: 37.16 MB / 1.307 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001484/14.84, allocations: 322.3 kB / 4.631 GB, free: 37.16 MB / 1.307 GB Notification: Performance of SimCode: time 2.856e-06/14.84, allocations: 0 / 4.631 GB, free: 37.16 MB / 1.307 GB Notification: Performance of Templates: time 0.2401/15.08, allocations: 132.2 MB / 4.76 GB, free: 28.69 MB / 1.307 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_HeaterCooler_u.csv","../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches