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.405/1.405, allocations: 249.5 MB / 257 MB, free: 6.93 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.001043/0.001043, allocations: 180.9 kB / 316.3 MB, free: 3.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.385/1.385, allocations: 205.3 MB / 0.5671 GB, free: 15.82 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.0008912, allocations: 94.33 kB / 0.6714 GB, free: 4.941 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.837e-05/1.84e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.1929, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.288/5.481, allocations: 2.203 GB / 3.088 GB, free: 203.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/5.481, allocations: 92.7 kB / 3.088 GB, free: 203.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.35/7.831, allocations: 0.7114 GB / 3.8 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.613e-06/7.831, allocations: 0 / 3.8 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001314/7.831, allocations: 44.73 kB / 3.8 GB, free: 140.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: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.003397/7.835, allocations: 1.575 MB / 3.801 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/7.835, allocations: 12.02 kB / 3.801 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00265/7.838, allocations: 309.8 kB / 3.801 GB, free: 138.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002326/7.84, allocations: 1.345 MB / 3.803 GB, free: 137.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.051e-05/7.84, allocations: 24 kB / 3.803 GB, free: 137.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/7.84, allocations: 48 kB / 3.803 GB, free: 137.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001068/7.841, allocations: 0.7406 MB / 3.804 GB, free: 136.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/7.842, allocations: 0.8026 MB / 3.804 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/7.842, allocations: 4 kB / 3.804 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.934e-05/7.842, allocations: 0 / 3.804 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/7.842, allocations: 16 kB / 3.804 GB, free: 135.9 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.004659/7.847, allocations: 3.394 MB / 3.808 GB, free: 132.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008477/7.848, allocations: 0.7192 MB / 3.808 GB, free: 131.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004268/7.848, allocations: 394 kB / 3.809 GB, free: 131.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003485/7.849, allocations: 295 kB / 3.809 GB, free: 130.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/7.849, allocations: 43 kB / 3.809 GB, free: 130.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001295/7.85, allocations: 304.8 kB / 3.809 GB, free: 130.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=52): time 2.705e-06/7.85, allocations: 0 / 3.809 GB, free: 130.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=52): time 0.001543/7.852, allocations: 0.877 MB / 3.81 GB, free: 129.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.935e-05/7.852, allocations: 214.6 kB / 3.81 GB, free: 129.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001469/7.853, allocations: 1.249 MB / 3.812 GB, free: 128.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.815e-05/7.853, allocations: 29.7 kB / 3.812 GB, free: 128.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003491/7.854, allocations: 0.5726 MB / 3.812 GB, free: 127.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/7.854, allocations: 177.2 kB / 3.812 GB, free: 127.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.263e-05/7.854, allocations: 0 / 3.812 GB, free: 127.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.532e-05/7.854, allocations: 338 kB / 3.813 GB, free: 127 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003873/7.854, allocations: 325 kB / 3.813 GB, free: 126.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005606/7.855, allocations: 0.6347 MB / 3.814 GB, free: 125.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005724/7.855, allocations: 412.5 kB / 3.814 GB, free: 125.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/7.855, allocations: 0 / 3.814 GB, free: 125.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001314/7.857, allocations: 0.9231 MB / 3.815 GB, free: 124.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.451e-05/7.857, allocations: 101.8 kB / 3.815 GB, free: 124.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.059e-05/7.857, allocations: 4 kB / 3.815 GB, free: 124.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/7.857, allocations: 4 kB / 3.815 GB, free: 124.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008244/7.858, allocations: 163.8 kB / 3.815 GB, free: 124.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/7.858, allocations: 4 kB / 3.815 GB, free: 124.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001522/7.859, allocations: 131.8 kB / 3.815 GB, free: 124.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.191e-05/7.859, allocations: 39.95 kB / 3.815 GB, free: 124.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.945e-06/7.859, allocations: 4 kB / 3.815 GB, free: 124.2 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001061/7.86, allocations: 0.7588 MB / 3.816 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/7.86, allocations: 0 / 3.816 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.959e-06/7.86, allocations: 4 kB / 3.816 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007404/7.861, allocations: 159.7 kB / 3.816 GB, free: 123.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.417e-06/7.861, allocations: 7.938 kB / 3.816 GB, free: 123.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001478/7.863, allocations: 131.8 kB / 3.816 GB, free: 123.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-05/7.863, allocations: 43.91 kB / 3.816 GB, free: 123.1 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.0001878/7.863, allocations: 116.9 kB / 3.817 GB, free: 122.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000199/7.863, allocations: 130.2 kB / 3.817 GB, free: 122.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001619/7.865, allocations: 0.9172 MB / 3.818 GB, free: 121.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/7.865, allocations: 8 kB / 3.818 GB, free: 121.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/7.865, allocations: 0 / 3.818 GB, free: 121.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/7.865, allocations: 3.984 kB / 3.818 GB, free: 121.9 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.002876/7.868, allocations: 2.292 MB / 3.82 GB, free: 119.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/7.868, allocations: 4 kB / 3.82 GB, free: 119.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007043/7.868, allocations: 135.8 kB / 3.82 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.277e-06/7.868, allocations: 4 kB / 3.82 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.027e-05/7.869, allocations: 12 kB / 3.82 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/7.869, allocations: 11.92 kB / 3.82 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/7.869, allocations: 8.125 kB / 3.82 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001549/7.87, allocations: 1.488 MB / 3.821 GB, free: 117.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005149/7.871, allocations: 359.3 kB / 3.822 GB, free: 117.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001876/7.871, allocations: 4 kB / 3.822 GB, free: 117.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001198/7.872, allocations: 87.88 kB / 3.822 GB, free: 117.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/7.872, allocations: 52.33 kB / 3.822 GB, free: 117.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.386e-05/7.872, allocations: 27.98 kB / 3.822 GB, free: 117.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001131/7.873, allocations: 0.9698 MB / 3.823 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.8e-07/7.873, allocations: 0 / 3.823 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001919/7.875, allocations: 0.6746 MB / 3.824 GB, free: 115.6 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.002319/7.878, allocations: 2.125 MB / 3.826 GB, free: 113.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001601/7.879, allocations: 1.29 MB / 3.827 GB, free: 112.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/7.879, allocations: 0 / 3.827 GB, free: 112.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004084/7.88, allocations: 361.4 kB / 3.827 GB, free: 111.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002752/7.882, allocations: 0.4952 MB / 3.828 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002685/7.885, allocations: 1.636 MB / 3.829 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005139/7.886, allocations: 1.202 MB / 3.831 GB, free: 108.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002264/7.888, allocations: 497 kB / 3.831 GB, free: 108 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002656/7.888, allocations: 91.38 kB / 3.831 GB, free: 107.9 MB / 0.8698 GB Notification: Performance of SimCode: time 1.503e-06/7.888, allocations: 0 / 3.831 GB, free: 107.9 MB / 0.8698 GB Notification: Performance of Templates: time 0.04876/7.937, allocations: 35.39 MB / 3.866 GB, free: 72.83 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