Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001688/0.001688, allocations: 121.8 kB / 16.82 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00185/0.00185, allocations: 199.1 kB / 17.77 MB, free: 5.129 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.517/1.517, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.85/2.85, allocations: 476.7 MB / 0.7556 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 67.66 kB / 1.097 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.358, allocations: 168.7 MB / 1.262 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.2421/0.6001, allocations: 199.1 MB / 1.456 GB, free: 5.133 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.00975/0.6099, allocations: 5.166 MB / 1.461 GB, free: 15.95 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001398/0.6113, allocations: 35.75 kB / 1.462 GB, free: 15.91 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001845/0.6131, allocations: 0.6325 MB / 1.462 GB, free: 15.28 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005307/0.6184, allocations: 1.952 MB / 1.464 GB, free: 13.32 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004535/0.623, allocations: 1.676 MB / 1.466 GB, free: 11.66 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004472/0.6275, allocations: 2.908 MB / 1.469 GB, free: 8.738 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002049/0.6295, allocations: 1.259 MB / 1.47 GB, free: 7.457 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00245/0.632, allocations: 1.261 MB / 1.471 GB, free: 6.191 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001882/0.6338, allocations: 1.214 MB / 1.472 GB, free: 4.973 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0004023/0.6342, allocations: 192 kB / 1.472 GB, free: 4.785 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002832/0.6371, allocations: 1.434 MB / 1.474 GB, free: 3.348 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0006508/0.6377, allocations: 0.5607 MB / 1.474 GB, free: 2.785 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001081/0.6388, allocations: 0.8514 MB / 1.475 GB, free: 1.93 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003783/0.6426, allocations: 2.538 MB / 1.478 GB, free: 15.38 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.6426, allocations: 0 / 1.478 GB, free: 15.38 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.114e-06/0.6426, allocations: 0 / 1.478 GB, free: 15.38 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.903e-05/0.6426, allocations: 0 / 1.478 GB, free: 15.38 MB / 1.201 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.005748/0.6484, allocations: 2.113 MB / 1.48 GB, free: 13.21 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.872e-05/0.6484, allocations: 8.031 kB / 1.48 GB, free: 13.2 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001139/0.6496, allocations: 242.9 kB / 1.48 GB, free: 12.96 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002761/0.6523, allocations: 1.366 MB / 1.481 GB, free: 11.55 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.436e-05/0.6524, allocations: 61.31 kB / 1.481 GB, free: 11.49 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001786/0.6526, allocations: 72 kB / 1.481 GB, free: 11.42 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001711/0.6543, allocations: 0.8261 MB / 1.482 GB, free: 10.59 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.6543, allocations: 0 / 1.482 GB, free: 10.59 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.478e-05/0.6544, allocations: 28 kB / 1.482 GB, free: 10.56 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.521e-05/0.6544, allocations: 29.3 kB / 1.482 GB, free: 10.53 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001918/0.6563, allocations: 0.8757 MB / 1.483 GB, free: 9.652 MB / 1.201 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.00607/0.6624, allocations: 3.46 MB / 1.486 GB, free: 6.027 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001511/0.6639, allocations: 0.7068 MB / 1.487 GB, free: 5.297 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008827/0.6648, allocations: 431.8 kB / 1.488 GB, free: 4.875 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004792/0.6653, allocations: 295.7 kB / 1.488 GB, free: 4.531 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.204e-05/0.6653, allocations: 39 kB / 1.488 GB, free: 4.484 MB / 1.201 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001447/0.6668, allocations: 263.5 kB / 1.488 GB, free: 4.227 MB / 1.201 GB Notification: Performance of pre-optimization done (n=53): time 3.326e-06/0.6668, allocations: 0 / 1.488 GB, free: 4.227 MB / 1.201 GB Notification: Performance of matching and sorting (n=53): time 0.003279/0.6701, allocations: 1.318 MB / 1.489 GB, free: 2.898 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.6701, allocations: 55.84 kB / 1.489 GB, free: 2.832 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003004/0.6731, allocations: 1.633 MB / 1.491 GB, free: 1.184 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001173/0.6732, allocations: 41.7 kB / 1.491 GB, free: 1.137 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005393/0.6738, allocations: 0.5311 MB / 1.492 GB, free: 0.6055 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002448/0.674, allocations: 194.3 kB / 1.492 GB, free: 424 kB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003009/0.6743, allocations: 150.1 kB / 1.492 GB, free: 268 kB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.6745, allocations: 326 kB / 1.492 GB, free: 15.94 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008216/0.6753, allocations: 358.9 kB / 1.493 GB, free: 15.58 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001149/0.6765, allocations: 0.6284 MB / 1.493 GB, free: 14.85 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001723/0.6782, allocations: 0.761 MB / 1.494 GB, free: 14.09 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.798e-06/0.6782, allocations: 4 kB / 1.494 GB, free: 14.09 MB / 1.217 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.002367/0.6806, allocations: 0.9705 MB / 1.495 GB, free: 13.11 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.6806, allocations: 4 kB / 1.495 GB, free: 13.11 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.6806, allocations: 0 / 1.495 GB, free: 13.11 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.6806, allocations: 7.938 kB / 1.495 GB, free: 13.1 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009376/0.6815, allocations: 167.8 kB / 1.495 GB, free: 12.93 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.6815, allocations: 0 / 1.495 GB, free: 12.93 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001699/0.6832, allocations: 119.8 kB / 1.495 GB, free: 12.82 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-05/0.6833, allocations: 31.95 kB / 1.495 GB, free: 12.79 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001185/0.6845, allocations: 0.5771 MB / 1.496 GB, free: 12.21 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001158/0.6857, allocations: 0.6249 MB / 1.496 GB, free: 11.47 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001649/0.6873, allocations: 0.7716 MB / 1.497 GB, free: 10.7 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.144e-06/0.6873, allocations: 0 / 1.497 GB, free: 10.7 MB / 1.217 GB Notification: Performance of matching and sorting (n=57) (initialization_lambda0): time 0.002422/0.6897, allocations: 0.961 MB / 1.498 GB, free: 9.727 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.6897, allocations: 4 kB / 1.498 GB, free: 9.723 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.6898, allocations: 4 kB / 1.498 GB, free: 9.719 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.07e-06/0.6898, allocations: 0 / 1.498 GB, free: 9.719 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008897/0.6906, allocations: 167.8 kB / 1.498 GB, free: 9.555 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.6907, allocations: 4 kB / 1.498 GB, free: 9.551 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002067/0.6927, allocations: 156.4 kB / 1.498 GB, free: 9.398 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.123e-05/0.6928, allocations: 31.95 kB / 1.498 GB, free: 9.367 MB / 1.217 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.0003069/0.6931, allocations: 212.7 kB / 1.499 GB, free: 9.152 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003622/0.6935, allocations: 139 kB / 1.499 GB, free: 9.016 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00247/0.6959, allocations: 1.027 MB / 1.5 GB, free: 7.98 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.696, allocations: 3.984 kB / 1.5 GB, free: 7.977 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.696, allocations: 0 / 1.5 GB, free: 7.977 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006662/0.6966, allocations: 356 kB / 1.5 GB, free: 7.609 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002228/0.6968, allocations: 20 kB / 1.5 GB, free: 7.59 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001274/0.6981, allocations: 71.89 kB / 1.5 GB, free: 7.52 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/0.6983, allocations: 48.44 kB / 1.5 GB, free: 7.473 MB / 1.217 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002377/0.7007, allocations: 0.9593 MB / 1.501 GB, free: 6.504 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003053/0.7037, allocations: 1.578 MB / 1.503 GB, free: 4.914 MB / 1.217 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008387/0.7045, allocations: 372.2 kB / 1.503 GB, free: 4.547 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.00224/0.7068, allocations: 1.186 MB / 1.504 GB, free: 3.359 MB / 1.217 GB Notification: Performance of Backend: time 4.71e-07/0.7068, allocations: 0 / 1.504 GB, free: 3.359 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.003637/0.7104, allocations: 1.196 MB / 1.505 GB, free: 2.172 MB / 1.217 GB Notification: Performance of SimCode: time 0.004934/0.7154, allocations: 2.714 MB / 1.508 GB, free: 15.41 MB / 1.232 GB Notification: Performance of Templates: time 0.06037/0.7757, allocations: 32.71 MB / 1.54 GB, free: 14.99 MB / 1.264 GB make -j1 -f Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile (rm -f Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & ./Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches