Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.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.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_latest_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_latest_Buildings.Fluid.Sources.Examples.Outside_Cp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.318/2.318, allocations: 390.3 MB / 402.8 MB, free: 6.719 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.001283/0.001283, allocations: 180.8 kB / 496.1 MB, free: 12.86 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.511/1.511, allocations: 221.3 MB / 0.7915 GB, free: 5.395 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.001052/0.001052, allocations: 95.75 kB / 0.9317 GB, free: 5.703 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.298e-05/2.302e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3516, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.494/5.846, allocations: 1.942 GB / 3.16 GB, free: 316.9 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002726/5.846, allocations: 86.55 kB / 3.16 GB, free: 316.9 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.868/7.714, allocations: 487.2 MB / 3.636 GB, free: 293.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.864e-06/7.714, allocations: 0 / 3.636 GB, free: 293.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001861/7.714, allocations: 49.12 kB / 3.636 GB, free: 293.1 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.004304/7.719, allocations: 1.792 MB / 3.638 GB, free: 291.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/7.719, allocations: 15.91 kB / 3.638 GB, free: 291.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003407/7.722, allocations: 450.9 kB / 3.638 GB, free: 291.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002297/7.724, allocations: 0.9815 MB / 3.639 GB, free: 290.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.537e-05/7.724, allocations: 121.5 kB / 3.64 GB, free: 290.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001938/7.725, allocations: 152.7 kB / 3.64 GB, free: 290.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002534/7.727, allocations: 1.64 MB / 3.641 GB, free: 289.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.165e-05/7.727, allocations: 7.25 kB / 3.641 GB, free: 289.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001404/7.727, allocations: 68.78 kB / 3.641 GB, free: 289.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.352e-05/7.727, allocations: 39.44 kB / 3.641 GB, free: 289.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002204/7.73, allocations: 1.624 MB / 3.643 GB, free: 288.9 MB / 1.167 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.007156/7.737, allocations: 5.773 MB / 3.649 GB, free: 284.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001691/7.738, allocations: 1.416 MB / 3.65 GB, free: 282.6 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006479/7.739, allocations: 0.5159 MB / 3.651 GB, free: 282.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007218/7.74, allocations: 0.8777 MB / 3.651 GB, free: 281 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009835/7.741, allocations: 0.7114 MB / 3.652 GB, free: 280.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=117): time 3.046e-06/7.741, allocations: 0 / 3.652 GB, free: 280.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=117): time 0.002434/7.743, allocations: 1.157 MB / 3.653 GB, free: 279.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.902e-05/7.743, allocations: 248.3 kB / 3.653 GB, free: 278.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/7.745, allocations: 0.8789 MB / 3.654 GB, free: 277.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001187/7.745, allocations: 56.98 kB / 3.654 GB, free: 277.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004079/7.745, allocations: 0.6344 MB / 3.655 GB, free: 277.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002405/7.745, allocations: 401.9 kB / 3.655 GB, free: 276.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.438e-05/7.745, allocations: 20 kB / 3.655 GB, free: 276.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.109e-05/7.745, allocations: 345.9 kB / 3.656 GB, free: 276.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005163/7.746, allocations: 369.9 kB / 3.656 GB, free: 276.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000606/7.747, allocations: 0.5298 MB / 3.657 GB, free: 275.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006234/7.747, allocations: 452.7 kB / 3.657 GB, free: 275.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/7.747, allocations: 0 / 3.657 GB, free: 275.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00211/7.749, allocations: 1.161 MB / 3.658 GB, free: 273.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/7.749, allocations: 8 kB / 3.658 GB, free: 273.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/7.749, allocations: 0 / 3.658 GB, free: 273.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005549/7.75, allocations: 88.95 kB / 3.658 GB, free: 273.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/7.751, allocations: 271.6 kB / 3.658 GB, free: 273.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001688/7.753, allocations: 1.539 MB / 3.66 GB, free: 271.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/7.754, allocations: 150.9 kB / 3.66 GB, free: 271.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.026e-05/7.754, allocations: 43.97 kB / 3.66 GB, free: 271.7 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 () * 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.0002544/7.754, allocations: 164.8 kB / 3.66 GB, free: 271.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000198/7.755, allocations: 130.4 kB / 3.66 GB, free: 271.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002776/7.757, allocations: 1.483 MB / 3.662 GB, free: 269.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.238e-06/7.757, allocations: 15.94 kB / 3.662 GB, free: 269.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/7.757, allocations: 0 / 3.662 GB, free: 269.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/7.757, allocations: 7.984 kB / 3.662 GB, free: 269.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004473/7.762, allocations: 3.035 MB / 3.665 GB, free: 266.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/7.762, allocations: 0 / 3.665 GB, free: 266.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001145/7.763, allocations: 263.7 kB / 3.665 GB, free: 266.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000468/7.764, allocations: 95.95 kB / 3.665 GB, free: 266.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.547e-05/7.764, allocations: 27.98 kB / 3.665 GB, free: 266.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001501/7.765, allocations: 1.555 MB / 3.667 GB, free: 264.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/7.765, allocations: 7.938 kB / 3.667 GB, free: 264.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002976/7.768, allocations: 1.97 MB / 3.669 GB, free: 262.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007748/7.769, allocations: 411 kB / 3.669 GB, free: 262.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001678/7.769, allocations: 24 kB / 3.669 GB, free: 262.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/7.77, allocations: 119.9 kB / 3.669 GB, free: 262.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001598/7.77, allocations: 85.19 kB / 3.669 GB, free: 262.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/7.771, allocations: 59.97 kB / 3.669 GB, free: 262.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008319/7.771, allocations: 0.6876 MB / 3.67 GB, free: 261.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.71e-07/7.771, allocations: 0 / 3.67 GB, free: 261.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001921/7.773, allocations: 0.6695 MB / 3.671 GB, free: 260.7 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) * 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.002861/7.776, allocations: 1.818 MB / 3.672 GB, free: 259.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001915/7.778, allocations: 1.113 MB / 3.674 GB, free: 258.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.443e-06/7.778, allocations: 4.438 kB / 3.674 GB, free: 258.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009285/7.779, allocations: 0.6893 MB / 3.674 GB, free: 257.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002474/7.782, allocations: 0.4988 MB / 3.675 GB, free: 256.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004929/7.786, allocations: 2.261 MB / 3.677 GB, free: 254.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006365/7.787, allocations: 1.315 MB / 3.678 GB, free: 253.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001839/7.789, allocations: 434.2 kB / 3.679 GB, free: 252.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003906/7.789, allocations: 143.4 kB / 3.679 GB, free: 252.7 MB / 1.167 GB Notification: Performance of SimCode: time 1.072e-06/7.789, allocations: 0 / 3.679 GB, free: 252.7 MB / 1.167 GB Notification: Performance of Templates: time 0.05419/7.844, allocations: 43.51 MB / 3.721 GB, free: 209.5 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches