Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001734/0.001734, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002075/0.002075, allocations: 187.6 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.764/2.764, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 177] 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.MixingBox,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mixBox.damOA.m_flow|mixBox.damExh.m_flow|mixBox.damRec.m_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mixBox.damOA.m_flow|mixBox.damExh.m_flow|mixBox.damRec.m_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 71.88 kB / 1.109 GB, free: 6.535 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9623/0.9644, allocations: 168.7 MB / 1.274 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.2395/1.204, allocations: 190.7 MB / 1.46 GB, free: 5.027 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.008875/1.213, allocations: 4.306 MB / 1.464 GB, free: 0.7148 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00167/1.214, allocations: 27.81 kB / 1.464 GB, free: 0.6875 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001762/1.216, allocations: 0.5201 MB / 1.465 GB, free: 168 kB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00516/1.221, allocations: 1.622 MB / 1.467 GB, free: 14.54 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003986/1.225, allocations: 1.366 MB / 1.468 GB, free: 13.18 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003871/1.229, allocations: 2.272 MB / 1.47 GB, free: 10.9 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001705/1.231, allocations: 0.9283 MB / 1.471 GB, free: 9.953 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002218/1.233, allocations: 0.9771 MB / 1.472 GB, free: 8.973 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001748/1.235, allocations: 0.9184 MB / 1.473 GB, free: 8.051 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0003372/1.235, allocations: 144 kB / 1.473 GB, free: 7.91 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002994/1.238, allocations: 1.294 MB / 1.474 GB, free: 6.613 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0005546/1.239, allocations: 434.6 kB / 1.475 GB, free: 6.188 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0008967/1.24, allocations: 0.6531 MB / 1.475 GB, free: 5.531 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003415/1.243, allocations: 1.993 MB / 1.477 GB, free: 3.531 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 8.737e-06/1.243, allocations: 4 kB / 1.477 GB, free: 3.527 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.653e-06/1.243, allocations: 0 / 1.477 GB, free: 3.527 MB / 1.17 GB Notification: Performance of Transformations before backend: time 3.971e-05/1.243, allocations: 0 / 1.477 GB, free: 3.527 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.005062/1.248, allocations: 1.723 MB / 1.479 GB, free: 1.75 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/1.248, allocations: 12.03 kB / 1.479 GB, free: 1.738 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001074/1.249, allocations: 191.1 kB / 1.479 GB, free: 1.551 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002536/1.252, allocations: 1.081 MB / 1.48 GB, free: 424 kB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.466e-05/1.252, allocations: 44.98 kB / 1.48 GB, free: 376 kB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001567/1.252, allocations: 63.94 kB / 1.48 GB, free: 312 kB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001686/1.254, allocations: 0.6348 MB / 1.481 GB, free: 15.67 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/1.254, allocations: 0 / 1.481 GB, free: 15.67 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.036e-05/1.254, allocations: 20 kB / 1.481 GB, free: 15.65 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.78e-05/1.254, allocations: 17 kB / 1.481 GB, free: 15.63 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001614/1.255, allocations: 0.6519 MB / 1.482 GB, free: 14.98 MB / 1.186 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.005943/1.261, allocations: 2.67 MB / 1.484 GB, free: 12.17 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/1.263, allocations: 0.4982 MB / 1.485 GB, free: 11.66 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006601/1.263, allocations: 341.2 kB / 1.485 GB, free: 11.32 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004839/1.264, allocations: 299.2 kB / 1.485 GB, free: 10.98 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.357e-05/1.264, allocations: 38.5 kB / 1.485 GB, free: 10.93 MB / 1.186 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001057/1.265, allocations: 195.6 kB / 1.486 GB, free: 10.74 MB / 1.186 GB Notification: Performance of pre-optimization done (n=43): time 3.066e-06/1.265, allocations: 0 / 1.486 GB, free: 10.74 MB / 1.186 GB Notification: Performance of matching and sorting (n=43): time 0.002475/1.267, allocations: 1.016 MB / 1.487 GB, free: 9.715 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.774e-05/1.267, allocations: 59.34 kB / 1.487 GB, free: 9.645 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00219/1.27, allocations: 1.279 MB / 1.488 GB, free: 8.348 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 8.974e-05/1.27, allocations: 37.7 kB / 1.488 GB, free: 8.305 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004246/1.27, allocations: 438 kB / 1.488 GB, free: 7.875 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.000161/1.27, allocations: 154.6 kB / 1.488 GB, free: 7.723 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000228/1.27, allocations: 122 kB / 1.489 GB, free: 7.598 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001448/1.271, allocations: 321.9 kB / 1.489 GB, free: 7.277 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006056/1.271, allocations: 278.2 kB / 1.489 GB, free: 7.004 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008582/1.272, allocations: 497 kB / 1.49 GB, free: 6.441 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001299/1.273, allocations: 0.5794 MB / 1.49 GB, free: 5.859 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.273, allocations: 0 / 1.49 GB, free: 5.859 MB / 1.186 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001744/1.275, allocations: 0.7498 MB / 1.491 GB, free: 5.102 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/1.275, allocations: 8 kB / 1.491 GB, free: 5.094 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/1.275, allocations: 0 / 1.491 GB, free: 5.094 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/1.275, allocations: 0 / 1.491 GB, free: 5.094 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007282/1.276, allocations: 119.8 kB / 1.491 GB, free: 4.977 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/1.276, allocations: 4 kB / 1.491 GB, free: 4.973 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/1.277, allocations: 91.88 kB / 1.491 GB, free: 4.883 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.828e-05/1.277, allocations: 19.98 kB / 1.491 GB, free: 4.863 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009335/1.278, allocations: 467.9 kB / 1.492 GB, free: 4.402 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008445/1.279, allocations: 490.2 kB / 1.492 GB, free: 3.844 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001244/1.28, allocations: 0.5775 MB / 1.493 GB, free: 3.262 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.635e-06/1.28, allocations: 0 / 1.493 GB, free: 3.262 MB / 1.186 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001759/1.282, allocations: 0.7464 MB / 1.493 GB, free: 2.512 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/1.282, allocations: 7.938 kB / 1.493 GB, free: 2.504 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/1.282, allocations: 0 / 1.493 GB, free: 2.504 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.208e-06/1.282, allocations: 7.984 kB / 1.493 GB, free: 2.496 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000672/1.283, allocations: 123.8 kB / 1.493 GB, free: 2.375 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/1.283, allocations: 4 kB / 1.493 GB, free: 2.371 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001504/1.284, allocations: 128.3 kB / 1.494 GB, free: 2.246 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-05/1.284, allocations: 19.97 kB / 1.494 GB, free: 2.227 MB / 1.186 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 (45): * Single equations (assignments): 45 * 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.0002795/1.285, allocations: 212.2 kB / 1.494 GB, free: 2.012 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000269/1.285, allocations: 107.3 kB / 1.494 GB, free: 1.906 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001907/1.287, allocations: 0.7992 MB / 1.495 GB, free: 1.098 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.914e-06/1.287, allocations: 4 kB / 1.495 GB, free: 1.094 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/1.287, allocations: 4 kB / 1.495 GB, free: 1.09 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/1.287, allocations: 7.922 kB / 1.495 GB, free: 1.082 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003904/1.291, allocations: 1.965 MB / 1.497 GB, free: 15.04 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/1.291, allocations: 0 / 1.497 GB, free: 15.04 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006296/1.291, allocations: 111.8 kB / 1.497 GB, free: 14.93 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.241e-05/1.291, allocations: 4 kB / 1.497 GB, free: 14.92 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-05/1.291, allocations: 19.98 kB / 1.497 GB, free: 14.9 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.937e-06/1.291, allocations: 7.938 kB / 1.497 GB, free: 14.89 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-05/1.291, allocations: 12.22 kB / 1.497 GB, free: 14.88 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00256/1.294, allocations: 1.225 MB / 1.498 GB, free: 13.61 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007441/1.295, allocations: 296.2 kB / 1.498 GB, free: 13.3 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000294/1.295, allocations: 19.98 kB / 1.498 GB, free: 13.29 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001221/1.296, allocations: 67.86 kB / 1.498 GB, free: 13.22 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/1.296, allocations: 39.94 kB / 1.498 GB, free: 13.18 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.077e-05/1.296, allocations: 20 kB / 1.498 GB, free: 13.16 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.00196/1.298, allocations: 0.9208 MB / 1.499 GB, free: 12.23 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/1.298, allocations: 0 / 1.499 GB, free: 12.23 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001645/1.3, allocations: 407.5 kB / 1.5 GB, free: 11.83 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.s[1],mixBox.filter.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 (52): * Single equations (assignments): 52 * 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.0006541/1.301, allocations: 215 kB / 1.5 GB, free: 11.62 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002315/1.303, allocations: 0.9011 MB / 1.501 GB, free: 10.71 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/1.303, allocations: 4 kB / 1.501 GB, free: 10.71 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0007165/1.304, allocations: 319.6 kB / 1.501 GB, free: 10.4 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002645/1.306, allocations: 434.9 kB / 1.502 GB, free: 9.984 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003926/1.31, allocations: 1.72 MB / 1.503 GB, free: 8.199 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000971/1.311, allocations: 1.045 MB / 1.504 GB, free: 7.125 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.00148/1.313, allocations: 287.1 kB / 1.504 GB, free: 6.84 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005557/1.313, allocations: 99.38 kB / 1.505 GB, free: 6.742 MB / 1.201 GB Notification: Performance of SimCode: time 1.623e-06/1.313, allocations: 0 / 1.505 GB, free: 6.742 MB / 1.201 GB Notification: Performance of Templates: time 0.0438/1.357, allocations: 21.87 MB / 1.526 GB, free: 1.125 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.034457733854651]