Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001778/0.001778, allocations: 118.1 kB / 17.13 MB, free: 5.758 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.001861/0.001861, allocations: 194.1 kB / 20.08 MB, free: 2.848 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.555/1.555, allocations: 225.6 MB / 248.5 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.663/2.663, allocations: 443.5 MB / 0.7293 GB, free: 14.62 MB / 0.5762 GB " [Timeout remaining time 177] 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.MixingBox,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mixBox.damOA.m_flow|mixBox.damExh.m_flow|mixBox.damRec.m_flow",fileNamePrefix="Buildings_10_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_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 59.91 kB / 1.057 GB, free: 2.027 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3186, allocations: 160.7 MB / 1.214 GB, free: 0.9922 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 1.007/1.325, allocations: 190.4 MB / 1.4 GB, free: 9.879 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.008677/1.334, allocations: 4.273 MB / 1.404 GB, free: 6.395 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00153/1.335, allocations: 28.81 kB / 1.404 GB, free: 6.383 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001662/1.337, allocations: 0.5269 MB / 1.405 GB, free: 5.941 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005015/1.342, allocations: 1.627 MB / 1.406 GB, free: 4.672 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004177/1.346, allocations: 1.36 MB / 1.408 GB, free: 3.688 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004157/1.35, allocations: 2.273 MB / 1.41 GB, free: 2.352 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001801/1.352, allocations: 0.9633 MB / 1.411 GB, free: 1.66 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00228/1.354, allocations: 0.9754 MB / 1.412 GB, free: 1.086 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001671/1.356, allocations: 0.9168 MB / 1.413 GB, free: 492 kB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002959/1.356, allocations: 141.8 kB / 1.413 GB, free: 492 kB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003144/1.36, allocations: 1.298 MB / 1.414 GB, free: 15.79 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0005553/1.36, allocations: 435.2 kB / 1.414 GB, free: 15.46 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0009031/1.361, allocations: 0.6552 MB / 1.415 GB, free: 14.98 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003414/1.364, allocations: 1.993 MB / 1.417 GB, free: 13.58 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/1.364, allocations: 0 / 1.417 GB, free: 13.58 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.535e-06/1.364, allocations: 0 / 1.417 GB, free: 13.58 MB / 1.092 GB Notification: Performance of Transformations before backend: time 3.045e-05/1.364, allocations: 0 / 1.417 GB, free: 13.58 MB / 1.092 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.004586/1.369, allocations: 1.726 MB / 1.419 GB, free: 12.27 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/1.369, allocations: 10.28 kB / 1.419 GB, free: 12.27 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009265/1.37, allocations: 186.9 kB / 1.419 GB, free: 12.18 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001991/1.372, allocations: 1.082 MB / 1.42 GB, free: 11.36 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.906e-05/1.372, allocations: 47.95 kB / 1.42 GB, free: 11.34 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/1.372, allocations: 62.5 kB / 1.42 GB, free: 11.32 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/1.373, allocations: 0.6298 MB / 1.421 GB, free: 10.95 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/1.374, allocations: 0 / 1.421 GB, free: 10.95 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.448e-05/1.374, allocations: 20.59 kB / 1.421 GB, free: 10.94 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.302e-05/1.374, allocations: 20.67 kB / 1.421 GB, free: 10.93 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001364/1.375, allocations: 0.6571 MB / 1.421 GB, free: 10.61 MB / 1.092 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.004637/1.38, allocations: 2.657 MB / 1.424 GB, free: 8.496 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/1.381, allocations: 0.5113 MB / 1.424 GB, free: 8.227 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006568/1.381, allocations: 344.4 kB / 1.425 GB, free: 8.051 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004429/1.382, allocations: 289.5 kB / 1.425 GB, free: 7.75 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.961e-05/1.382, allocations: 45.3 kB / 1.425 GB, free: 7.699 MB / 1.092 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001026/1.383, allocations: 190.1 kB / 1.425 GB, free: 7.617 MB / 1.092 GB Notification: Performance of pre-optimization done (n=43): time 2.595e-06/1.383, allocations: 0 / 1.425 GB, free: 7.617 MB / 1.092 GB Notification: Performance of matching and sorting (n=43): time 0.002505/1.385, allocations: 1.025 MB / 1.426 GB, free: 7.102 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/1.385, allocations: 64.53 kB / 1.426 GB, free: 7.031 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002164/1.388, allocations: 1.27 MB / 1.428 GB, free: 6.312 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 9.143e-05/1.388, allocations: 37.7 kB / 1.428 GB, free: 6.27 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004115/1.388, allocations: 430 kB / 1.428 GB, free: 5.848 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.000175/1.388, allocations: 154.6 kB / 1.428 GB, free: 5.695 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002478/1.388, allocations: 122 kB / 1.428 GB, free: 5.57 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001537/1.389, allocations: 322 kB / 1.429 GB, free: 5.25 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000611/1.389, allocations: 278.1 kB / 1.429 GB, free: 4.977 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008571/1.39, allocations: 485.1 kB / 1.429 GB, free: 4.426 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/1.391, allocations: 0.583 MB / 1.43 GB, free: 3.84 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/1.391, allocations: 3.938 kB / 1.43 GB, free: 3.836 MB / 1.092 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001738/1.393, allocations: 0.7423 MB / 1.431 GB, free: 3.086 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/1.393, allocations: 5.875 kB / 1.431 GB, free: 3.082 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/1.393, allocations: 0 / 1.431 GB, free: 3.082 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/1.393, allocations: 4 kB / 1.431 GB, free: 3.078 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007026/1.394, allocations: 127.5 kB / 1.431 GB, free: 2.957 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/1.394, allocations: 0 / 1.431 GB, free: 2.957 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/1.395, allocations: 91.88 kB / 1.431 GB, free: 2.867 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.431e-05/1.395, allocations: 23.97 kB / 1.431 GB, free: 2.844 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009121/1.396, allocations: 467.9 kB / 1.431 GB, free: 2.383 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008248/1.397, allocations: 489.9 kB / 1.432 GB, free: 1.824 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001259/1.398, allocations: 0.5726 MB / 1.432 GB, free: 1.246 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.469e-06/1.398, allocations: 4 kB / 1.432 GB, free: 1.242 MB / 1.092 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001752/1.4, allocations: 0.7466 MB / 1.433 GB, free: 500 kB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/1.4, allocations: 11.94 kB / 1.433 GB, free: 488 kB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-06/1.4, allocations: 0 / 1.433 GB, free: 488 kB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.358e-06/1.4, allocations: 0 / 1.433 GB, free: 488 kB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006399/1.401, allocations: 123.8 kB / 1.433 GB, free: 364 kB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/1.401, allocations: 4 kB / 1.433 GB, free: 360 kB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001426/1.402, allocations: 128.2 kB / 1.433 GB, free: 232 kB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.766e-05/1.402, allocations: 23.97 kB / 1.433 GB, free: 208 kB / 1.092 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.0002882/1.402, allocations: 208.2 kB / 1.434 GB, free: 15.99 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002425/1.403, allocations: 111.2 kB / 1.434 GB, free: 15.88 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002023/1.405, allocations: 0.8124 MB / 1.434 GB, free: 15.06 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/1.405, allocations: 4 kB / 1.434 GB, free: 15.05 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/1.405, allocations: 0 / 1.434 GB, free: 15.05 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/1.405, allocations: 7.984 kB / 1.434 GB, free: 15.05 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003883/1.409, allocations: 1.957 MB / 1.436 GB, free: 13.01 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/1.409, allocations: 4 kB / 1.436 GB, free: 13.01 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006398/1.409, allocations: 116.1 kB / 1.436 GB, free: 12.89 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.318e-06/1.409, allocations: 4 kB / 1.436 GB, free: 12.89 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.13e-05/1.409, allocations: 15.98 kB / 1.436 GB, free: 12.88 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.334e-06/1.409, allocations: 4 kB / 1.436 GB, free: 12.87 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/1.409, allocations: 7.938 kB / 1.436 GB, free: 12.86 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002629/1.412, allocations: 1.233 MB / 1.438 GB, free: 11.59 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005814/1.413, allocations: 296.2 kB / 1.438 GB, free: 11.28 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001468/1.413, allocations: 8 kB / 1.438 GB, free: 11.27 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/1.414, allocations: 67.97 kB / 1.438 GB, free: 11.2 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001446/1.414, allocations: 51.78 kB / 1.438 GB, free: 11.15 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.597e-05/1.414, allocations: 19.98 kB / 1.438 GB, free: 11.13 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001669/1.416, allocations: 0.9208 MB / 1.439 GB, free: 10.2 MB / 1.107 GB Notification: Performance of sort global known variables: time 1e-07/1.416, allocations: 0 / 1.439 GB, free: 10.2 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001327/1.417, allocations: 407.5 kB / 1.439 GB, free: 9.805 MB / 1.107 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.0005757/1.417, allocations: 207.1 kB / 1.44 GB, free: 9.602 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.00221/1.42, allocations: 0.9006 MB / 1.44 GB, free: 8.699 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/1.42, allocations: 3.938 kB / 1.44 GB, free: 8.695 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0007248/1.42, allocations: 320.1 kB / 1.441 GB, free: 8.383 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002204/1.423, allocations: 438.7 kB / 1.441 GB, free: 7.969 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003225/1.426, allocations: 1.757 MB / 1.443 GB, free: 6.141 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007768/1.427, allocations: 1.041 MB / 1.444 GB, free: 5.066 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005243/1.427, allocations: 99.39 kB / 1.444 GB, free: 4.969 MB / 1.107 GB Notification: Performance of SimCode: time 1.103e-06/1.427, allocations: 0 / 1.444 GB, free: 4.969 MB / 1.107 GB Notification: Performance of Templates: time 0.02861/1.456, allocations: 16.53 MB / 1.46 GB, free: 4.586 MB / 1.123 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.556899518007413]