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.057/2.057, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.0009341/0.0009341, allocations: 184.8 kB / 487.4 MB, free: 5.047 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.294/1.294, allocations: 221.5 MB / 0.7824 GB, free: 1.012 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000875/0.000875, allocations: 103.3 kB / 0.9219 GB, free: 2.25 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.708e-05/1.712e-05, allocations: 8 kB / 1.067 GB, free: 185.8 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2229, allocations: 142.4 MB / 1.206 GB, free: 44.02 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.748/4.971, allocations: 1.94 GB / 3.146 GB, free: 345.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/4.971, allocations: 82.77 kB / 3.146 GB, free: 345.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.582/6.553, allocations: 481.6 MB / 3.617 GB, free: 302.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.914e-06/6.553, allocations: 0 / 3.617 GB, free: 302.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002058/6.553, allocations: 48.25 kB / 3.617 GB, free: 302.3 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.004832/6.558, allocations: 1.79 MB / 3.618 GB, free: 301.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/6.558, allocations: 10.97 kB / 3.618 GB, free: 301.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003455/6.562, allocations: 455.2 kB / 3.619 GB, free: 301.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002544/6.564, allocations: 0.978 MB / 3.62 GB, free: 301.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.142e-05/6.564, allocations: 52.66 kB / 3.62 GB, free: 301.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003181/6.565, allocations: 91.94 kB / 3.62 GB, free: 301.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002396/6.567, allocations: 1.515 MB / 3.621 GB, free: 301.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002212/6.569, allocations: 1.421 MB / 3.623 GB, free: 300.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.906e-05/6.569, allocations: 0 / 3.623 GB, free: 300.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001247/6.57, allocations: 10.2 kB / 3.623 GB, free: 300.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.848e-05/6.57, allocations: 44.88 kB / 3.623 GB, free: 300.9 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.007209/6.577, allocations: 5.469 MB / 3.628 GB, free: 298.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001536/6.578, allocations: 1.353 MB / 3.629 GB, free: 298.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005732/6.579, allocations: 494.8 kB / 3.63 GB, free: 298.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000733/6.58, allocations: 0.8879 MB / 3.631 GB, free: 297.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008787/6.581, allocations: 0.6663 MB / 3.631 GB, free: 296.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=117): time 3.457e-06/6.581, allocations: 0 / 3.631 GB, free: 296.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=117): time 0.002303/6.583, allocations: 1.11 MB / 3.633 GB, free: 296.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.52e-05/6.583, allocations: 250.5 kB / 3.633 GB, free: 296.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008007/6.584, allocations: 0.6734 MB / 3.633 GB, free: 296.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.511e-05/6.584, allocations: 29.55 kB / 3.633 GB, free: 296.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004358/6.584, allocations: 0.6466 MB / 3.634 GB, free: 295.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002556/6.585, allocations: 381 kB / 3.634 GB, free: 295.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.139e-05/6.585, allocations: 0 / 3.634 GB, free: 295.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.368e-05/6.585, allocations: 345 kB / 3.635 GB, free: 295.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000422/6.585, allocations: 345.7 kB / 3.635 GB, free: 294.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005242/6.586, allocations: 0.5159 MB / 3.636 GB, free: 294.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005636/6.586, allocations: 436.4 kB / 3.636 GB, free: 294.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/6.586, allocations: 3.281 kB / 3.636 GB, free: 294.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001852/6.588, allocations: 1.089 MB / 3.637 GB, free: 293.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/6.588, allocations: 3.625 kB / 3.637 GB, free: 293.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/6.588, allocations: 3.906 kB / 3.637 GB, free: 293.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005374/6.589, allocations: 86.09 kB / 3.637 GB, free: 293.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/6.59, allocations: 265.2 kB / 3.637 GB, free: 293.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001467/6.591, allocations: 1.474 MB / 3.639 GB, free: 292.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/6.592, allocations: 115.6 kB / 3.639 GB, free: 292.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.029e-05/6.593, allocations: 38.5 kB / 3.639 GB, free: 292.3 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.0002437/6.593, allocations: 130.8 kB / 3.639 GB, free: 292.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001717/6.593, allocations: 114.3 kB / 3.639 GB, free: 292.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002519/6.595, allocations: 1.366 MB / 3.641 GB, free: 291.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/6.595, allocations: 21.08 kB / 3.641 GB, free: 291.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/6.596, allocations: 0 / 3.641 GB, free: 291.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/6.596, allocations: 3.984 kB / 3.641 GB, free: 291.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004195/6.6, allocations: 2.748 MB / 3.643 GB, free: 289.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/6.6, allocations: 0 / 3.643 GB, free: 289.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001167/6.601, allocations: 265.6 kB / 3.644 GB, free: 289.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004632/6.601, allocations: 92.27 kB / 3.644 GB, free: 289.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.206e-05/6.601, allocations: 28.94 kB / 3.644 GB, free: 289.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001355/6.603, allocations: 1.487 MB / 3.645 GB, free: 288.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/6.603, allocations: 0 / 3.645 GB, free: 288.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002553/6.605, allocations: 1.874 MB / 3.647 GB, free: 287.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005949/6.606, allocations: 393.4 kB / 3.647 GB, free: 286.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001508/6.606, allocations: 0 / 3.647 GB, free: 286.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009646/6.607, allocations: 99.14 kB / 3.647 GB, free: 286.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/6.607, allocations: 81.73 kB / 3.648 GB, free: 286.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.935e-05/6.607, allocations: 56.02 kB / 3.648 GB, free: 286.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006172/6.608, allocations: 0.5366 MB / 3.648 GB, free: 286.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/6.608, allocations: 0 / 3.648 GB, free: 286.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001765/6.61, allocations: 0.6015 MB / 3.649 GB, free: 286.2 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.002841/6.613, allocations: 1.95 MB / 3.651 GB, free: 285.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001657/6.614, allocations: 1.051 MB / 3.652 GB, free: 285.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/6.614, allocations: 448 / 3.652 GB, free: 285.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0008491/6.615, allocations: 0.6615 MB / 3.652 GB, free: 284.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002066/6.617, allocations: 410.4 kB / 3.653 GB, free: 284.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004712/6.622, allocations: 2.197 MB / 3.655 GB, free: 283.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006591/6.623, allocations: 1.312 MB / 3.656 GB, free: 282.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001525/6.624, allocations: 412 kB / 3.656 GB, free: 282.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003495/6.625, allocations: 140.4 kB / 3.657 GB, free: 282.3 MB / 1.151 GB Notification: Performance of SimCode: time 9.51e-07/6.625, allocations: 0 / 3.657 GB, free: 282.3 MB / 1.151 GB Notification: Performance of Templates: time 0.04322/6.668, allocations: 28.95 MB / 3.685 GB, free: 258.7 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