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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001743/0.001743, allocations: 107.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002076/0.002076, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.55/1.55, allocations: 225.6 MB / 249.9 MB, free: 3.25 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.955/2.955, allocations: 489.7 MB / 0.7761 GB, free: 2.57 MB / 0.6075 GB [Timeout remaining time 86] 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=506,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=506,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.00196/0.00196, allocations: 71.89 kB / 1.127 GB, free: 5.188 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.005/1.007, allocations: 172 MB / 1.295 GB, free: 38.66 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.2219/1.229, allocations: 190.3 MB / 1.481 GB, free: 12.61 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.00909/1.238, allocations: 4.202 MB / 1.485 GB, free: 9.652 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001902/1.24, allocations: 28.91 kB / 1.485 GB, free: 9.641 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001939/1.242, allocations: 0.5134 MB / 1.485 GB, free: 9.234 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.005284/1.247, allocations: 1.61 MB / 1.487 GB, free: 7.98 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004457/1.251, allocations: 1.358 MB / 1.488 GB, free: 6.988 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003875/1.255, allocations: 2.203 MB / 1.49 GB, free: 5.695 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001872/1.257, allocations: 0.9465 MB / 1.491 GB, free: 5.016 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002883/1.26, allocations: 1.17 MB / 1.492 GB, free: 4.309 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001836/1.262, allocations: 0.8866 MB / 1.493 GB, free: 3.719 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0005162/1.262, allocations: 143.1 kB / 1.493 GB, free: 3.715 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003362/1.266, allocations: 1.279 MB / 1.495 GB, free: 3.039 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0007088/1.266, allocations: 417.9 kB / 1.495 GB, free: 2.719 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001106/1.267, allocations: 0.631 MB / 1.496 GB, free: 2.258 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003488/1.271, allocations: 1.939 MB / 1.498 GB, free: 0.8984 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/1.271, allocations: 1.031 kB / 1.498 GB, free: 0.8984 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.643e-06/1.271, allocations: 0 / 1.498 GB, free: 0.8984 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.741e-05/1.271, allocations: 0 / 1.498 GB, free: 0.8984 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.004671/1.276, allocations: 1.682 MB / 1.499 GB, free: 15.62 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/1.276, allocations: 9.25 kB / 1.499 GB, free: 15.62 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009192/1.277, allocations: 186.1 kB / 1.499 GB, free: 15.53 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002/1.279, allocations: 1.066 MB / 1.5 GB, free: 14.72 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.751e-05/1.279, allocations: 41.72 kB / 1.5 GB, free: 14.71 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001951/1.279, allocations: 65.03 kB / 1.501 GB, free: 14.68 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001437/1.28, allocations: 0.6232 MB / 1.501 GB, free: 14.32 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/1.28, allocations: 4 kB / 1.501 GB, free: 14.32 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.394e-05/1.28, allocations: 21.03 kB / 1.501 GB, free: 14.3 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/1.28, allocations: 10.44 kB / 1.501 GB, free: 14.3 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001406/1.282, allocations: 0.6351 MB / 1.502 GB, free: 14 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.004423/1.286, allocations: 2.62 MB / 1.504 GB, free: 11.61 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00117/1.287, allocations: 0.5042 MB / 1.505 GB, free: 11.09 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007133/1.288, allocations: 340.4 kB / 1.505 GB, free: 10.76 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000457/1.289, allocations: 299.3 kB / 1.505 GB, free: 10.41 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.048e-05/1.289, allocations: 42.5 kB / 1.505 GB, free: 10.36 MB / 1.186 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009834/1.29, allocations: 179.7 kB / 1.506 GB, free: 10.18 MB / 1.186 GB Notification: Performance of pre-optimization done (n=41): time 2.295e-06/1.29, allocations: 0 / 1.506 GB, free: 10.18 MB / 1.186 GB Notification: Performance of matching and sorting (n=41): time 0.002624/1.292, allocations: 1.019 MB / 1.507 GB, free: 9.156 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.228e-05/1.292, allocations: 55.41 kB / 1.507 GB, free: 9.09 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002217/1.294, allocations: 1.241 MB / 1.508 GB, free: 7.828 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 7.794e-05/1.295, allocations: 33.7 kB / 1.508 GB, free: 7.789 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.000406/1.295, allocations: 433.8 kB / 1.508 GB, free: 7.363 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/1.295, allocations: 150.6 kB / 1.509 GB, free: 7.215 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002385/1.295, allocations: 109.6 kB / 1.509 GB, free: 7.102 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001572/1.295, allocations: 330 kB / 1.509 GB, free: 6.773 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000693/1.296, allocations: 268.7 kB / 1.509 GB, free: 6.508 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/1.297, allocations: 482.4 kB / 1.51 GB, free: 5.961 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001311/1.298, allocations: 0.5788 MB / 1.51 GB, free: 5.379 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/1.298, allocations: 0 / 1.51 GB, free: 5.379 MB / 1.186 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001745/1.3, allocations: 0.7269 MB / 1.511 GB, free: 4.645 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/1.3, allocations: 8 kB / 1.511 GB, free: 4.637 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/1.3, allocations: 3.938 kB / 1.511 GB, free: 4.633 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/1.3, allocations: 4 kB / 1.511 GB, free: 4.629 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006498/1.301, allocations: 107.8 kB / 1.511 GB, free: 4.523 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/1.301, allocations: 4 kB / 1.511 GB, free: 4.52 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/1.302, allocations: 95.86 kB / 1.511 GB, free: 4.426 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.046e-05/1.302, allocations: 23.98 kB / 1.511 GB, free: 4.402 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009435/1.303, allocations: 463.7 kB / 1.512 GB, free: 3.945 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009529/1.304, allocations: 486.1 kB / 1.512 GB, free: 3.391 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001278/1.306, allocations: 0.572 MB / 1.513 GB, free: 2.812 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.629e-06/1.306, allocations: 7.922 kB / 1.513 GB, free: 2.805 MB / 1.186 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001773/1.307, allocations: 0.731 MB / 1.513 GB, free: 2.066 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/1.307, allocations: 7.938 kB / 1.513 GB, free: 2.059 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/1.307, allocations: 4 kB / 1.513 GB, free: 2.055 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.611e-06/1.307, allocations: 0 / 1.513 GB, free: 2.055 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005977/1.308, allocations: 107.8 kB / 1.513 GB, free: 1.949 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/1.308, allocations: 4 kB / 1.513 GB, free: 1.945 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/1.309, allocations: 132.2 kB / 1.514 GB, free: 1.816 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.246e-05/1.309, allocations: 23.97 kB / 1.514 GB, free: 1.793 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 (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.0002452/1.31, allocations: 208.1 kB / 1.514 GB, free: 1.582 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000302/1.31, allocations: 103.3 kB / 1.514 GB, free: 1.48 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001953/1.312, allocations: 0.7949 MB / 1.515 GB, free: 0.6719 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/1.312, allocations: 4 kB / 1.515 GB, free: 0.668 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/1.312, allocations: 0 / 1.515 GB, free: 0.668 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/1.312, allocations: 3.984 kB / 1.515 GB, free: 0.6641 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00389/1.316, allocations: 1.92 MB / 1.517 GB, free: 14.66 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.355e-06/1.316, allocations: 4 kB / 1.517 GB, free: 14.66 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006106/1.317, allocations: 116.1 kB / 1.517 GB, free: 14.54 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.468e-06/1.317, allocations: 4 kB / 1.517 GB, free: 14.54 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.934e-05/1.317, allocations: 8 kB / 1.517 GB, free: 14.53 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.103e-06/1.317, allocations: 4 kB / 1.517 GB, free: 14.53 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/1.317, allocations: 7.938 kB / 1.517 GB, free: 14.52 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002613/1.319, allocations: 1.234 MB / 1.518 GB, free: 13.24 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007188/1.32, allocations: 284.2 kB / 1.518 GB, free: 12.95 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002662/1.32, allocations: 16.06 kB / 1.518 GB, free: 12.93 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/1.321, allocations: 63.91 kB / 1.518 GB, free: 12.87 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/1.321, allocations: 47.83 kB / 1.518 GB, free: 12.82 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.724e-05/1.321, allocations: 16 kB / 1.518 GB, free: 12.8 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001743/1.323, allocations: 0.8961 MB / 1.519 GB, free: 11.9 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/1.323, allocations: 0 / 1.519 GB, free: 11.9 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001559/1.325, allocations: 391.5 kB / 1.52 GB, free: 11.52 MB / 1.201 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.0005848/1.325, allocations: 225.4 kB / 1.52 GB, free: 11.3 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002298/1.328, allocations: 0.9079 MB / 1.521 GB, free: 10.39 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/1.328, allocations: 0 / 1.521 GB, free: 10.39 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.000722/1.328, allocations: 315.8 kB / 1.521 GB, free: 10.08 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002568/1.331, allocations: 438.1 kB / 1.521 GB, free: 9.656 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00334/1.334, allocations: 1.66 MB / 1.523 GB, free: 7.93 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009288/1.335, allocations: 1.025 MB / 1.524 GB, free: 6.879 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004619/1.336, allocations: 99.38 kB / 1.524 GB, free: 6.781 MB / 1.201 GB Notification: Performance of SimCode: time 9.21e-07/1.336, allocations: 4 kB / 1.524 GB, free: 6.777 MB / 1.201 GB Notification: Performance of Templates: time 0.02757/1.363, allocations: 16.2 MB / 1.54 GB, free: 6.715 MB / 1.217 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1) [Timeout 400] 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/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