Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00177/0.00177, allocations: 112.8 kB / 17.08 MB, free: 6.012 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.002066/0.002066, allocations: 193.2 kB / 20.03 MB, free: 3.082 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.45/1.45, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.948/2.948, allocations: 489.3 MB / 0.7687 GB, free: 3.766 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.MixingBox,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mixBox.damOA.m_flow|mixBox.damExh.m_flow|mixBox.damRec.m_flow",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 67.89 kB / 1.103 GB, free: 0.7578 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.017/1.019, allocations: 163.8 MB / 1.263 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.2458/1.265, allocations: 189.6 MB / 1.448 GB, free: 9.188 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.008523/1.274, allocations: 4.199 MB / 1.452 GB, free: 5.754 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001483/1.275, allocations: 28.09 kB / 1.452 GB, free: 5.742 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001719/1.277, allocations: 0.4919 MB / 1.452 GB, free: 5.328 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.004646/1.282, allocations: 1.54 MB / 1.454 GB, free: 4.117 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004016/1.286, allocations: 1.343 MB / 1.455 GB, free: 2.855 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003712/1.289, allocations: 2.207 MB / 1.457 GB, free: 0.6406 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002038/1.291, allocations: 1.061 MB / 1.458 GB, free: 15.56 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002754/1.294, allocations: 1.152 MB / 1.459 GB, free: 14.41 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001714/1.296, allocations: 0.8444 MB / 1.46 GB, free: 13.56 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0004303/1.296, allocations: 136 kB / 1.46 GB, free: 13.43 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002948/1.299, allocations: 1.232 MB / 1.462 GB, free: 12.19 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0006472/1.3, allocations: 402.8 kB / 1.462 GB, free: 11.8 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001311/1.301, allocations: 0.6259 MB / 1.463 GB, free: 11.17 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003814/1.305, allocations: 1.931 MB / 1.465 GB, free: 9.23 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/1.305, allocations: 0 / 1.465 GB, free: 9.23 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.593e-06/1.305, allocations: 0 / 1.465 GB, free: 9.23 MB / 1.154 GB Notification: Performance of Transformations before backend: time 5.912e-05/1.305, allocations: 0 / 1.465 GB, free: 9.23 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.00509/1.31, allocations: 1.723 MB / 1.466 GB, free: 7.453 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/1.31, allocations: 11.97 kB / 1.466 GB, free: 7.441 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001039/1.311, allocations: 183.2 kB / 1.466 GB, free: 7.262 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002273/1.314, allocations: 1.049 MB / 1.467 GB, free: 6.156 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.997e-05/1.314, allocations: 44.94 kB / 1.467 GB, free: 6.109 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001486/1.314, allocations: 63.94 kB / 1.467 GB, free: 6.047 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00141/1.315, allocations: 0.5998 MB / 1.468 GB, free: 5.445 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/1.315, allocations: 3.984 kB / 1.468 GB, free: 5.441 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.143e-05/1.315, allocations: 20 kB / 1.468 GB, free: 5.422 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/1.315, allocations: 12 kB / 1.468 GB, free: 5.41 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001418/1.317, allocations: 0.609 MB / 1.469 GB, free: 4.801 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.004801/1.322, allocations: 2.611 MB / 1.471 GB, free: 2.047 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00135/1.323, allocations: 0.5436 MB / 1.472 GB, free: 1.496 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007158/1.324, allocations: 360.4 kB / 1.472 GB, free: 1.141 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004294/1.324, allocations: 287.4 kB / 1.472 GB, free: 0.8047 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/1.324, allocations: 38.48 kB / 1.472 GB, free: 0.7578 MB / 1.154 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007241/1.325, allocations: 135.7 kB / 1.473 GB, free: 0.625 MB / 1.154 GB Notification: Performance of pre-optimization done (n=41): time 4.558e-06/1.325, allocations: 4 kB / 1.473 GB, free: 0.6211 MB / 1.154 GB Notification: Performance of matching and sorting (n=41): time 0.002721/1.328, allocations: 1.019 MB / 1.474 GB, free: 15.59 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/1.328, allocations: 55.41 kB / 1.474 GB, free: 15.53 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002152/1.33, allocations: 1.233 MB / 1.475 GB, free: 14.27 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 8.316e-05/1.33, allocations: 41.7 kB / 1.475 GB, free: 14.23 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.000405/1.33, allocations: 429.8 kB / 1.475 GB, free: 13.8 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.000154/1.331, allocations: 146.7 kB / 1.475 GB, free: 13.66 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002497/1.331, allocations: 113.6 kB / 1.476 GB, free: 13.54 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001388/1.331, allocations: 318 kB / 1.476 GB, free: 13.23 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006532/1.332, allocations: 280.4 kB / 1.476 GB, free: 12.95 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008743/1.333, allocations: 478.3 kB / 1.477 GB, free: 12.41 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001318/1.334, allocations: 0.5784 MB / 1.477 GB, free: 11.82 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/1.334, allocations: 0 / 1.477 GB, free: 11.82 MB / 1.17 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001785/1.336, allocations: 0.7427 MB / 1.478 GB, free: 11.07 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/1.336, allocations: 4 kB / 1.478 GB, free: 11.07 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/1.336, allocations: 7.938 kB / 1.478 GB, free: 11.06 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/1.336, allocations: 0 / 1.478 GB, free: 11.06 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006031/1.336, allocations: 111.8 kB / 1.478 GB, free: 10.95 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/1.336, allocations: 4 kB / 1.478 GB, free: 10.95 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/1.338, allocations: 91.81 kB / 1.478 GB, free: 10.86 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.598e-05/1.338, allocations: 23.97 kB / 1.478 GB, free: 10.84 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009113/1.339, allocations: 459.9 kB / 1.479 GB, free: 10.38 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008707/1.339, allocations: 478 kB / 1.479 GB, free: 9.836 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001257/1.341, allocations: 0.5686 MB / 1.48 GB, free: 9.262 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.134e-06/1.341, allocations: 4 kB / 1.48 GB, free: 9.258 MB / 1.17 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001737/1.342, allocations: 0.7232 MB / 1.48 GB, free: 8.527 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/1.342, allocations: 7.938 kB / 1.48 GB, free: 8.52 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/1.342, allocations: 8 kB / 1.48 GB, free: 8.512 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.32e-06/1.343, allocations: 0 / 1.48 GB, free: 8.512 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005843/1.343, allocations: 111.8 kB / 1.48 GB, free: 8.402 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/1.343, allocations: 4 kB / 1.48 GB, free: 8.398 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001351/1.344, allocations: 132.2 kB / 1.48 GB, free: 8.27 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.955e-05/1.345, allocations: 19.98 kB / 1.481 GB, free: 8.25 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 (42): * Single equations (assignments): 42 * 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.0002276/1.345, allocations: 208.1 kB / 1.481 GB, free: 8.039 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002723/1.345, allocations: 111.2 kB / 1.481 GB, free: 7.93 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001912/1.347, allocations: 0.7987 MB / 1.482 GB, free: 7.121 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/1.347, allocations: 4 kB / 1.482 GB, free: 7.117 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/1.347, allocations: 0 / 1.482 GB, free: 7.117 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/1.347, allocations: 3.984 kB / 1.482 GB, free: 7.113 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003517/1.351, allocations: 1.92 MB / 1.483 GB, free: 5.109 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/1.351, allocations: 4 kB / 1.483 GB, free: 5.105 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005868/1.351, allocations: 107.9 kB / 1.484 GB, free: 5 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.916e-06/1.351, allocations: 4 kB / 1.484 GB, free: 4.996 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.497e-05/1.351, allocations: 15.98 kB / 1.484 GB, free: 4.98 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.155e-06/1.351, allocations: 12.22 kB / 1.484 GB, free: 4.969 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.197e-06/1.351, allocations: 11.88 kB / 1.484 GB, free: 4.957 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002399/1.354, allocations: 1.229 MB / 1.485 GB, free: 3.684 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005004/1.354, allocations: 280.3 kB / 1.485 GB, free: 3.391 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002031/1.354, allocations: 19.98 kB / 1.485 GB, free: 3.371 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00102/1.355, allocations: 63.92 kB / 1.485 GB, free: 3.309 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/1.356, allocations: 43.72 kB / 1.485 GB, free: 3.266 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.276e-05/1.356, allocations: 20 kB / 1.485 GB, free: 3.246 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001536/1.357, allocations: 0.8961 MB / 1.486 GB, free: 2.34 MB / 1.17 GB Notification: Performance of sort global known variables: time 2.01e-07/1.357, allocations: 0 / 1.486 GB, free: 2.34 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001217/1.358, allocations: 387.5 kB / 1.486 GB, free: 1.961 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (mixBox.actPos.y) * 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 (50): * Single equations (assignments): 50 * 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.0005698/1.359, allocations: 231.2 kB / 1.487 GB, free: 1.734 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002275/1.361, allocations: 0.9241 MB / 1.488 GB, free: 0.8086 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.361, allocations: 0 / 1.488 GB, free: 0.8086 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0007447/1.362, allocations: 339.9 kB / 1.488 GB, free: 488 kB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002283/1.364, allocations: 434.1 kB / 1.488 GB, free: 60 kB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003043/1.367, allocations: 1.66 MB / 1.49 GB, free: 14.33 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007389/1.368, allocations: 1.033 MB / 1.491 GB, free: 13.27 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004929/1.369, allocations: 95.38 kB / 1.491 GB, free: 13.18 MB / 1.186 GB Notification: Performance of SimCode: time 6.42e-07/1.369, allocations: 0 / 1.491 GB, free: 13.18 MB / 1.186 GB Notification: Performance of Templates: time 0.0266/1.395, allocations: 16.01 MB / 1.507 GB, free: 13.31 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.437473271973431]