Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.389/1.389, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001102/0.001102, allocations: 180.9 kB / 326.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.761/1.761, allocations: 205.4 MB / 0.5775 GB, free: 20.29 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008071/0.0008072, allocations: 96.56 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003439/0.0003439, allocations: 10.56 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.2542, allocations: 106.3 MB / 0.9001 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.835/6.089, allocations: 2.213 GB / 3.113 GB, free: 240.3 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003594/6.09, allocations: 87.67 kB / 3.113 GB, free: 240.3 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.472/7.562, allocations: 468.6 MB / 3.57 GB, free: 188.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.464e-06/7.562, allocations: 0 / 3.57 GB, free: 188.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002202/7.562, allocations: 45.64 kB / 3.57 GB, free: 188.2 MB / 0.8855 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.006019/7.568, allocations: 1.979 MB / 3.572 GB, free: 186.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/7.568, allocations: 8.031 kB / 3.572 GB, free: 186.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003611/7.572, allocations: 453.2 kB / 3.573 GB, free: 185.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003044/7.575, allocations: 0.9898 MB / 3.574 GB, free: 184.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001289/7.575, allocations: 119.1 kB / 3.574 GB, free: 184.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004619/7.575, allocations: 151.9 kB / 3.574 GB, free: 184.5 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004197/7.58, allocations: 1.703 MB / 3.576 GB, free: 182.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.741e-05/7.58, allocations: 7.938 kB / 3.576 GB, free: 182.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002935/7.58, allocations: 64 kB / 3.576 GB, free: 182.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.538e-05/7.58, allocations: 40 kB / 3.576 GB, free: 182.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003202/7.583, allocations: 1.701 MB / 3.577 GB, free: 180.9 MB / 0.8855 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.009786/7.593, allocations: 5.914 MB / 3.583 GB, free: 174.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002388/7.595, allocations: 1.258 MB / 3.584 GB, free: 173.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008376/7.596, allocations: 0.8879 MB / 3.585 GB, free: 172.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001364/7.598, allocations: 0.7603 MB / 3.586 GB, free: 171.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=117): time 5.189e-06/7.598, allocations: 0 / 3.586 GB, free: 171.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=117): time 0.004607/7.602, allocations: 1.79 MB / 3.588 GB, free: 169.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.494e-05/7.602, allocations: 248.3 kB / 3.588 GB, free: 169.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001618/7.604, allocations: 0.8819 MB / 3.589 GB, free: 168.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000194/7.604, allocations: 49.7 kB / 3.589 GB, free: 168.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005653/7.605, allocations: 0.6408 MB / 3.589 GB, free: 168 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003172/7.605, allocations: 397.4 kB / 3.59 GB, free: 167.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.743e-05/7.605, allocations: 20 kB / 3.59 GB, free: 167.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.206e-05/7.605, allocations: 349.9 kB / 3.59 GB, free: 167.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007416/7.606, allocations: 401.8 kB / 3.591 GB, free: 166.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008391/7.607, allocations: 0.5638 MB / 3.591 GB, free: 166.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008442/7.608, allocations: 481.4 kB / 3.592 GB, free: 165.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/7.608, allocations: 0 / 3.592 GB, free: 165.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002688/7.61, allocations: 1.235 MB / 3.593 GB, free: 164.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.991e-05/7.611, allocations: 7.984 kB / 3.593 GB, free: 164.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/7.611, allocations: 11.5 kB / 3.593 GB, free: 164.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00062/7.611, allocations: 84.91 kB / 3.593 GB, free: 164.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/7.612, allocations: 263.6 kB / 3.593 GB, free: 164.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001828/7.614, allocations: 1.547 MB / 3.595 GB, free: 162.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/7.616, allocations: 162.9 kB / 3.595 GB, free: 162.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001326/7.616, allocations: 43.97 kB / 3.595 GB, free: 162.2 MB / 0.8855 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.001018/7.617, allocations: 370.1 kB / 3.595 GB, free: 161.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004731/7.617, allocations: 126.5 kB / 3.595 GB, free: 161.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003385/7.621, allocations: 1.538 MB / 3.597 GB, free: 160.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/7.621, allocations: 19.95 kB / 3.597 GB, free: 160.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/7.621, allocations: 6.828 kB / 3.597 GB, free: 160.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/7.621, allocations: 7.984 kB / 3.597 GB, free: 160.2 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002369/7.623, allocations: 1.445 MB / 3.598 GB, free: 158.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/7.623, allocations: 4 kB / 3.598 GB, free: 158.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001245/7.624, allocations: 263.7 kB / 3.599 GB, free: 158.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005245/7.625, allocations: 88.7 kB / 3.599 GB, free: 158.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001106/7.625, allocations: 39.92 kB / 3.599 GB, free: 158.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001563/7.627, allocations: 1.571 MB / 3.6 GB, free: 156.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/7.627, allocations: 0 / 3.6 GB, free: 156.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003676/7.63, allocations: 2.014 MB / 3.602 GB, free: 154.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/7.631, allocations: 422.9 kB / 3.603 GB, free: 154.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000337/7.632, allocations: 32.28 kB / 3.603 GB, free: 154.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001448/7.633, allocations: 111.9 kB / 3.603 GB, free: 154 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001777/7.633, allocations: 89.19 kB / 3.603 GB, free: 153.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001651/7.634, allocations: 63.89 kB / 3.603 GB, free: 153.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001313/7.635, allocations: 0.6984 MB / 3.604 GB, free: 153.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.8e-07/7.635, allocations: 0 / 3.604 GB, free: 153.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00271/7.638, allocations: 0.6461 MB / 3.604 GB, free: 152.5 MB / 0.8855 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.conTimMin.tNext,weaDat.conTim.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.003895/7.642, allocations: 1.803 MB / 3.606 GB, free: 151.1 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00282/7.644, allocations: 1.187 MB / 3.607 GB, free: 149.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-05/7.645, allocations: 4.797 kB / 3.607 GB, free: 149.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001466/7.646, allocations: 0.7246 MB / 3.608 GB, free: 149.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002802/7.649, allocations: 0.4903 MB / 3.608 GB, free: 148.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007495/7.656, allocations: 3.65 MB / 3.612 GB, free: 145 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001076/7.657, allocations: 1.314 MB / 3.613 GB, free: 143.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002338/7.66, allocations: 440.6 kB / 3.614 GB, free: 143.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005294/7.66, allocations: 143.4 kB / 3.614 GB, free: 143.1 MB / 0.8855 GB Notification: Performance of SimCode: time 1.373e-06/7.66, allocations: 0 / 3.614 GB, free: 143.1 MB / 0.8855 GB Notification: Performance of Templates: time 0.05378/7.714, allocations: 39.43 MB / 3.652 GB, free: 103.9 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches