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.546/1.546, allocations: 249.3 MB / 261.8 MB, free: 5.883 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00115/0.001149, allocations: 186.1 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.714/1.714, allocations: 205.1 MB / 0.572 GB, free: 10.67 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.0009059/0.0009058, allocations: 82.25 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.193e-05/3.202e-05, allocations: 4 kB / 0.7879 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2309, allocations: 106.3 MB / 0.8918 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.143/6.374, allocations: 2.212 GB / 3.104 GB, free: 117 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/6.375, allocations: 99.56 kB / 3.104 GB, free: 116.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.904/8.279, allocations: 467.9 MB / 3.561 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.502e-06/8.279, allocations: 0 / 3.561 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001693/8.279, allocations: 43.8 kB / 3.561 GB, free: 194.8 MB / 0.8698 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.004285/8.284, allocations: 1.776 MB / 3.563 GB, free: 194 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/8.284, allocations: 8.719 kB / 3.563 GB, free: 194 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003372/8.287, allocations: 457.8 kB / 3.563 GB, free: 193.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002223/8.289, allocations: 0.9815 MB / 3.564 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/8.289, allocations: 120.7 kB / 3.565 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002308/8.29, allocations: 151.2 kB / 3.565 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003143/8.293, allocations: 1.653 MB / 3.566 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.76e-05/8.293, allocations: 1.031 kB / 3.566 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001681/8.293, allocations: 72.03 kB / 3.566 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.964e-05/8.293, allocations: 39.83 kB / 3.566 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002687/8.296, allocations: 1.611 MB / 3.568 GB, free: 193.4 MB / 0.8698 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.008627/8.304, allocations: 5.918 MB / 3.574 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002156/8.307, allocations: 1.172 MB / 3.575 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009875/8.308, allocations: 0.5095 MB / 3.575 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001002/8.309, allocations: 0.8831 MB / 3.576 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001414/8.31, allocations: 0.7157 MB / 3.577 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=117): time 4.198e-06/8.31, allocations: 0 / 3.577 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=117): time 0.003341/8.313, allocations: 1.16 MB / 3.578 GB, free: 189.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001376/8.313, allocations: 247.9 kB / 3.578 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001876/8.315, allocations: 0.8706 MB / 3.579 GB, free: 189.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001714/8.316, allocations: 50.86 kB / 3.579 GB, free: 189.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007416/8.316, allocations: 0.6431 MB / 3.58 GB, free: 189 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004132/8.317, allocations: 395.2 kB / 3.58 GB, free: 188.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.497e-05/8.317, allocations: 20.78 kB / 3.58 GB, free: 188.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001228/8.317, allocations: 344.6 kB / 3.581 GB, free: 188.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008279/8.318, allocations: 370.6 kB / 3.581 GB, free: 188.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008427/8.319, allocations: 0.5283 MB / 3.581 GB, free: 188.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007317/8.319, allocations: 447.4 kB / 3.582 GB, free: 188.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/8.319, allocations: 4.5 kB / 3.582 GB, free: 188.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002598/8.322, allocations: 1.153 MB / 3.583 GB, free: 188.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.897e-05/8.322, allocations: 5.781 kB / 3.583 GB, free: 188.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/8.322, allocations: 1.219 kB / 3.583 GB, free: 188.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005896/8.323, allocations: 90.92 kB / 3.583 GB, free: 188.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/8.324, allocations: 265.7 kB / 3.583 GB, free: 188.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001954/8.326, allocations: 1.535 MB / 3.585 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001735/8.328, allocations: 154.9 kB / 3.585 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/8.328, allocations: 41.44 kB / 3.585 GB, free: 186.9 MB / 0.8698 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.0003809/8.328, allocations: 162 kB / 3.585 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002992/8.328, allocations: 136.2 kB / 3.585 GB, free: 186.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00333/8.332, allocations: 1.479 MB / 3.587 GB, free: 186.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.81e-05/8.332, allocations: 12.25 kB / 3.587 GB, free: 186.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/8.332, allocations: 1.281 kB / 3.587 GB, free: 186.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.477e-05/8.332, allocations: 7.688 kB / 3.587 GB, free: 186.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002461/8.334, allocations: 1.455 MB / 3.588 GB, free: 186.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/8.334, allocations: 0 / 3.588 GB, free: 186.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001274/8.336, allocations: 269 kB / 3.588 GB, free: 186.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005049/8.336, allocations: 82.95 kB / 3.589 GB, free: 186.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.931e-05/8.336, allocations: 39.41 kB / 3.589 GB, free: 186.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001583/8.338, allocations: 1.547 MB / 3.59 GB, free: 185.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/8.338, allocations: 1.312 kB / 3.59 GB, free: 185.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003613/8.341, allocations: 1.904 MB / 3.592 GB, free: 184.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00121/8.343, allocations: 418.1 kB / 3.592 GB, free: 184.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001988/8.343, allocations: 25.53 kB / 3.592 GB, free: 184.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/8.344, allocations: 124.9 kB / 3.592 GB, free: 184.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001981/8.344, allocations: 91.75 kB / 3.593 GB, free: 184.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001368/8.344, allocations: 56.22 kB / 3.593 GB, free: 184.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001193/8.346, allocations: 0.6951 MB / 3.593 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.9e-07/8.346, allocations: 0 / 3.593 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002455/8.348, allocations: 0.6405 MB / 3.594 GB, free: 184.5 MB / 0.8698 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) * 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.003243/8.351, allocations: 1.758 MB / 3.596 GB, free: 184 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002051/8.353, allocations: 1.11 MB / 3.597 GB, free: 183.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/8.353, allocations: 3.891 kB / 3.597 GB, free: 183.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001064/8.355, allocations: 0.6911 MB / 3.597 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002715/8.357, allocations: 495.8 kB / 3.598 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00543/8.363, allocations: 2.313 MB / 3.6 GB, free: 183.2 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006834/8.363, allocations: 1.323 MB / 3.601 GB, free: 182.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001943/8.365, allocations: 435.4 kB / 3.602 GB, free: 182.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003781/8.366, allocations: 140.7 kB / 3.602 GB, free: 182.5 MB / 0.8698 GB Notification: Performance of SimCode: time 8.51e-07/8.366, allocations: 9.469 kB / 3.602 GB, free: 182.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.05732/8.423, allocations: 42.93 MB / 3.644 GB, free: 181.1 MB / 0.8698 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