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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001508/0.001509, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001553/0.001553, allocations: 190.7 kB / 17.35 MB, free: 5.73 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.413/1.413, allocations: 222.9 MB / 241.1 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.535/2.535, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 63.91 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.031/1.032, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.2535/1.286, allocations: 198.3 MB / 1.361 GB, free: 12.76 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01243/1.298, allocations: 5.169 MB / 1.366 GB, free: 7.582 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003397/1.302, allocations: 31.81 kB / 1.366 GB, free: 7.551 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002894/1.305, allocations: 0.6249 MB / 1.367 GB, free: 6.922 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.006956/1.312, allocations: 1.935 MB / 1.369 GB, free: 4.98 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.005334/1.317, allocations: 1.682 MB / 1.37 GB, free: 3.312 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004959/1.322, allocations: 2.904 MB / 1.373 GB, free: 408 kB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002762/1.325, allocations: 1.448 MB / 1.374 GB, free: 14.93 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003452/1.328, allocations: 1.242 MB / 1.376 GB, free: 13.68 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002727/1.331, allocations: 1.168 MB / 1.377 GB, free: 12.51 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.001006/1.332, allocations: 188 kB / 1.377 GB, free: 12.33 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004294/1.336, allocations: 1.388 MB / 1.378 GB, free: 10.94 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.001206/1.338, allocations: 0.5452 MB / 1.379 GB, free: 10.39 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.002394/1.34, allocations: 0.8398 MB / 1.38 GB, free: 9.547 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.005496/1.346, allocations: 2.508 MB / 1.382 GB, free: 7.031 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/1.346, allocations: 4 kB / 1.382 GB, free: 7.027 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.605e-06/1.346, allocations: 0 / 1.382 GB, free: 7.027 MB / 1.107 GB Notification: Performance of Transformations before backend: time 9.051e-05/1.346, allocations: 0 / 1.382 GB, free: 7.027 MB / 1.107 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.008/1.354, allocations: 2.125 MB / 1.384 GB, free: 4.848 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 6.029e-05/1.354, allocations: 20.81 kB / 1.384 GB, free: 4.828 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001585/1.355, allocations: 222 kB / 1.384 GB, free: 4.609 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00358/1.359, allocations: 1.353 MB / 1.386 GB, free: 3.203 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.941e-05/1.359, allocations: 61.31 kB / 1.386 GB, free: 3.145 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002879/1.359, allocations: 72 kB / 1.386 GB, free: 3.074 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002009/1.361, allocations: 0.8066 MB / 1.387 GB, free: 2.258 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/1.361, allocations: 0 / 1.387 GB, free: 2.258 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.9e-05/1.362, allocations: 24 kB / 1.387 GB, free: 2.234 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.175e-05/1.362, allocations: 25.31 kB / 1.387 GB, free: 2.211 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001917/1.363, allocations: 0.8444 MB / 1.388 GB, free: 1.367 MB / 1.107 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.008547/1.372, allocations: 3.451 MB / 1.391 GB, free: 13.75 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001602/1.374, allocations: 0.732 MB / 1.392 GB, free: 13 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008598/1.375, allocations: 449.8 kB / 1.392 GB, free: 12.55 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004681/1.375, allocations: 283.7 kB / 1.392 GB, free: 12.22 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.87e-05/1.375, allocations: 46.98 kB / 1.392 GB, free: 12.16 MB / 1.123 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001614/1.377, allocations: 187.4 kB / 1.393 GB, free: 11.98 MB / 1.123 GB Notification: Performance of pre-optimization done (n=53): time 1.264e-05/1.377, allocations: 0 / 1.393 GB, free: 11.98 MB / 1.123 GB Notification: Performance of matching and sorting (n=53): time 0.003745/1.381, allocations: 1.302 MB / 1.394 GB, free: 10.68 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/1.381, allocations: 59.84 kB / 1.394 GB, free: 10.61 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003893/1.384, allocations: 1.64 MB / 1.396 GB, free: 8.949 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0002351/1.385, allocations: 37.7 kB / 1.396 GB, free: 8.906 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006991/1.385, allocations: 0.5268 MB / 1.396 GB, free: 8.379 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003054/1.386, allocations: 185.3 kB / 1.396 GB, free: 8.195 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004134/1.386, allocations: 150.2 kB / 1.396 GB, free: 8.043 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001524/1.386, allocations: 330 kB / 1.397 GB, free: 7.715 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008257/1.387, allocations: 362.7 kB / 1.397 GB, free: 7.355 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001124/1.388, allocations: 0.6162 MB / 1.398 GB, free: 6.641 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001639/1.39, allocations: 0.7727 MB / 1.398 GB, free: 5.863 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/1.39, allocations: 3.938 kB / 1.398 GB, free: 5.859 MB / 1.123 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.002575/1.393, allocations: 0.9735 MB / 1.399 GB, free: 4.875 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/1.393, allocations: 6.5 kB / 1.399 GB, free: 4.871 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/1.393, allocations: 0 / 1.399 GB, free: 4.871 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.586e-05/1.393, allocations: 4 kB / 1.399 GB, free: 4.867 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009019/1.394, allocations: 159.8 kB / 1.4 GB, free: 4.711 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.628e-05/1.394, allocations: 4 kB / 1.4 GB, free: 4.707 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002086/1.396, allocations: 123.8 kB / 1.4 GB, free: 4.586 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/1.396, allocations: 31.97 kB / 1.4 GB, free: 4.555 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001299/1.397, allocations: 0.5791 MB / 1.4 GB, free: 3.973 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001062/1.398, allocations: 0.621 MB / 1.401 GB, free: 3.246 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001588/1.4, allocations: 0.7658 MB / 1.402 GB, free: 2.473 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.647e-06/1.4, allocations: 0 / 1.402 GB, free: 2.473 MB / 1.123 GB Notification: Performance of matching and sorting (n=57) (initialization_lambda0): time 0.002623/1.402, allocations: 0.9639 MB / 1.403 GB, free: 1.504 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/1.402, allocations: 4 kB / 1.403 GB, free: 1.5 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/1.402, allocations: 0 / 1.403 GB, free: 1.5 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/1.403, allocations: 4 kB / 1.403 GB, free: 1.496 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008788/1.403, allocations: 163.8 kB / 1.403 GB, free: 1.336 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.883e-05/1.403, allocations: 3.938 kB / 1.403 GB, free: 1.332 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002368/1.406, allocations: 172.3 kB / 1.403 GB, free: 1.164 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/1.406, allocations: 31.97 kB / 1.403 GB, free: 1.133 MB / 1.123 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.0003848/1.406, allocations: 212.1 kB / 1.403 GB, free: 0.918 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008056/1.407, allocations: 134.3 kB / 1.403 GB, free: 0.7852 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002758/1.41, allocations: 1.027 MB / 1.404 GB, free: 15.74 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.459e-05/1.41, allocations: 3.984 kB / 1.404 GB, free: 15.74 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/1.41, allocations: 0 / 1.404 GB, free: 15.74 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001176/1.411, allocations: 343.3 kB / 1.405 GB, free: 15.38 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005426/1.412, allocations: 15.98 kB / 1.405 GB, free: 15.37 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001617/1.413, allocations: 75.91 kB / 1.405 GB, free: 15.29 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/1.413, allocations: 40.5 kB / 1.405 GB, free: 15.25 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002449/1.416, allocations: 0.9554 MB / 1.406 GB, free: 14.29 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003176/1.419, allocations: 1.585 MB / 1.407 GB, free: 12.69 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007557/1.42, allocations: 404.2 kB / 1.408 GB, free: 12.3 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.002728/1.423, allocations: 1.178 MB / 1.409 GB, free: 11.12 MB / 1.139 GB Notification: Performance of Backend: time 6.71e-07/1.423, allocations: 0 / 1.409 GB, free: 11.12 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.004618/1.427, allocations: 1.242 MB / 1.41 GB, free: 9.875 MB / 1.139 GB Notification: Performance of SimCode: time 0.005824/1.433, allocations: 2.665 MB / 1.413 GB, free: 7.16 MB / 1.139 GB Notification: Performance of Templates: time 0.06067/1.494, allocations: 31.95 MB / 1.444 GB, free: 7.5 MB / 1.17 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