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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001809/0.001809, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.00184/0.00184, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.407/1.407, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.676/2.676, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 55.91 kB / 1.055 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9623/0.9639, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.2193/1.183, allocations: 198.3 MB / 1.402 GB, free: 6.527 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.009409/1.193, allocations: 5.16 MB / 1.407 GB, free: 1.359 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001729/1.194, allocations: 31.81 kB / 1.407 GB, free: 1.328 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001787/1.196, allocations: 0.6131 MB / 1.408 GB, free: 0.7109 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.005244/1.202, allocations: 1.867 MB / 1.41 GB, free: 14.84 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004809/1.206, allocations: 1.656 MB / 1.411 GB, free: 13.19 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.004532/1.211, allocations: 2.885 MB / 1.414 GB, free: 10.3 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00259/1.214, allocations: 1.452 MB / 1.415 GB, free: 8.824 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002514/1.216, allocations: 1.234 MB / 1.417 GB, free: 7.586 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002186/1.218, allocations: 1.156 MB / 1.418 GB, free: 6.426 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0006907/1.219, allocations: 188 kB / 1.418 GB, free: 6.242 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003292/1.222, allocations: 1.38 MB / 1.419 GB, free: 4.859 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0009267/1.223, allocations: 0.5453 MB / 1.42 GB, free: 4.312 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001479/1.225, allocations: 0.8437 MB / 1.421 GB, free: 3.465 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.004002/1.229, allocations: 2.512 MB / 1.423 GB, free: 0.9453 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/1.229, allocations: 0 / 1.423 GB, free: 0.9453 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.664e-06/1.229, allocations: 0 / 1.423 GB, free: 0.9453 MB / 1.139 GB Notification: Performance of Transformations before backend: time 7.923e-05/1.229, allocations: 3.938 kB / 1.423 GB, free: 0.9414 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.007556/1.236, allocations: 2.126 MB / 1.425 GB, free: 14.76 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/1.236, allocations: 11.97 kB / 1.425 GB, free: 14.75 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00132/1.238, allocations: 230 kB / 1.425 GB, free: 14.52 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003147/1.241, allocations: 1.349 MB / 1.427 GB, free: 13.12 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.991e-05/1.241, allocations: 57.31 kB / 1.427 GB, free: 13.06 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000222/1.241, allocations: 72 kB / 1.427 GB, free: 12.99 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001895/1.243, allocations: 0.8105 MB / 1.428 GB, free: 12.17 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/1.243, allocations: 4 kB / 1.428 GB, free: 12.17 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.494e-05/1.243, allocations: 27.98 kB / 1.428 GB, free: 12.14 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.649e-05/1.243, allocations: 21.31 kB / 1.428 GB, free: 12.12 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001923/1.245, allocations: 0.8444 MB / 1.429 GB, free: 11.28 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.007039/1.252, allocations: 3.451 MB / 1.432 GB, free: 7.66 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00153/1.254, allocations: 0.7353 MB / 1.433 GB, free: 6.895 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008439/1.255, allocations: 445.8 kB / 1.433 GB, free: 6.457 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004438/1.255, allocations: 299.7 kB / 1.433 GB, free: 6.109 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.304e-05/1.255, allocations: 35 kB / 1.433 GB, free: 6.066 MB / 1.154 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001323/1.257, allocations: 187.4 kB / 1.434 GB, free: 5.883 MB / 1.154 GB Notification: Performance of pre-optimization done (n=53): time 5.901e-06/1.257, allocations: 0 / 1.434 GB, free: 5.883 MB / 1.154 GB Notification: Performance of matching and sorting (n=53): time 0.003351/1.26, allocations: 1.309 MB / 1.435 GB, free: 4.57 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/1.26, allocations: 59.83 kB / 1.435 GB, free: 4.5 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003318/1.263, allocations: 1.633 MB / 1.436 GB, free: 2.852 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001847/1.264, allocations: 41.7 kB / 1.437 GB, free: 2.805 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005845/1.264, allocations: 0.5307 MB / 1.437 GB, free: 2.27 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002843/1.264, allocations: 181.3 kB / 1.437 GB, free: 2.09 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003342/1.265, allocations: 150.2 kB / 1.437 GB, free: 1.938 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001659/1.265, allocations: 330 kB / 1.438 GB, free: 1.609 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007993/1.266, allocations: 354.9 kB / 1.438 GB, free: 1.262 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/1.267, allocations: 0.6239 MB / 1.439 GB, free: 0.5352 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00173/1.269, allocations: 0.7688 MB / 1.439 GB, free: 15.76 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/1.269, allocations: 7.938 kB / 1.439 GB, free: 15.75 MB / 1.17 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.002514/1.271, allocations: 0.9658 MB / 1.44 GB, free: 14.78 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/1.271, allocations: 4 kB / 1.44 GB, free: 14.77 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/1.271, allocations: 0 / 1.44 GB, free: 14.77 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/1.271, allocations: 4 kB / 1.44 GB, free: 14.77 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009367/1.272, allocations: 167.8 kB / 1.44 GB, free: 14.61 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.435e-05/1.272, allocations: 0 / 1.44 GB, free: 14.61 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002105/1.274, allocations: 135 kB / 1.441 GB, free: 14.48 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/1.275, allocations: 27.97 kB / 1.441 GB, free: 14.45 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001257/1.276, allocations: 0.5713 MB / 1.441 GB, free: 13.88 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001062/1.277, allocations: 0.6243 MB / 1.442 GB, free: 13.14 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001566/1.278, allocations: 0.7654 MB / 1.443 GB, free: 12.37 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.046e-06/1.278, allocations: 0 / 1.443 GB, free: 12.37 MB / 1.17 GB Notification: Performance of matching and sorting (n=57) (initialization_lambda0): time 0.002472/1.281, allocations: 0.9607 MB / 1.444 GB, free: 11.4 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/1.281, allocations: 9.875 kB / 1.444 GB, free: 11.39 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/1.281, allocations: 0 / 1.444 GB, free: 11.39 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.634e-06/1.281, allocations: 0 / 1.444 GB, free: 11.39 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008818/1.282, allocations: 167.8 kB / 1.444 GB, free: 11.23 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.59e-05/1.282, allocations: 7.938 kB / 1.444 GB, free: 11.22 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002237/1.284, allocations: 164.3 kB / 1.444 GB, free: 11.06 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.471e-05/1.284, allocations: 24.05 kB / 1.444 GB, free: 11.04 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.0002928/1.285, allocations: 224.1 kB / 1.444 GB, free: 10.81 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005729/1.285, allocations: 126.4 kB / 1.444 GB, free: 10.68 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00251/1.288, allocations: 1.031 MB / 1.445 GB, free: 9.652 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/1.288, allocations: 4 kB / 1.445 GB, free: 9.648 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/1.288, allocations: 4 kB / 1.445 GB, free: 9.645 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/1.288, allocations: 7.984 kB / 1.445 GB, free: 9.637 MB / 1.17 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.004897/1.293, allocations: 2.482 MB / 1.448 GB, free: 7.051 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/1.293, allocations: 4 kB / 1.448 GB, free: 7.047 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007659/1.293, allocations: 132.1 kB / 1.448 GB, free: 6.918 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.351e-05/1.293, allocations: 4 kB / 1.448 GB, free: 6.914 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.127e-05/1.293, allocations: 23.92 kB / 1.448 GB, free: 6.891 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.803e-06/1.293, allocations: 4 kB / 1.448 GB, free: 6.887 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/1.293, allocations: 4 kB / 1.448 GB, free: 6.883 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003149/1.297, allocations: 1.52 MB / 1.449 GB, free: 5.312 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008633/1.298, allocations: 347.3 kB / 1.45 GB, free: 4.953 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004628/1.298, allocations: 19.94 kB / 1.45 GB, free: 4.934 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001558/1.3, allocations: 75.89 kB / 1.45 GB, free: 4.859 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001637/1.3, allocations: 56.44 kB / 1.45 GB, free: 4.805 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.959e-05/1.3, allocations: 20 kB / 1.45 GB, free: 4.785 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.002427/1.302, allocations: 1.182 MB / 1.451 GB, free: 3.602 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.7e-07/1.302, allocations: 0 / 1.451 GB, free: 3.602 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001979/1.304, allocations: 0.5031 MB / 1.451 GB, free: 3.098 MB / 1.17 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.000674/1.305, allocations: 230.1 kB / 1.452 GB, free: 2.871 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002822/1.308, allocations: 1.235 MB / 1.453 GB, free: 1.637 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/1.308, allocations: 0 / 1.453 GB, free: 1.637 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0008669/1.309, allocations: 422.9 kB / 1.453 GB, free: 1.227 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003174/1.312, allocations: 0.5286 MB / 1.454 GB, free: 0.7031 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004159/1.316, allocations: 2.199 MB / 1.456 GB, free: 14.44 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008656/1.317, allocations: 1.152 MB / 1.457 GB, free: 13.26 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000731/1.318, allocations: 123.4 kB / 1.457 GB, free: 13.14 MB / 1.186 GB Notification: Performance of SimCode: time 1.403e-06/1.318, allocations: 8 kB / 1.457 GB, free: 13.13 MB / 1.186 GB Notification: Performance of Templates: time 0.03375/1.351, allocations: 20.88 MB / 1.478 GB, free: 8.441 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