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.649/2.649, allocations: 390.5 MB / 398 MB, free: 10.95 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.001588/0.001588, allocations: 180.9 kB / 491.2 MB, free: 1.574 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.765/1.765, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.0009749/0.000975, allocations: 95.58 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.134e-05/2.127e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.311, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.312/1.623, allocations: 422 MB / 1.624 GB, free: 8.984 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000402/1.623, allocations: 95.44 kB / 1.624 GB, free: 8.938 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 11.45/13.07, allocations: 2.786 GB / 4.41 GB, free: 76.85 MB / 1.26 GB Notification: Performance of FrontEnd: time 3.908e-06/13.07, allocations: 2.906 kB / 4.41 GB, free: 76.85 MB / 1.26 GB Notification: Performance of Transformations before backend: time 0.001543/13.07, allocations: 170.3 kB / 4.41 GB, free: 76.82 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.02485/13.1, allocations: 5.915 MB / 4.416 GB, free: 73.34 MB / 1.26 GB Notification: Performance of prepare preOptimizeDAE: time 5.952e-05/13.1, allocations: 11.5 kB / 4.416 GB, free: 73.34 MB / 1.26 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005982/13.1, allocations: 0.7886 MB / 4.417 GB, free: 72.96 MB / 1.26 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1376/13.24, allocations: 60.5 MB / 4.476 GB, free: 29.59 MB / 1.26 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000435/13.24, allocations: 128 kB / 4.476 GB, free: 29.46 MB / 1.26 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002236/13.25, allocations: 255.9 kB / 4.476 GB, free: 29.21 MB / 1.26 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0105/13.26, allocations: 2.519 MB / 4.479 GB, free: 26.69 MB / 1.26 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01493/13.27, allocations: 3.614 MB / 4.482 GB, free: 22.8 MB / 1.26 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003561/13.27, allocations: 11.88 kB / 4.482 GB, free: 22.79 MB / 1.26 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001892/13.27, allocations: 12.52 kB / 4.482 GB, free: 22.78 MB / 1.26 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002298/13.27, allocations: 119.9 kB / 4.482 GB, free: 22.66 MB / 1.26 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.04414/13.32, allocations: 23.38 MB / 4.505 GB, free: 13.7 MB / 1.276 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004588/13.32, allocations: 2.836 MB / 4.508 GB, free: 10.66 MB / 1.276 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002055/13.32, allocations: 0.9949 MB / 4.509 GB, free: 9.66 MB / 1.276 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004885/13.33, allocations: 3.935 MB / 4.513 GB, free: 4.859 MB / 1.276 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001141/13.33, allocations: 68.52 kB / 4.513 GB, free: 4.781 MB / 1.276 GB Notification: Performance of pre-optimization done (n=225): time 6.131e-06/13.33, allocations: 0 / 4.513 GB, free: 4.781 MB / 1.276 GB Notification: Performance of matching and sorting (n=225): time 0.01207/13.34, allocations: 2.893 MB / 4.516 GB, free: 1.863 MB / 1.276 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.046e-05/13.34, allocations: 85.28 kB / 4.516 GB, free: 1.77 MB / 1.276 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01238/13.35, allocations: 3.305 MB / 4.519 GB, free: 14.5 MB / 1.292 GB Notification: Performance of collectPreVariables (initialization): time 0.0008017/13.35, allocations: 29.7 kB / 4.519 GB, free: 14.46 MB / 1.292 GB Notification: Performance of collectInitialEqns (initialization): time 0.003584/13.36, allocations: 2.789 MB / 4.522 GB, free: 11.64 MB / 1.292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001604/13.36, allocations: 0.7582 MB / 4.522 GB, free: 10.87 MB / 1.292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003392/13.36, allocations: 4 kB / 4.522 GB, free: 10.87 MB / 1.292 GB Notification: Performance of setup shared object (initialization): time 0.0003281/13.36, allocations: 410 kB / 4.523 GB, free: 10.46 MB / 1.292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001704/13.36, allocations: 0.7278 MB / 4.524 GB, free: 9.734 MB / 1.292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003006/13.37, allocations: 1.695 MB / 4.525 GB, free: 7.594 MB / 1.292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006066/13.37, allocations: 1.372 MB / 4.527 GB, free: 6.227 MB / 1.292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.403e-05/13.37, allocations: 4 kB / 4.527 GB, free: 6.223 MB / 1.292 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.01561/13.39, allocations: 3.47 MB / 4.53 GB, free: 2.727 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 1.333/14.72, allocations: 10.31 MB / 4.54 GB, free: 89.94 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001177/14.72, allocations: 27.58 kB / 4.54 GB, free: 89.93 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001339/14.72, allocations: 337.9 kB / 4.54 GB, free: 89.9 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002671/14.72, allocations: 0.5236 MB / 4.541 GB, free: 89.9 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002367/14.73, allocations: 2.754 MB / 4.544 GB, free: 87.84 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007376/14.73, allocations: 496.8 kB / 4.544 GB, free: 87.83 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00085/14.74, allocations: 131.6 kB / 4.544 GB, free: 87.83 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/14.74, allocations: 4.469 kB / 4.544 GB, free: 87.83 MB / 1.292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008555/14.74, allocations: 2.761 MB / 4.547 GB, free: 87.77 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-05/14.74, allocations: 23.47 kB / 4.547 GB, free: 87.77 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/14.74, allocations: 357.2 kB / 4.547 GB, free: 87.74 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001946/14.75, allocations: 0.5196 MB / 4.548 GB, free: 87.74 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008319/14.76, allocations: 7.397 MB / 4.555 GB, free: 82.45 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006593/14.76, allocations: 457 kB / 4.555 GB, free: 82.45 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006878/14.76, allocations: 126.3 kB / 4.555 GB, free: 82.45 MB / 1.292 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.0009364/14.76, allocations: 183.6 kB / 4.556 GB, free: 82.35 MB / 1.292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002115/14.77, allocations: 0.5035 MB / 4.556 GB, free: 82.31 MB / 1.292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009985/14.78, allocations: 3.763 MB / 4.56 GB, free: 82.03 MB / 1.292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.848e-05/14.78, allocations: 37.98 kB / 4.56 GB, free: 82.03 MB / 1.292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/14.78, allocations: 1.094 kB / 4.56 GB, free: 82.03 MB / 1.292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006397/14.78, allocations: 2.633 MB / 4.562 GB, free: 81.83 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 postOpt removeSimpleEquations (simulation): time 0.0218/14.8, allocations: 8.098 MB / 4.57 GB, free: 80.4 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.414e-05/14.8, allocations: 3.656 kB / 4.57 GB, free: 80.4 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001629/14.81, allocations: 386.4 kB / 4.571 GB, free: 80.4 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005672/14.81, allocations: 225.1 kB / 4.571 GB, free: 80.37 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001604/14.81, allocations: 40.89 kB / 4.571 GB, free: 80.37 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001692/14.81, allocations: 2.502 MB / 4.573 GB, free: 78.29 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/14.81, allocations: 4.953 kB / 4.573 GB, free: 78.28 MB / 1.292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01193/14.82, allocations: 4.714 MB / 4.578 GB, free: 77.53 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004593/14.82, allocations: 0.979 MB / 4.579 GB, free: 77.16 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001768/14.83, allocations: 5.062 kB / 4.579 GB, free: 77.16 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005216/14.83, allocations: 401.2 kB / 4.579 GB, free: 77.14 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003788/14.83, allocations: 160.2 kB / 4.58 GB, free: 77.14 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003887/14.83, allocations: 113 kB / 4.58 GB, free: 77.14 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.005859/14.84, allocations: 2.449 MB / 4.582 GB, free: 76.96 MB / 1.292 GB Notification: Performance of sort global known variables: time 8.42e-07/14.84, allocations: 0 / 4.582 GB, free: 76.96 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.01906/14.86, allocations: 3.45 MB / 4.585 GB, free: 76.77 MB / 1.292 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.007307/14.86, allocations: 3.428 MB / 4.589 GB, free: 75.57 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.009027/14.87, allocations: 4.248 MB / 4.593 GB, free: 75.04 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 1.486e-05/14.87, allocations: 4.406 kB / 4.593 GB, free: 75.04 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.00228/14.88, allocations: 1.231 MB / 4.594 GB, free: 75.02 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01658/14.89, allocations: 2.619 MB / 4.597 GB, free: 75 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01664/14.91, allocations: 7.167 MB / 4.604 GB, free: 73.07 MB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002803/14.91, allocations: 3.005 MB / 4.607 GB, free: 72.27 MB / 1.292 GB Notification: Performance of simCode: alias equations: time 0.0091/14.92, allocations: 1.493 MB / 4.608 GB, free: 72.22 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007788/14.92, allocations: 322.7 kB / 4.608 GB, free: 72.22 MB / 1.292 GB Notification: Performance of SimCode: time 1.433e-06/14.92, allocations: 0 / 4.608 GB, free: 72.22 MB / 1.292 GB Notification: Performance of Templates: time 0.2118/15.13, allocations: 114.3 MB / 4.72 GB, free: 64.49 MB / 1.292 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