Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.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.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixBox.damOAMin.m_flow|mixBox.damOA.m_flow|mixBox.damExh.m_flow|mixBox.damRec.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixBox.damOAMin.m_flow|mixBox.damOA.m_flow|mixBox.damExh.m_flow|mixBox.damRec.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.432/1.432, allocations: 249.3 MB / 261.8 MB, free: 5.957 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.001019/0.001019, allocations: 184.9 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.279/1.279, allocations: 205.2 MB / 0.572 GB, free: 10.61 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.0008911/0.0008911, allocations: 86.48 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.259e-05/3.262e-05, allocations: 4 kB / 0.7879 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2062, allocations: 106.3 MB / 0.8918 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.211/5.417, allocations: 2.203 GB / 3.094 GB, free: 165.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003505/5.418, allocations: 95.94 kB / 3.094 GB, free: 165 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.49/7.908, allocations: 0.72 GB / 3.814 GB, free: 92.08 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.462e-06/7.908, allocations: 0 / 3.814 GB, free: 92.08 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001255/7.908, allocations: 48.05 kB / 3.814 GB, free: 92.03 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: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.003381/7.911, allocations: 1.568 MB / 3.816 GB, free: 90.41 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/7.911, allocations: 15.97 kB / 3.816 GB, free: 90.39 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002641/7.914, allocations: 310.5 kB / 3.816 GB, free: 90.09 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002471/7.917, allocations: 1.337 MB / 3.818 GB, free: 88.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.773e-05/7.917, allocations: 61.25 kB / 3.818 GB, free: 88.64 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001436/7.917, allocations: 87.91 kB / 3.818 GB, free: 88.56 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/7.918, allocations: 0.8872 MB / 3.819 GB, free: 87.64 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/7.918, allocations: 0 / 3.819 GB, free: 87.64 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.312e-05/7.918, allocations: 24 kB / 3.819 GB, free: 87.61 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/7.918, allocations: 16 kB / 3.819 GB, free: 87.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/7.919, allocations: 0.7665 MB / 3.819 GB, free: 86.83 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.004863/7.924, allocations: 3.559 MB / 3.823 GB, free: 83.11 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009115/7.925, allocations: 0.7375 MB / 3.824 GB, free: 82.34 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004663/7.925, allocations: 406 kB / 3.824 GB, free: 81.95 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003491/7.926, allocations: 291.7 kB / 3.824 GB, free: 81.61 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/7.926, allocations: 39 kB / 3.824 GB, free: 81.56 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001352/7.927, allocations: 343.1 kB / 3.825 GB, free: 81.22 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=52): time 2.755e-06/7.927, allocations: 0 / 3.825 GB, free: 81.22 MB / 0.8698 GB Notification: Performance of matching and sorting (n=52): time 0.001503/7.929, allocations: 0.8809 MB / 3.825 GB, free: 80.33 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.191e-05/7.929, allocations: 222 kB / 3.826 GB, free: 80.07 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001697/7.931, allocations: 1.428 MB / 3.827 GB, free: 78.63 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.033e-05/7.931, allocations: 41.7 kB / 3.827 GB, free: 78.58 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003527/7.931, allocations: 0.5585 MB / 3.828 GB, free: 78.01 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/7.931, allocations: 185.3 kB / 3.828 GB, free: 77.83 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.256e-05/7.931, allocations: 8 kB / 3.828 GB, free: 77.82 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.058e-05/7.931, allocations: 330 kB / 3.828 GB, free: 77.49 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004212/7.932, allocations: 329 kB / 3.828 GB, free: 77.17 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006095/7.932, allocations: 0.655 MB / 3.829 GB, free: 76.39 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004965/7.933, allocations: 410 kB / 3.83 GB, free: 75.99 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/7.933, allocations: 4 kB / 3.83 GB, free: 75.98 MB / 0.8698 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001301/7.934, allocations: 0.9503 MB / 3.83 GB, free: 75.02 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.936e-05/7.934, allocations: 105.4 kB / 3.831 GB, free: 74.91 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.175e-05/7.934, allocations: 4 kB / 3.831 GB, free: 74.91 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/7.934, allocations: 4 kB / 3.831 GB, free: 74.91 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008153/7.935, allocations: 159.8 kB / 3.831 GB, free: 74.75 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/7.935, allocations: 4 kB / 3.831 GB, free: 74.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001522/7.937, allocations: 151.7 kB / 3.831 GB, free: 74.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/7.937, allocations: 43.95 kB / 3.831 GB, free: 74.55 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/7.937, allocations: 4 kB / 3.831 GB, free: 74.55 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001161/7.938, allocations: 0.7862 MB / 3.832 GB, free: 73.76 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/7.938, allocations: 8.312 kB / 3.832 GB, free: 73.75 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.424e-06/7.938, allocations: 7.891 kB / 3.832 GB, free: 73.75 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007089/7.939, allocations: 163.7 kB / 3.832 GB, free: 73.59 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/7.939, allocations: 3.938 kB / 3.832 GB, free: 73.58 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001829/7.94, allocations: 151.6 kB / 3.832 GB, free: 73.43 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.592e-05/7.941, allocations: 47.94 kB / 3.832 GB, free: 73.39 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 57 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002367/7.941, allocations: 140.9 kB / 3.832 GB, free: 73.24 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002553/7.941, allocations: 134.3 kB / 3.832 GB, free: 73.11 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00197/7.943, allocations: 0.9689 MB / 3.833 GB, free: 72.14 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/7.943, allocations: 7.953 kB / 3.833 GB, free: 72.13 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/7.943, allocations: 0 / 3.833 GB, free: 72.13 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/7.943, allocations: 7.984 kB / 3.833 GB, free: 72.12 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 postOpt removeSimpleEquations (simulation): time 0.003208/7.946, allocations: 2.405 MB / 3.836 GB, free: 69.61 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/7.946, allocations: 8 kB / 3.836 GB, free: 69.61 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006778/7.947, allocations: 140.1 kB / 3.836 GB, free: 69.47 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.799e-06/7.947, allocations: 8 kB / 3.836 GB, free: 69.46 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.884e-05/7.947, allocations: 19.98 kB / 3.836 GB, free: 69.44 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/7.947, allocations: 4 kB / 3.836 GB, free: 69.44 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/7.947, allocations: 7.938 kB / 3.836 GB, free: 69.43 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001594/7.949, allocations: 1.553 MB / 3.837 GB, free: 67.76 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005841/7.949, allocations: 367.2 kB / 3.838 GB, free: 67.38 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001777/7.95, allocations: 16 kB / 3.838 GB, free: 67.36 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001176/7.951, allocations: 111.7 kB / 3.838 GB, free: 67.25 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/7.951, allocations: 44.38 kB / 3.838 GB, free: 67.21 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.327e-05/7.951, allocations: 27.98 kB / 3.838 GB, free: 67.18 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001298/7.952, allocations: 1.123 MB / 3.839 GB, free: 66.06 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.7e-07/7.952, allocations: 0 / 3.839 GB, free: 66.06 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002113/7.954, allocations: 0.7453 MB / 3.84 GB, free: 65.31 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (mixBox.filter.x[1],mixBox.filter.x[2],mixBox.filterOutMin.x[1],mixBox.filterOutMin.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002235/7.957, allocations: 1.909 MB / 3.842 GB, free: 63.32 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001716/7.958, allocations: 1.321 MB / 3.843 GB, free: 61.97 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/7.958, allocations: 0 / 3.843 GB, free: 61.97 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004494/7.959, allocations: 378.2 kB / 3.843 GB, free: 61.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002797/7.962, allocations: 0.5954 MB / 3.844 GB, free: 61.01 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00285/7.964, allocations: 1.681 MB / 3.845 GB, free: 59.27 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005319/7.965, allocations: 1.199 MB / 3.847 GB, free: 58.04 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002274/7.967, allocations: 0.5258 MB / 3.847 GB, free: 57.51 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002729/7.968, allocations: 95.38 kB / 3.847 GB, free: 57.42 MB / 0.8698 GB Notification: Performance of SimCode: time 1.553e-06/7.968, allocations: 4 kB / 3.847 GB, free: 57.41 MB / 0.8698 GB Notification: Performance of Templates: time 0.06314/8.031, allocations: 55.2 MB / 3.901 GB, free: 2.359 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches