Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_10_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_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009874/0.0009872, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 180.2 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 223.3 MB / 241 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.67/2.67, allocations: 437.8 MB / 0.7128 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003655/0.0003658, allocations: 8 kB / 0.8735 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7317/0.7321, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.222/0.9541, allocations: 193.5 MB / 1.213 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.009866/0.9641, allocations: 5.152 MB / 1.218 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002254/0.9664, allocations: 27.75 kB / 1.218 GB, free: 8.465 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002005/0.9684, allocations: 0.5011 MB / 1.218 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.005733/0.9742, allocations: 1.743 MB / 1.22 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004647/0.9788, allocations: 1.525 MB / 1.221 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004876/0.9837, allocations: 3.528 MB / 1.225 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002466/0.9862, allocations: 1.213 MB / 1.226 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002751/0.989, allocations: 1.05 MB / 1.227 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002307/0.9913, allocations: 1.066 MB / 1.228 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0006445/0.992, allocations: 83.92 kB / 1.228 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003801/0.9958, allocations: 1.5 MB / 1.23 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001023/0.9969, allocations: 446.3 kB / 1.23 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001846/0.9987, allocations: 0.7399 MB / 1.231 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003061/1.002, allocations: 1.898 MB / 1.233 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/1.002, allocations: 0 / 1.233 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.653e-06/1.002, allocations: 0 / 1.233 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.446e-05/1.002, allocations: 0 / 1.233 GB, free: 9.125 MB / 0.9825 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.006113/1.008, allocations: 1.831 MB / 1.234 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/1.008, allocations: 11.98 kB / 1.234 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001487/1.01, allocations: 226 kB / 1.235 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003583/1.013, allocations: 1.314 MB / 1.236 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002259/1.013, allocations: 61.62 kB / 1.236 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003106/1.014, allocations: 80 kB / 1.236 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002088/1.016, allocations: 0.8222 MB / 1.237 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/1.016, allocations: 0 / 1.237 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.985e-05/1.016, allocations: 31.94 kB / 1.237 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.204e-05/1.016, allocations: 21.31 kB / 1.237 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002034/1.018, allocations: 0.8718 MB / 1.238 GB, free: 3.746 MB / 0.9825 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.007292/1.025, allocations: 3.482 MB / 1.241 GB, free: 104 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5558/1.581, allocations: 0.7359 MB / 1.242 GB, free: 217.3 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009681/1.582, allocations: 457.9 kB / 1.242 GB, free: 217.2 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003702/1.583, allocations: 290.8 kB / 1.243 GB, free: 217 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/1.583, allocations: 44.17 kB / 1.243 GB, free: 216.9 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001353/1.584, allocations: 237.7 kB / 1.243 GB, free: 216.9 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=53): time 3.226e-06/1.584, allocations: 0.6875 kB / 1.243 GB, free: 216.9 MB / 0.9825 GB Notification: Performance of matching and sorting (n=53): time 0.003295/1.587, allocations: 1.338 MB / 1.244 GB, free: 216.6 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/1.587, allocations: 62.34 kB / 1.244 GB, free: 216.5 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003445/1.591, allocations: 1.631 MB / 1.246 GB, free: 215.9 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001738/1.591, allocations: 40.27 kB / 1.246 GB, free: 215.9 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004473/1.592, allocations: 0.5365 MB / 1.246 GB, free: 215.5 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001865/1.592, allocations: 188.2 kB / 1.247 GB, free: 215.3 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.096e-05/1.592, allocations: 46.16 kB / 1.247 GB, free: 215.3 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 6.95e-05/1.592, allocations: 324 kB / 1.247 GB, free: 215 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008266/1.593, allocations: 364.3 kB / 1.247 GB, free: 214.9 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/1.594, allocations: 0.6296 MB / 1.248 GB, free: 214.5 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001619/1.595, allocations: 0.7983 MB / 1.249 GB, free: 214.2 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/1.595, allocations: 5.938 kB / 1.249 GB, free: 214.2 MB / 0.9825 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.002367/1.598, allocations: 0.9834 MB / 1.25 GB, free: 213.8 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.532e-05/1.598, allocations: 94.8 kB / 1.25 GB, free: 213.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/1.598, allocations: 1.703 kB / 1.25 GB, free: 213.7 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/1.598, allocations: 9.656 kB / 1.25 GB, free: 213.7 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009228/1.599, allocations: 166.9 kB / 1.25 GB, free: 213.7 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/1.599, allocations: 2.266 kB / 1.25 GB, free: 213.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001745/1.601, allocations: 163.7 kB / 1.25 GB, free: 213.7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.519e-05/1.601, allocations: 31.47 kB / 1.25 GB, free: 213.7 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.985e-06/1.601, allocations: 7.281 kB / 1.25 GB, free: 213.7 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001772/1.602, allocations: 0.8184 MB / 1.251 GB, free: 213.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/1.602, allocations: 2.703 kB / 1.251 GB, free: 213.4 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.709e-06/1.602, allocations: 1.781 kB / 1.251 GB, free: 213.4 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008742/1.603, allocations: 170.1 kB / 1.251 GB, free: 213.4 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/1.603, allocations: 2.594 kB / 1.251 GB, free: 213.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001745/1.605, allocations: 156.6 kB / 1.251 GB, free: 213.4 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.785e-05/1.605, allocations: 30.78 kB / 1.251 GB, free: 213.4 MB / 0.9825 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 (57): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006128/1.606, allocations: 374.8 kB / 1.252 GB, free: 213.1 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002812/1.606, allocations: 131.8 kB / 1.252 GB, free: 213 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002635/1.609, allocations: 1.053 MB / 1.253 GB, free: 212.6 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/1.609, allocations: 6.5 kB / 1.253 GB, free: 212.6 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/1.609, allocations: 0.625 kB / 1.253 GB, free: 212.6 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/1.609, allocations: 7.172 kB / 1.253 GB, free: 212.6 MB / 0.9825 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 postOpt removeSimpleEquations (simulation): time 0.004132/1.613, allocations: 2.494 MB / 1.255 GB, free: 211.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/1.613, allocations: 2.875 kB / 1.255 GB, free: 211.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007615/1.614, allocations: 139.6 kB / 1.255 GB, free: 211.4 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.408e-06/1.614, allocations: 5 kB / 1.255 GB, free: 211.4 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.336e-05/1.614, allocations: 19.38 kB / 1.255 GB, free: 211.4 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.614e-06/1.614, allocations: 5.203 kB / 1.255 GB, free: 211.4 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/1.614, allocations: 2.625 kB / 1.255 GB, free: 211.4 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00265/1.617, allocations: 1.567 MB / 1.257 GB, free: 210.7 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006163/1.617, allocations: 352.5 kB / 1.257 GB, free: 210.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001851/1.617, allocations: 15.09 kB / 1.257 GB, free: 210.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001301/1.619, allocations: 108.3 kB / 1.257 GB, free: 210.4 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/1.619, allocations: 47.38 kB / 1.257 GB, free: 210.4 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.357e-05/1.619, allocations: 26.94 kB / 1.257 GB, free: 210.4 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002007/1.621, allocations: 1.184 MB / 1.259 GB, free: 209.9 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.81e-07/1.621, allocations: 0 / 1.259 GB, free: 209.9 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001652/1.623, allocations: 0.5075 MB / 1.259 GB, free: 209.9 MB / 0.9825 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005533/1.623, allocations: 237 kB / 1.259 GB, free: 209.8 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00265/1.626, allocations: 1.255 MB / 1.261 GB, free: 209.4 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/1.626, allocations: 1 kB / 1.261 GB, free: 209.4 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008198/1.627, allocations: 446.6 kB / 1.261 GB, free: 209.2 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003616/1.63, allocations: 0.5528 MB / 1.262 GB, free: 209.1 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003523/1.634, allocations: 2.648 MB / 1.264 GB, free: 207.6 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006831/1.635, allocations: 1.147 MB / 1.265 GB, free: 206.8 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006763/1.635, allocations: 126.1 kB / 1.265 GB, free: 206.8 MB / 0.9825 GB Notification: Performance of SimCode: time 1.412e-06/1.635, allocations: 0 / 1.265 GB, free: 206.8 MB / 0.9825 GB Notification: Performance of Templates: time 0.02537/1.661, allocations: 20.77 MB / 1.286 GB, free: 189.9 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile (rm -f Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & ./Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches