Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.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.MixingBox,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixBox.damOA.m_flow|mixBox.damExh.m_flow|mixBox.damRec.m_flow",fileNamePrefix="Buildings_9_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_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.192/2.192, allocations: 387.1 MB / 399.7 MB, free: 9.457 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.001119/0.001119, allocations: 172.9 kB / 492.3 MB, free: 0.5977 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.41/1.41, allocations: 221.3 MB / 0.7872 GB, free: 12.85 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.0008983/0.0008985, allocations: 109.1 kB / 0.9267 GB, free: 13.92 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.552e-05/3.576e-05, allocations: 8 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2457, allocations: 142.3 MB / 1.212 GB, free: 38.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.105/5.351, allocations: 1.916 GB / 3.128 GB, free: 347.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003213/5.351, allocations: 91.61 kB / 3.128 GB, free: 347.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.859/7.21, allocations: 0.6114 GB / 3.739 GB, free: 186.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.723e-06/7.21, allocations: 0 / 3.739 GB, free: 186.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.362e-05/7.211, allocations: 28 kB / 3.739 GB, free: 186.9 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.002678/7.213, allocations: 1.283 MB / 3.741 GB, free: 185.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/7.213, allocations: 12.03 kB / 3.741 GB, free: 185.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002305/7.216, allocations: 230.4 kB / 3.741 GB, free: 185.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001744/7.217, allocations: 0.9998 MB / 3.742 GB, free: 184.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.306e-05/7.217, allocations: 41 kB / 3.742 GB, free: 184.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/7.217, allocations: 67.92 kB / 3.742 GB, free: 184.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008878/7.218, allocations: 0.5764 MB / 3.743 GB, free: 183.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/7.218, allocations: 0 / 3.743 GB, free: 183.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.761e-05/7.218, allocations: 24 kB / 3.743 GB, free: 183.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.604e-05/7.219, allocations: 17 kB / 3.743 GB, free: 183.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007767/7.219, allocations: 0.5545 MB / 3.743 GB, free: 183 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.00391/7.223, allocations: 2.732 MB / 3.746 GB, free: 180.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007387/7.224, allocations: 0.518 MB / 3.746 GB, free: 179.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003686/7.224, allocations: 326.4 kB / 3.747 GB, free: 179.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003551/7.225, allocations: 292.3 kB / 3.747 GB, free: 178.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/7.225, allocations: 38.56 kB / 3.747 GB, free: 178.9 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008988/7.226, allocations: 223.4 kB / 3.747 GB, free: 178.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=44): time 2.766e-06/7.226, allocations: 0 / 3.747 GB, free: 178.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=44): time 0.001238/7.227, allocations: 0.6881 MB / 3.748 GB, free: 178 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/7.227, allocations: 59.41 kB / 3.748 GB, free: 177.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/7.228, allocations: 1.083 MB / 3.749 GB, free: 176.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.225e-05/7.228, allocations: 41.7 kB / 3.749 GB, free: 176.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002543/7.229, allocations: 446.4 kB / 3.749 GB, free: 176.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/7.229, allocations: 153.7 kB / 3.75 GB, free: 176.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.049e-05/7.229, allocations: 12 kB / 3.75 GB, free: 176.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.047e-05/7.229, allocations: 321.9 kB / 3.75 GB, free: 175.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003004/7.229, allocations: 228.7 kB / 3.75 GB, free: 175.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004393/7.23, allocations: 458.7 kB / 3.751 GB, free: 175.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003605/7.23, allocations: 282.5 kB / 3.751 GB, free: 174.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/7.23, allocations: 0 / 3.751 GB, free: 174.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009299/7.231, allocations: 0.6606 MB / 3.751 GB, free: 174.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 4.66e-05/7.231, allocations: 100.4 kB / 3.752 GB, free: 174 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/7.231, allocations: 3.938 kB / 3.752 GB, free: 174 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/7.231, allocations: 0 / 3.752 GB, free: 174 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006783/7.232, allocations: 139.8 kB / 3.752 GB, free: 173.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/7.232, allocations: 11.88 kB / 3.752 GB, free: 173.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/7.233, allocations: 115.8 kB / 3.752 GB, free: 173.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.305e-05/7.233, allocations: 39.95 kB / 3.752 GB, free: 173.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.694e-06/7.233, allocations: 112 / 3.752 GB, free: 173.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000765/7.234, allocations: 0.5464 MB / 3.752 GB, free: 173.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-06/7.234, allocations: 0 / 3.752 GB, free: 173.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.817e-06/7.234, allocations: 0 / 3.752 GB, free: 173.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006042/7.234, allocations: 127.8 kB / 3.753 GB, free: 173.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.076e-06/7.234, allocations: 4 kB / 3.753 GB, free: 173.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/7.235, allocations: 123.8 kB / 3.753 GB, free: 172.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.657e-05/7.235, allocations: 27.97 kB / 3.753 GB, free: 172.9 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 (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.0001478/7.236, allocations: 134 kB / 3.753 GB, free: 172.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001532/7.236, allocations: 110.6 kB / 3.753 GB, free: 172.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001279/7.237, allocations: 0.7444 MB / 3.754 GB, free: 171.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/7.237, allocations: 4 kB / 3.754 GB, free: 171.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/7.237, allocations: 0 / 3.754 GB, free: 171.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/7.237, allocations: 3.984 kB / 3.754 GB, free: 171.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002327/7.239, allocations: 1.913 MB / 3.756 GB, free: 169.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/7.239, allocations: 0 / 3.756 GB, free: 169.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005353/7.24, allocations: 123.8 kB / 3.756 GB, free: 169.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/7.24, allocations: 8 kB / 3.756 GB, free: 169.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.341e-05/7.24, allocations: 12 kB / 3.756 GB, free: 169.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/7.24, allocations: 8 kB / 3.756 GB, free: 169.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/7.24, allocations: 8.203 kB / 3.756 GB, free: 169.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00129/7.241, allocations: 1.255 MB / 3.757 GB, free: 168.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003727/7.242, allocations: 307.6 kB / 3.757 GB, free: 168.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001372/7.242, allocations: 12 kB / 3.757 GB, free: 168.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009885/7.243, allocations: 79.91 kB / 3.757 GB, free: 168 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/7.243, allocations: 51.81 kB / 3.757 GB, free: 167.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.421e-05/7.243, allocations: 24 kB / 3.757 GB, free: 167.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001013/7.244, allocations: 0.8553 MB / 3.758 GB, free: 167 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.71e-07/7.244, allocations: 0 / 3.758 GB, free: 167 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001771/7.246, allocations: 0.558 MB / 3.759 GB, free: 166.5 MB / 1.151 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 () * 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.002069/7.248, allocations: 1.615 MB / 3.76 GB, free: 164.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001251/7.249, allocations: 0.8566 MB / 3.761 GB, free: 163.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/7.249, allocations: 4 kB / 3.761 GB, free: 163.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003659/7.25, allocations: 292.1 kB / 3.761 GB, free: 163.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00225/7.252, allocations: 456.5 kB / 3.762 GB, free: 163.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001971/7.254, allocations: 1.278 MB / 3.763 GB, free: 161.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003976/7.254, allocations: 1.063 MB / 3.764 GB, free: 160.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001748/7.256, allocations: 414.7 kB / 3.765 GB, free: 160.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000215/7.256, allocations: 71.41 kB / 3.765 GB, free: 160.3 MB / 1.151 GB Notification: Performance of SimCode: time 1.292e-06/7.256, allocations: 0 / 3.765 GB, free: 160.3 MB / 1.151 GB Notification: Performance of Templates: time 0.05529/7.312, allocations: 44.41 MB / 3.808 GB, free: 116 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.csv","../files/Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches