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.001605/0.001605, allocations: 111.1 kB / 16.41 MB, free: 6.52 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.001767/0.001768, allocations: 185.5 kB / 17.34 MB, free: 5.734 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.468/1.468, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.465/2.465, allocations: 437 MB / 0.7112 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 75.89 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9931/0.9947, allocations: 151.6 MB / 1.167 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.2433/1.238, allocations: 198.4 MB / 1.361 GB, free: 12.71 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01038/1.248, allocations: 5.162 MB / 1.366 GB, free: 7.535 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001993/1.25, allocations: 35.81 kB / 1.366 GB, free: 7.5 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001931/1.252, allocations: 0.621 MB / 1.367 GB, free: 6.875 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.005786/1.258, allocations: 1.947 MB / 1.369 GB, free: 4.922 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004943/1.263, allocations: 1.674 MB / 1.37 GB, free: 3.262 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.005064/1.268, allocations: 2.9 MB / 1.373 GB, free: 360 kB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002308/1.271, allocations: 1.454 MB / 1.374 GB, free: 14.88 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002345/1.273, allocations: 1.254 MB / 1.376 GB, free: 13.62 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001733/1.275, allocations: 1.148 MB / 1.377 GB, free: 12.46 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0003458/1.275, allocations: 192 kB / 1.377 GB, free: 12.28 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003334/1.278, allocations: 1.384 MB / 1.378 GB, free: 10.89 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.000603/1.279, allocations: 0.5491 MB / 1.379 GB, free: 10.34 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001173/1.28, allocations: 0.8437 MB / 1.38 GB, free: 9.492 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.004274/1.285, allocations: 2.523 MB / 1.382 GB, free: 6.961 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/1.285, allocations: 0 / 1.382 GB, free: 6.961 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.605e-06/1.285, allocations: 0 / 1.382 GB, free: 6.961 MB / 1.107 GB Notification: Performance of Transformations before backend: time 3.101e-05/1.285, allocations: 0 / 1.382 GB, free: 6.961 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.008164/1.293, allocations: 2.172 MB / 1.384 GB, free: 4.73 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 8.537e-05/1.293, allocations: 12.88 kB / 1.384 GB, free: 4.719 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001667/1.295, allocations: 234.9 kB / 1.385 GB, free: 4.488 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003612/1.298, allocations: 1.358 MB / 1.386 GB, free: 3.078 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.148e-05/1.298, allocations: 53.31 kB / 1.386 GB, free: 3.027 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002627/1.299, allocations: 76 kB / 1.386 GB, free: 2.953 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002571/1.301, allocations: 0.8066 MB / 1.387 GB, free: 2.137 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.086e-05/1.301, allocations: 7.922 kB / 1.387 GB, free: 2.129 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/1.301, allocations: 24 kB / 1.387 GB, free: 2.105 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-05/1.301, allocations: 25.31 kB / 1.387 GB, free: 2.082 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002544/1.304, allocations: 0.8406 MB / 1.388 GB, free: 1.242 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.008887/1.313, allocations: 3.463 MB / 1.391 GB, free: 13.62 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002012/1.315, allocations: 0.7309 MB / 1.392 GB, free: 12.86 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001109/1.316, allocations: 445.8 kB / 1.392 GB, free: 12.43 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005746/1.317, allocations: 295.7 kB / 1.392 GB, free: 12.08 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/1.317, allocations: 42.94 kB / 1.392 GB, free: 12.03 MB / 1.123 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001471/1.318, allocations: 195.5 kB / 1.393 GB, free: 11.84 MB / 1.123 GB Notification: Performance of pre-optimization done (n=53): time 8.887e-06/1.318, allocations: 0 / 1.393 GB, free: 11.84 MB / 1.123 GB Notification: Performance of matching and sorting (n=53): time 0.004549/1.323, allocations: 1.306 MB / 1.394 GB, free: 10.53 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/1.323, allocations: 59.78 kB / 1.394 GB, free: 10.46 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004532/1.327, allocations: 1.633 MB / 1.396 GB, free: 8.809 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.000148/1.328, allocations: 45.7 kB / 1.396 GB, free: 8.758 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006403/1.328, allocations: 0.531 MB / 1.396 GB, free: 8.227 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002157/1.328, allocations: 194.3 kB / 1.396 GB, free: 8.035 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000349/1.329, allocations: 158.1 kB / 1.397 GB, free: 7.875 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001335/1.329, allocations: 326 kB / 1.397 GB, free: 7.551 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007561/1.33, allocations: 366.7 kB / 1.397 GB, free: 7.188 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001024/1.331, allocations: 0.6201 MB / 1.398 GB, free: 6.469 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001601/1.332, allocations: 0.7687 MB / 1.399 GB, free: 5.695 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/1.332, allocations: 0 / 1.399 GB, free: 5.695 MB / 1.123 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.002138/1.334, allocations: 0.9744 MB / 1.399 GB, free: 4.711 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/1.335, allocations: 4 kB / 1.399 GB, free: 4.707 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/1.335, allocations: 0 / 1.399 GB, free: 4.707 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/1.335, allocations: 4 kB / 1.399 GB, free: 4.703 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009366/1.336, allocations: 167.8 kB / 1.4 GB, free: 4.539 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.537e-05/1.336, allocations: 0 / 1.4 GB, free: 4.539 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002412/1.338, allocations: 123.8 kB / 1.4 GB, free: 4.418 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001417/1.338, allocations: 31.97 kB / 1.4 GB, free: 4.387 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001531/1.34, allocations: 0.5751 MB / 1.4 GB, free: 3.809 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001385/1.341, allocations: 0.6133 MB / 1.401 GB, free: 3.09 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002102/1.343, allocations: 0.7697 MB / 1.402 GB, free: 2.312 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.178e-06/1.343, allocations: 0 / 1.402 GB, free: 2.312 MB / 1.123 GB Notification: Performance of matching and sorting (n=57) (initialization_lambda0): time 0.003081/1.346, allocations: 0.9724 MB / 1.403 GB, free: 1.336 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/1.346, allocations: 4 kB / 1.403 GB, free: 1.332 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/1.346, allocations: 0 / 1.403 GB, free: 1.332 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/1.346, allocations: 4 kB / 1.403 GB, free: 1.328 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/1.347, allocations: 167.7 kB / 1.403 GB, free: 1.164 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.602e-05/1.348, allocations: 3.984 kB / 1.403 GB, free: 1.16 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002617/1.35, allocations: 168.3 kB / 1.403 GB, free: 0.9961 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/1.35, allocations: 31.97 kB / 1.403 GB, free: 0.9648 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.0003425/1.351, allocations: 208.2 kB / 1.403 GB, free: 0.7539 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006543/1.351, allocations: 139 kB / 1.403 GB, free: 0.6172 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00321/1.355, allocations: 1.035 MB / 1.404 GB, free: 15.57 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.233e-05/1.355, allocations: 3.984 kB / 1.404 GB, free: 15.56 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/1.355, allocations: 4 kB / 1.404 GB, free: 15.56 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001054/1.356, allocations: 352 kB / 1.405 GB, free: 15.2 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005258/1.356, allocations: 12 kB / 1.405 GB, free: 15.18 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002063/1.358, allocations: 71.89 kB / 1.405 GB, free: 15.11 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002051/1.358, allocations: 48.44 kB / 1.405 GB, free: 15.07 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003186/1.362, allocations: 0.9515 MB / 1.406 GB, free: 14.11 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00319/1.365, allocations: 1.585 MB / 1.407 GB, free: 12.51 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007576/1.366, allocations: 400.2 kB / 1.408 GB, free: 12.12 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.002555/1.368, allocations: 1.182 MB / 1.409 GB, free: 10.93 MB / 1.139 GB Notification: Performance of Backend: time 7.11e-07/1.368, allocations: 0 / 1.409 GB, free: 10.93 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.00437/1.373, allocations: 1.25 MB / 1.41 GB, free: 9.688 MB / 1.139 GB Notification: Performance of SimCode: time 0.00577/1.378, allocations: 2.706 MB / 1.413 GB, free: 6.926 MB / 1.139 GB Notification: Performance of Templates: time 0.05551/1.434, allocations: 31.95 MB / 1.444 GB, free: 7.27 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