Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001128/0.001128, allocations: 108.2 kB / 16.41 MB, free: 6.492 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.00126/0.00126, allocations: 192.2 kB / 17.35 MB, free: 5.738 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.328/1.328, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.569/2.569, allocations: 461.7 MB / 0.7352 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 59.91 kB / 1.055 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9231/0.9247, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.2338/1.159, allocations: 198.4 MB / 1.402 GB, free: 6.559 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.008812/1.167, allocations: 5.154 MB / 1.407 GB, free: 1.395 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001649/1.169, allocations: 31.81 kB / 1.407 GB, free: 1.363 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001832/1.171, allocations: 0.6092 MB / 1.408 GB, free: 0.75 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.005084/1.176, allocations: 1.874 MB / 1.409 GB, free: 14.87 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004844/1.181, allocations: 1.664 MB / 1.411 GB, free: 13.22 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.00476/1.186, allocations: 2.888 MB / 1.414 GB, free: 10.32 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002742/1.189, allocations: 1.436 MB / 1.415 GB, free: 8.859 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003156/1.192, allocations: 1.222 MB / 1.416 GB, free: 7.633 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002345/1.194, allocations: 1.164 MB / 1.418 GB, free: 6.465 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0007191/1.195, allocations: 188 kB / 1.418 GB, free: 6.281 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003846/1.199, allocations: 1.384 MB / 1.419 GB, free: 4.895 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.001074/1.2, allocations: 0.5453 MB / 1.42 GB, free: 4.348 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.002132/1.202, allocations: 0.8398 MB / 1.42 GB, free: 3.504 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.004605/1.207, allocations: 2.508 MB / 1.423 GB, free: 0.9883 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/1.207, allocations: 0 / 1.423 GB, free: 0.9883 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.603e-06/1.207, allocations: 0 / 1.423 GB, free: 0.9883 MB / 1.139 GB Notification: Performance of Transformations before backend: time 8.087e-05/1.207, allocations: 0 / 1.423 GB, free: 0.9883 MB / 1.139 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.006982/1.214, allocations: 2.132 MB / 1.425 GB, free: 14.8 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/1.214, allocations: 8.031 kB / 1.425 GB, free: 14.79 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001313/1.215, allocations: 226 kB / 1.425 GB, free: 14.57 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003111/1.218, allocations: 1.353 MB / 1.427 GB, free: 13.16 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.908e-05/1.218, allocations: 57.31 kB / 1.427 GB, free: 13.11 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001967/1.218, allocations: 75.94 kB / 1.427 GB, free: 13.04 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001733/1.22, allocations: 0.8066 MB / 1.427 GB, free: 12.22 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/1.22, allocations: 4 kB / 1.427 GB, free: 12.21 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.577e-05/1.22, allocations: 24 kB / 1.427 GB, free: 12.19 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.688e-05/1.22, allocations: 25.31 kB / 1.428 GB, free: 12.17 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001781/1.222, allocations: 0.8483 MB / 1.428 GB, free: 11.32 MB / 1.154 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.006559/1.229, allocations: 3.447 MB / 1.432 GB, free: 7.707 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001457/1.23, allocations: 0.7353 MB / 1.432 GB, free: 6.941 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008421/1.231, allocations: 451.7 kB / 1.433 GB, free: 6.5 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000409/1.231, allocations: 291.7 kB / 1.433 GB, free: 6.16 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/1.231, allocations: 39 kB / 1.433 GB, free: 6.113 MB / 1.154 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001139/1.233, allocations: 191.4 kB / 1.433 GB, free: 5.926 MB / 1.154 GB Notification: Performance of pre-optimization done (n=53): time 5.761e-06/1.233, allocations: 0 / 1.433 GB, free: 5.926 MB / 1.154 GB Notification: Performance of matching and sorting (n=53): time 0.003092/1.236, allocations: 1.305 MB / 1.435 GB, free: 4.617 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/1.236, allocations: 59.84 kB / 1.435 GB, free: 4.547 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003226/1.239, allocations: 1.633 MB / 1.436 GB, free: 2.898 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001218/1.239, allocations: 41.7 kB / 1.436 GB, free: 2.852 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006126/1.24, allocations: 0.5306 MB / 1.437 GB, free: 2.316 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002718/1.24, allocations: 185.3 kB / 1.437 GB, free: 2.133 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004/1.24, allocations: 150.2 kB / 1.437 GB, free: 1.98 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001391/1.241, allocations: 330 kB / 1.437 GB, free: 1.652 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007497/1.241, allocations: 358.9 kB / 1.438 GB, free: 1.301 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/1.242, allocations: 0.62 MB / 1.438 GB, free: 0.5781 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001643/1.244, allocations: 0.7649 MB / 1.439 GB, free: 15.8 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/1.244, allocations: 4 kB / 1.439 GB, free: 15.8 MB / 1.17 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.002448/1.247, allocations: 0.9697 MB / 1.44 GB, free: 14.82 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/1.247, allocations: 4 kB / 1.44 GB, free: 14.82 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/1.247, allocations: 0 / 1.44 GB, free: 14.82 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/1.247, allocations: 8 kB / 1.44 GB, free: 14.81 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008611/1.247, allocations: 163.8 kB / 1.44 GB, free: 14.65 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/1.247, allocations: 3.984 kB / 1.44 GB, free: 14.64 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001692/1.249, allocations: 127.8 kB / 1.44 GB, free: 14.52 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.507e-05/1.249, allocations: 35.95 kB / 1.44 GB, free: 14.48 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001124/1.25, allocations: 0.5752 MB / 1.441 GB, free: 13.91 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001073/1.252, allocations: 0.6165 MB / 1.442 GB, free: 13.18 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001489/1.253, allocations: 0.7661 MB / 1.442 GB, free: 12.41 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.418e-06/1.253, allocations: 4 kB / 1.442 GB, free: 12.41 MB / 1.17 GB Notification: Performance of matching and sorting (n=57) (initialization_lambda0): time 0.002342/1.255, allocations: 0.9604 MB / 1.443 GB, free: 11.44 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/1.255, allocations: 4 kB / 1.443 GB, free: 11.44 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/1.255, allocations: 0 / 1.443 GB, free: 11.44 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.809e-06/1.255, allocations: 8 kB / 1.443 GB, free: 11.43 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008304/1.256, allocations: 167.7 kB / 1.443 GB, free: 11.27 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/1.256, allocations: 0 / 1.443 GB, free: 11.27 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001894/1.258, allocations: 160.3 kB / 1.444 GB, free: 11.11 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-05/1.258, allocations: 31.97 kB / 1.444 GB, free: 11.08 MB / 1.17 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.000273/1.259, allocations: 224.1 kB / 1.444 GB, free: 10.85 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004224/1.259, allocations: 130.3 kB / 1.444 GB, free: 10.72 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002588/1.262, allocations: 1.023 MB / 1.445 GB, free: 9.699 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/1.262, allocations: 11.92 kB / 1.445 GB, free: 9.688 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/1.262, allocations: 4 kB / 1.445 GB, free: 9.684 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007756/1.262, allocations: 339.3 kB / 1.445 GB, free: 9.332 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003513/1.263, allocations: 15.98 kB / 1.445 GB, free: 9.316 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001293/1.264, allocations: 75.91 kB / 1.445 GB, free: 9.242 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/1.264, allocations: 44.5 kB / 1.445 GB, free: 9.195 MB / 1.17 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002291/1.267, allocations: 0.9593 MB / 1.446 GB, free: 8.23 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003024/1.27, allocations: 1.573 MB / 1.448 GB, free: 6.641 MB / 1.17 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007398/1.27, allocations: 404.3 kB / 1.448 GB, free: 6.246 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.002437/1.273, allocations: 1.186 MB / 1.449 GB, free: 5.059 MB / 1.17 GB Notification: Performance of Backend: time 6.22e-07/1.273, allocations: 0 / 1.449 GB, free: 5.059 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.003937/1.277, allocations: 1.238 MB / 1.451 GB, free: 3.824 MB / 1.17 GB Notification: Performance of SimCode: time 0.004921/1.282, allocations: 2.667 MB / 1.453 GB, free: 1.105 MB / 1.17 GB Notification: Performance of Templates: time 0.05248/1.334, allocations: 31.75 MB / 1.484 GB, free: 1.66 MB / 1.201 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches