Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.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.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_9_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_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.415/2.415, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001095/0.001095, allocations: 180.8 kB / 487.4 MB, free: 5.031 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.515/1.515, allocations: 221.5 MB / 0.7824 GB, free: 0.9727 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.0009172/0.0009171, allocations: 87.92 kB / 0.9219 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.716e-05/1.72e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2773, allocations: 142.4 MB / 1.206 GB, free: 43.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.732/6.009, allocations: 1.916 GB / 3.122 GB, free: 353.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002932/6.01, allocations: 92.5 kB / 3.122 GB, free: 353.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.128/8.137, allocations: 0.7417 GB / 3.864 GB, free: 75.61 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.663e-06/8.137, allocations: 0 / 3.864 GB, free: 75.61 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002001/8.138, allocations: 32.12 kB / 3.864 GB, free: 75.58 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.004367/8.142, allocations: 1.517 MB / 3.865 GB, free: 74.02 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/8.142, allocations: 12.03 kB / 3.865 GB, free: 74 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003162/8.145, allocations: 297.9 kB / 3.865 GB, free: 73.71 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003071/8.148, allocations: 1.248 MB / 3.867 GB, free: 72.41 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.094e-05/8.148, allocations: 20 kB / 3.867 GB, free: 72.39 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002434/8.149, allocations: 52 kB / 3.867 GB, free: 72.34 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001278/8.15, allocations: 0.7366 MB / 3.867 GB, free: 71.61 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/8.151, allocations: 0.6871 MB / 3.868 GB, free: 70.91 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/8.151, allocations: 0 / 3.868 GB, free: 70.91 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.173e-05/8.151, allocations: 0 / 3.868 GB, free: 70.91 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.762e-05/8.151, allocations: 25.31 kB / 3.868 GB, free: 70.89 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.006204/8.157, allocations: 3.41 MB / 3.872 GB, free: 67.33 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008795/8.158, allocations: 0.7443 MB / 3.872 GB, free: 66.55 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004518/8.159, allocations: 394.4 kB / 3.873 GB, free: 66.17 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003673/8.159, allocations: 300.1 kB / 3.873 GB, free: 65.82 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/8.159, allocations: 39.12 kB / 3.873 GB, free: 65.77 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001519/8.161, allocations: 299.4 kB / 3.873 GB, free: 65.48 MB / 1.151 GB Notification: Performance of pre-optimization done (n=55): time 4.759e-06/8.161, allocations: 8 kB / 3.873 GB, free: 65.47 MB / 1.151 GB Notification: Performance of matching and sorting (n=55): time 0.001862/8.163, allocations: 0.8801 MB / 3.874 GB, free: 64.58 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/8.163, allocations: 59.91 kB / 3.874 GB, free: 64.51 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001943/8.165, allocations: 1.226 MB / 3.875 GB, free: 63.28 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001259/8.165, allocations: 25.7 kB / 3.875 GB, free: 63.25 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003713/8.165, allocations: 0.5317 MB / 3.876 GB, free: 62.71 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001553/8.165, allocations: 189.2 kB / 3.876 GB, free: 62.52 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.344e-05/8.165, allocations: 4 kB / 3.876 GB, free: 62.52 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.481e-05/8.165, allocations: 322 kB / 3.876 GB, free: 62.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003803/8.166, allocations: 312.9 kB / 3.877 GB, free: 61.89 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000564/8.166, allocations: 0.5816 MB / 3.877 GB, free: 61.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005273/8.167, allocations: 391.9 kB / 3.878 GB, free: 60.82 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/8.167, allocations: 112 / 3.878 GB, free: 60.82 MB / 1.151 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001441/8.168, allocations: 0.8722 MB / 3.878 GB, free: 59.94 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 4.506e-05/8.168, allocations: 92.53 kB / 3.879 GB, free: 59.84 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/8.168, allocations: 0 / 3.879 GB, free: 59.84 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/8.169, allocations: 4 kB / 3.879 GB, free: 59.84 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009433/8.169, allocations: 187.8 kB / 3.879 GB, free: 59.65 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.158e-06/8.169, allocations: 0 / 3.879 GB, free: 59.65 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001735/8.171, allocations: 135.8 kB / 3.879 GB, free: 59.52 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.675e-05/8.171, allocations: 35.95 kB / 3.879 GB, free: 59.48 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/8.171, allocations: 5.406 kB / 3.879 GB, free: 59.48 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001018/8.172, allocations: 0.708 MB / 3.88 GB, free: 58.77 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-06/8.172, allocations: 0 / 3.88 GB, free: 58.77 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.43e-06/8.172, allocations: 4 kB / 3.88 GB, free: 58.77 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008477/8.173, allocations: 179.8 kB / 3.88 GB, free: 58.59 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/8.173, allocations: 4 kB / 3.88 GB, free: 58.59 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00175/8.175, allocations: 139.7 kB / 3.88 GB, free: 58.45 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.694e-05/8.175, allocations: 39.95 kB / 3.88 GB, free: 58.41 MB / 1.151 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 (59): * Single equations (assignments): 59 * 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 prepare postOptimizeDAE: time 0.0002043/8.175, allocations: 116.9 kB / 3.88 GB, free: 58.29 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003153/8.176, allocations: 122.5 kB / 3.88 GB, free: 58.17 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00181/8.177, allocations: 0.9323 MB / 3.881 GB, free: 57.23 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/8.177, allocations: 4 kB / 3.881 GB, free: 57.22 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/8.178, allocations: 0 / 3.881 GB, free: 57.22 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/8.178, allocations: 7.984 kB / 3.881 GB, free: 57.21 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 postOpt removeSimpleEquations (simulation): time 0.003788/8.181, allocations: 2.361 MB / 3.883 GB, free: 54.77 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/8.181, allocations: 0 / 3.883 GB, free: 54.77 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007193/8.182, allocations: 143.8 kB / 3.884 GB, free: 54.63 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.099e-05/8.182, allocations: 4 kB / 3.884 GB, free: 54.62 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-05/8.182, allocations: 15.98 kB / 3.884 GB, free: 54.61 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/8.182, allocations: 4 kB / 3.884 GB, free: 54.61 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/8.182, allocations: 4 kB / 3.884 GB, free: 54.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001792/8.184, allocations: 1.501 MB / 3.885 GB, free: 53.02 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007167/8.185, allocations: 363.4 kB / 3.885 GB, free: 52.64 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002867/8.185, allocations: 4 kB / 3.885 GB, free: 52.64 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001401/8.186, allocations: 91.72 kB / 3.885 GB, free: 52.55 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/8.187, allocations: 56.44 kB / 3.886 GB, free: 52.49 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.972e-05/8.187, allocations: 27.98 kB / 3.886 GB, free: 52.46 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001722/8.188, allocations: 0.9487 MB / 3.886 GB, free: 51.51 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.4e-07/8.188, allocations: 0 / 3.886 GB, free: 51.51 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002434/8.191, allocations: 0.6317 MB / 3.887 GB, free: 50.88 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (mixBox.filter.s[1],mixBox.filter.s[2],mixBox.filterOutMin.s[1],mixBox.filterOutMin.s[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 66 * 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.003057/8.194, allocations: 2.077 MB / 3.889 GB, free: 48.71 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001673/8.196, allocations: 1.116 MB / 3.89 GB, free: 47.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/8.196, allocations: 4 kB / 3.89 GB, free: 47.59 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004519/8.196, allocations: 365.8 kB / 3.891 GB, free: 47.24 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002757/8.199, allocations: 480.8 kB / 3.891 GB, free: 46.77 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003088/8.202, allocations: 1.602 MB / 3.893 GB, free: 45.11 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006321/8.203, allocations: 1.178 MB / 3.894 GB, free: 43.91 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002661/8.205, allocations: 496.3 kB / 3.894 GB, free: 43.42 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003431/8.206, allocations: 87.38 kB / 3.894 GB, free: 43.33 MB / 1.151 GB Notification: Performance of SimCode: time 1.012e-06/8.206, allocations: 0 / 3.894 GB, free: 43.33 MB / 1.151 GB Notification: Performance of Templates: time 0.05009/8.256, allocations: 33.55 MB / 3.927 GB, free: 10.02 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile (rm -f Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & ./Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow.csv","../files/Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches