Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bou1.ports.1..p|bou2.ports.1..p|bouFix.ports.1..p|ori1.m_flow|ori2.m_flow|ori1.dp|ori2.dp",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp") translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bou1.ports.1..p|bou2.ports.1..p|bouFix.ports.1..p|ori1.m_flow|ori2.m_flow|ori1.dp|ori2.dp",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.394/2.394, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001374/0.001374, allocations: 167.1 kB / 498.1 MB, free: 5.738 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.59/1.59, allocations: 223.2 MB / 0.7948 GB, free: 17.87 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.0009433/0.0009433, allocations: 96.31 kB / 0.9346 GB, free: 6.176 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003954/0.0003955, allocations: 10.44 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3382, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.75/5.089, allocations: 1.941 GB / 3.164 GB, free: 71.13 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002942/5.089, allocations: 87.95 kB / 3.164 GB, free: 71.04 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.845/6.934, allocations: 487.8 MB / 3.64 GB, free: 50.04 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.144e-06/6.934, allocations: 3.938 kB / 3.64 GB, free: 50.04 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002512/6.934, allocations: 47.92 kB / 3.64 GB, free: 49.99 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.00692/6.941, allocations: 1.981 MB / 3.642 GB, free: 47.95 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/6.941, allocations: 8.031 kB / 3.642 GB, free: 47.95 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003773/6.945, allocations: 453.3 kB / 3.643 GB, free: 47.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003164/6.948, allocations: 0.9893 MB / 3.644 GB, free: 46.46 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001359/6.948, allocations: 119.1 kB / 3.644 GB, free: 46.35 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005412/6.949, allocations: 156 kB / 3.644 GB, free: 46.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004447/6.953, allocations: 1.7 MB / 3.646 GB, free: 44.41 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-05/6.953, allocations: 0 / 3.646 GB, free: 44.41 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003046/6.954, allocations: 68 kB / 3.646 GB, free: 44.34 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.568e-05/6.954, allocations: 40 kB / 3.646 GB, free: 44.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003356/6.957, allocations: 1.713 MB / 3.647 GB, free: 42.58 MB / 1.167 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.01064/6.968, allocations: 5.784 MB / 3.653 GB, free: 36.54 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002654/6.97, allocations: 1.501 MB / 3.654 GB, free: 34.98 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009479/6.971, allocations: 0.8867 MB / 3.655 GB, free: 33.91 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001446/6.973, allocations: 0.7426 MB / 3.656 GB, free: 33.15 MB / 1.167 GB Notification: Performance of pre-optimization done (n=117): time 5.35e-06/6.973, allocations: 0 / 3.656 GB, free: 33.15 MB / 1.167 GB Notification: Performance of matching and sorting (n=117): time 0.005026/6.978, allocations: 1.814 MB / 3.658 GB, free: 31.31 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/6.978, allocations: 248.3 kB / 3.658 GB, free: 31.01 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002128/6.98, allocations: 0.8898 MB / 3.659 GB, free: 30.11 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001905/6.98, allocations: 49.7 kB / 3.659 GB, free: 30.05 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006799/6.981, allocations: 0.6331 MB / 3.66 GB, free: 29.41 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003495/6.981, allocations: 394.2 kB / 3.66 GB, free: 29.02 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.94e-05/6.982, allocations: 20 kB / 3.66 GB, free: 29 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.911e-05/6.982, allocations: 349.9 kB / 3.66 GB, free: 28.65 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007832/6.982, allocations: 401.8 kB / 3.661 GB, free: 28.26 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008876/6.983, allocations: 0.5715 MB / 3.661 GB, free: 27.63 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008626/6.984, allocations: 478.8 kB / 3.662 GB, free: 27.17 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/6.984, allocations: 0 / 3.662 GB, free: 27.17 MB / 1.167 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002879/6.987, allocations: 1.239 MB / 3.663 GB, free: 25.92 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.955e-05/6.987, allocations: 4 kB / 3.663 GB, free: 25.91 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/6.987, allocations: 7.922 kB / 3.663 GB, free: 25.91 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006298/6.988, allocations: 88.86 kB / 3.663 GB, free: 25.82 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/6.989, allocations: 267.6 kB / 3.663 GB, free: 25.55 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001903/6.991, allocations: 1.551 MB / 3.665 GB, free: 23.86 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001532/6.992, allocations: 155 kB / 3.665 GB, free: 23.71 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001311/6.993, allocations: 43.97 kB / 3.665 GB, free: 23.67 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 122 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001079/6.994, allocations: 361.6 kB / 3.665 GB, free: 23.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004922/6.994, allocations: 130.4 kB / 3.665 GB, free: 23.18 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003639/6.998, allocations: 1.558 MB / 3.667 GB, free: 21.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/6.998, allocations: 12 kB / 3.667 GB, free: 21.59 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/6.998, allocations: 0 / 3.667 GB, free: 21.59 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/6.998, allocations: 7.969 kB / 3.667 GB, free: 21.58 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006518/7.004, allocations: 3.123 MB / 3.67 GB, free: 18.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/7.004, allocations: 0 / 3.67 GB, free: 18.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001245/7.006, allocations: 263.7 kB / 3.67 GB, free: 18.14 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005341/7.006, allocations: 92.67 kB / 3.67 GB, free: 18.05 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001117/7.006, allocations: 31.97 kB / 3.67 GB, free: 18.02 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001657/7.008, allocations: 1.575 MB / 3.672 GB, free: 16.31 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/7.008, allocations: 0 / 3.672 GB, free: 16.31 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004006/7.012, allocations: 2.094 MB / 3.674 GB, free: 14.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00121/7.013, allocations: 414.9 kB / 3.674 GB, free: 13.77 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004383/7.014, allocations: 27.98 kB / 3.674 GB, free: 13.74 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001613/7.015, allocations: 119.9 kB / 3.675 GB, free: 13.62 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002015/7.016, allocations: 77.2 kB / 3.675 GB, free: 13.55 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001596/7.016, allocations: 59.95 kB / 3.675 GB, free: 13.49 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001351/7.017, allocations: 0.7023 MB / 3.675 GB, free: 12.78 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.1e-07/7.017, allocations: 0 / 3.675 GB, free: 12.78 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002895/7.02, allocations: 0.6664 MB / 3.676 GB, free: 12.11 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ori1.mExc,ori2.mExc) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004163/7.024, allocations: 1.84 MB / 3.678 GB, free: 10.41 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002808/7.027, allocations: 1.191 MB / 3.679 GB, free: 9.203 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/7.027, allocations: 4.438 kB / 3.679 GB, free: 9.199 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.00139/7.028, allocations: 0.7324 MB / 3.68 GB, free: 8.453 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002848/7.031, allocations: 0.4971 MB / 3.68 GB, free: 7.965 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007781/7.039, allocations: 3.594 MB / 3.684 GB, free: 4.34 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007735/7.04, allocations: 1.318 MB / 3.685 GB, free: 2.988 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002072/7.042, allocations: 430.1 kB / 3.685 GB, free: 2.562 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004748/7.043, allocations: 143.4 kB / 3.685 GB, free: 2.422 MB / 1.167 GB Notification: Performance of SimCode: time 2.745e-06/7.043, allocations: 0 / 3.685 GB, free: 2.422 MB / 1.167 GB Notification: Performance of Templates: time 0.8231/7.866, allocations: 40 MB / 3.725 GB, free: 313 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches