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.333/2.333, allocations: 387.1 MB / 399.7 MB, free: 9.434 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.001062/0.001062, allocations: 169 kB / 492.3 MB, free: 0.5977 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.619/1.619, allocations: 221.3 MB / 0.7871 GB, free: 12.94 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.0009889/0.000989, allocations: 99.22 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.266e-05/3.276e-05, allocations: 7.984 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3001, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.642/5.942, allocations: 1.941 GB / 3.153 GB, free: 330.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003209/5.942, allocations: 91.27 kB / 3.153 GB, free: 330.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.586/7.528, allocations: 487.2 MB / 3.629 GB, free: 291.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.763e-06/7.528, allocations: 0 / 3.629 GB, free: 291.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001152/7.528, allocations: 51.83 kB / 3.629 GB, free: 291.2 MB / 1.151 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.003088/7.532, allocations: 1.792 MB / 3.631 GB, free: 290 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/7.532, allocations: 11.47 kB / 3.631 GB, free: 290 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002841/7.534, allocations: 447.4 kB / 3.631 GB, free: 289.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001758/7.536, allocations: 0.9845 MB / 3.632 GB, free: 289.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.706e-05/7.536, allocations: 124.1 kB / 3.632 GB, free: 289 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001848/7.537, allocations: 149.2 kB / 3.633 GB, free: 289 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002505/7.539, allocations: 1.65 MB / 3.634 GB, free: 288 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.168e-05/7.539, allocations: 0 / 3.634 GB, free: 288 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001399/7.539, allocations: 69.56 kB / 3.634 GB, free: 287.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.228e-05/7.539, allocations: 37.03 kB / 3.634 GB, free: 287.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002129/7.541, allocations: 1.626 MB / 3.636 GB, free: 287.2 MB / 1.151 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.00733/7.549, allocations: 5.775 MB / 3.641 GB, free: 282.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001717/7.55, allocations: 1.418 MB / 3.643 GB, free: 281.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006334/7.551, allocations: 0.5196 MB / 3.643 GB, free: 281.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007136/7.552, allocations: 0.8896 MB / 3.644 GB, free: 280.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009547/7.553, allocations: 0.7121 MB / 3.645 GB, free: 280.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=117): time 3.607e-06/7.553, allocations: 0 / 3.645 GB, free: 280.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=117): time 0.002561/7.555, allocations: 1.159 MB / 3.646 GB, free: 279.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.819e-05/7.555, allocations: 247 kB / 3.646 GB, free: 279.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/7.557, allocations: 0.8838 MB / 3.647 GB, free: 278.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001193/7.557, allocations: 51.98 kB / 3.647 GB, free: 278.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004643/7.557, allocations: 0.6402 MB / 3.648 GB, free: 278.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002587/7.558, allocations: 390.5 kB / 3.648 GB, free: 277.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.237e-05/7.558, allocations: 19.84 kB / 3.648 GB, free: 277.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.602e-05/7.558, allocations: 348 kB / 3.649 GB, free: 277.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004984/7.558, allocations: 369.9 kB / 3.649 GB, free: 277.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000634/7.559, allocations: 0.5347 MB / 3.649 GB, free: 277 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006403/7.56, allocations: 447.8 kB / 3.65 GB, free: 276.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/7.56, allocations: 0 / 3.65 GB, free: 276.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00207/7.562, allocations: 1.157 MB / 3.651 GB, free: 276.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/7.562, allocations: 9.094 kB / 3.651 GB, free: 276.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/7.562, allocations: 0 / 3.651 GB, free: 276.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005607/7.562, allocations: 87.77 kB / 3.651 GB, free: 276.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/7.563, allocations: 270.6 kB / 3.651 GB, free: 275.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001667/7.565, allocations: 1.537 MB / 3.653 GB, free: 274.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/7.566, allocations: 152.4 kB / 3.653 GB, free: 274.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-05/7.567, allocations: 39.98 kB / 3.653 GB, free: 274 MB / 1.151 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.0003019/7.567, allocations: 175.7 kB / 3.653 GB, free: 273.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002185/7.567, allocations: 130.4 kB / 3.653 GB, free: 273.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002747/7.57, allocations: 1.482 MB / 3.655 GB, free: 272.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/7.57, allocations: 12 kB / 3.655 GB, free: 272.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/7.57, allocations: 4 kB / 3.655 GB, free: 272.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/7.57, allocations: 3.984 kB / 3.655 GB, free: 272.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004571/7.574, allocations: 3.034 MB / 3.658 GB, free: 269.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/7.574, allocations: 3.938 kB / 3.658 GB, free: 269.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/7.576, allocations: 267.2 kB / 3.658 GB, free: 268.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000477/7.576, allocations: 88.27 kB / 3.658 GB, free: 268.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.181e-05/7.576, allocations: 31.97 kB / 3.658 GB, free: 268.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001477/7.578, allocations: 1.555 MB / 3.66 GB, free: 267.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/7.578, allocations: 0 / 3.66 GB, free: 267.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00304/7.581, allocations: 1.984 MB / 3.662 GB, free: 265.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008447/7.582, allocations: 407 kB / 3.662 GB, free: 264.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003225/7.582, allocations: 28 kB / 3.662 GB, free: 264.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001308/7.583, allocations: 115.7 kB / 3.662 GB, free: 264.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001737/7.584, allocations: 85.19 kB / 3.662 GB, free: 264.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001326/7.584, allocations: 59.8 kB / 3.662 GB, free: 264.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001075/7.585, allocations: 0.6915 MB / 3.663 GB, free: 263.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.7e-07/7.585, allocations: 0 / 3.663 GB, free: 263.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002166/7.587, allocations: 0.6714 MB / 3.664 GB, free: 263.1 MB / 1.151 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.003644/7.591, allocations: 1.806 MB / 3.665 GB, free: 261.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002069/7.593, allocations: 1.113 MB / 3.666 GB, free: 260.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/7.593, allocations: 448 / 3.666 GB, free: 260.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0009996/7.594, allocations: 0.6886 MB / 3.667 GB, free: 259.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002533/7.596, allocations: 0.4939 MB / 3.668 GB, free: 259.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005344/7.602, allocations: 2.269 MB / 3.67 GB, free: 257 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000923/7.603, allocations: 1.314 MB / 3.671 GB, free: 255.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002001/7.605, allocations: 432.8 kB / 3.671 GB, free: 255.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005101/7.605, allocations: 147.4 kB / 3.672 GB, free: 255.1 MB / 1.151 GB Notification: Performance of SimCode: time 1.122e-06/7.605, allocations: 0 / 3.672 GB, free: 255.1 MB / 1.151 GB Notification: Performance of Templates: time 0.05807/7.663, allocations: 43.51 MB / 3.714 GB, free: 212.1 MB / 1.151 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