Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixBox.damOA.m_flow|mixBox.damExh.m_flow|mixBox.damRec.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixBox.damOA.m_flow|mixBox.damExh.m_flow|mixBox.damRec.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.42/2.42, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.001548/0.001548, allocations: 183.9 kB / 0.4902 GB, free: 2.234 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.646/1.646, allocations: 223.2 MB / 0.7992 GB, free: 14.76 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 94.86 kB / 0.9396 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003879/0.0003879, allocations: 10.47 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3806/0.381, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.155/5.536, allocations: 1.916 GB / 3.146 GB, free: 65.06 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003347/5.537, allocations: 93.41 kB / 3.146 GB, free: 64.97 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.93/8.467, allocations: 0.6119 GB / 3.758 GB, free: 304.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.274e-06/8.467, allocations: 0 / 3.758 GB, free: 304.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002228/8.468, allocations: 32.12 kB / 3.758 GB, free: 304.1 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.006716/8.474, allocations: 1.659 MB / 3.759 GB, free: 303.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.857e-05/8.474, allocations: 7.688 kB / 3.759 GB, free: 303.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003145/8.477, allocations: 239.8 kB / 3.76 GB, free: 303.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003409/8.481, allocations: 1.027 MB / 3.761 GB, free: 303 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.294e-05/8.481, allocations: 44.72 kB / 3.761 GB, free: 303 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002608/8.481, allocations: 59.84 kB / 3.761 GB, free: 303 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001443/8.483, allocations: 0.6321 MB / 3.761 GB, free: 302.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/8.483, allocations: 0 / 3.761 GB, free: 302.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.422e-05/8.483, allocations: 22.39 kB / 3.761 GB, free: 302.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.957e-05/8.483, allocations: 23.03 kB / 3.761 GB, free: 302.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001222/8.484, allocations: 0.6546 MB / 3.762 GB, free: 302.9 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.005041/8.489, allocations: 2.725 MB / 3.765 GB, free: 302.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/8.49, allocations: 0.6 MB / 3.765 GB, free: 302.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004025/8.491, allocations: 282.8 kB / 3.765 GB, free: 301.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/8.491, allocations: 37.72 kB / 3.765 GB, free: 301.8 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001071/8.492, allocations: 227.5 kB / 3.766 GB, free: 301.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=44): time 3.496e-06/8.492, allocations: 0 / 3.766 GB, free: 301.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=44): time 0.002244/8.494, allocations: 1.063 MB / 3.767 GB, free: 301.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/8.494, allocations: 59.08 kB / 3.767 GB, free: 301.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001662/8.496, allocations: 1.122 MB / 3.768 GB, free: 301.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.086e-05/8.496, allocations: 40.36 kB / 3.768 GB, free: 301.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003481/8.496, allocations: 448.3 kB / 3.768 GB, free: 301.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/8.496, allocations: 141.8 kB / 3.768 GB, free: 301.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.362e-05/8.496, allocations: 10.66 kB / 3.768 GB, free: 301.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.047e-05/8.497, allocations: 324 kB / 3.769 GB, free: 301 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005213/8.497, allocations: 274.1 kB / 3.769 GB, free: 301 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007239/8.498, allocations: 0.4971 MB / 3.77 GB, free: 300.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005687/8.498, allocations: 333.8 kB / 3.77 GB, free: 300.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/8.498, allocations: 0 / 3.77 GB, free: 300.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001373/8.5, allocations: 0.7706 MB / 3.771 GB, free: 300.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 5.887e-05/8.5, allocations: 102.2 kB / 3.771 GB, free: 300.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/8.5, allocations: 0 / 3.771 GB, free: 300.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/8.5, allocations: 0 / 3.771 GB, free: 300.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007539/8.501, allocations: 140.8 kB / 3.771 GB, free: 300.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/8.501, allocations: 3.781 kB / 3.771 GB, free: 300.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/8.502, allocations: 120.1 kB / 3.771 GB, free: 300.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.144e-05/8.502, allocations: 29.28 kB / 3.771 GB, free: 300.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.177e-06/8.502, allocations: 6 kB / 3.771 GB, free: 300.5 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001194/8.503, allocations: 0.6343 MB / 3.772 GB, free: 300.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.983e-06/8.503, allocations: 3.844 kB / 3.772 GB, free: 300.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.098e-06/8.503, allocations: 0 / 3.772 GB, free: 300.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006367/8.504, allocations: 134.1 kB / 3.772 GB, free: 300.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/8.504, allocations: 3.406 kB / 3.772 GB, free: 300.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/8.505, allocations: 116.7 kB / 3.772 GB, free: 300.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.316e-05/8.505, allocations: 35.08 kB / 3.772 GB, free: 300.5 MB / 1.167 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 46 * 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.0005918/8.506, allocations: 331.5 kB / 3.772 GB, free: 300.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001665/8.506, allocations: 103.2 kB / 3.772 GB, free: 300.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001688/8.508, allocations: 0.8492 MB / 3.773 GB, free: 300.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/8.508, allocations: 10.03 kB / 3.773 GB, free: 300.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/8.508, allocations: 0 / 3.773 GB, free: 300.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/8.508, allocations: 3.656 kB / 3.773 GB, free: 300.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003093/8.511, allocations: 2.015 MB / 3.775 GB, free: 299.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/8.511, allocations: 9.828 kB / 3.775 GB, free: 299.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005737/8.512, allocations: 120.4 kB / 3.775 GB, free: 299.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.023e-05/8.512, allocations: 3.438 kB / 3.775 GB, free: 299.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.456e-05/8.512, allocations: 18.59 kB / 3.775 GB, free: 299.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.616e-06/8.512, allocations: 11.48 kB / 3.775 GB, free: 299.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/8.512, allocations: 3.844 kB / 3.775 GB, free: 299.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002001/8.514, allocations: 1.391 MB / 3.777 GB, free: 299.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005533/8.514, allocations: 310.1 kB / 3.777 GB, free: 299.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001378/8.514, allocations: 14.59 kB / 3.777 GB, free: 299.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/8.516, allocations: 79.45 kB / 3.777 GB, free: 299.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/8.516, allocations: 46.03 kB / 3.777 GB, free: 299.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.086e-05/8.516, allocations: 28.72 kB / 3.777 GB, free: 299.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001356/8.517, allocations: 0.8888 MB / 3.778 GB, free: 299.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/8.517, allocations: 0 / 3.778 GB, free: 299.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002048/8.519, allocations: 0.5496 MB / 3.778 GB, free: 299.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.s[1],mixBox.filter.s[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 53 * 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.002463/8.522, allocations: 1.633 MB / 3.78 GB, free: 298.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001893/8.524, allocations: 0.959 MB / 3.781 GB, free: 298.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/8.524, allocations: 3.969 kB / 3.781 GB, free: 298.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005786/8.524, allocations: 342.3 kB / 3.781 GB, free: 298.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002328/8.526, allocations: 456.5 kB / 3.782 GB, free: 298.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002763/8.529, allocations: 1.922 MB / 3.784 GB, free: 297.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004827/8.53, allocations: 1.064 MB / 3.785 GB, free: 297 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00135/8.531, allocations: 292.5 kB / 3.785 GB, free: 297 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003453/8.531, allocations: 95.3 kB / 3.785 GB, free: 297 MB / 1.167 GB Notification: Performance of SimCode: time 9.72e-07/8.531, allocations: 3.25 kB / 3.785 GB, free: 297 MB / 1.167 GB Notification: Performance of Templates: time 0.05397/8.585, allocations: 38.62 MB / 3.823 GB, free: 281.2 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.csv","../files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches