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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00181/0.00181, allocations: 78.72 kB / 19.76 MB, free: 1.875 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001976/0.001976, allocations: 161.9 kB / 23.01 MB, free: 4.598 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.465/1.465, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.909/2.909, allocations: 394.2 MB / 0.6386 GB, free: 11.98 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002137/0.002137, allocations: 67.89 kB / 1.009 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9098/0.912, allocations: 181.8 MB / 1.187 GB, free: 16.19 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.2158/1.128, allocations: 167.6 MB / 1.35 GB, free: 14.22 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.007473/1.135, allocations: 4.018 MB / 1.354 GB, free: 10.2 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009721/1.136, allocations: 39.62 kB / 1.354 GB, free: 10.16 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001299/1.138, allocations: 488.7 kB / 1.355 GB, free: 9.676 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.003723/1.141, allocations: 1.597 MB / 1.356 GB, free: 8.074 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.00332/1.145, allocations: 1.363 MB / 1.358 GB, free: 6.723 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002938/1.148, allocations: 2.209 MB / 1.36 GB, free: 4.508 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001312/1.149, allocations: 0.8977 MB / 1.361 GB, free: 3.598 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002201/1.151, allocations: 1.215 MB / 1.362 GB, free: 2.379 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001229/1.152, allocations: 0.8326 MB / 1.363 GB, free: 1.543 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.000223/1.152, allocations: 140 kB / 1.363 GB, free: 1.406 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002186/1.155, allocations: 1.033 MB / 1.364 GB, free: 380 kB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004845/1.155, allocations: 426.6 kB / 1.364 GB, free: 15.95 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0006356/1.156, allocations: 0.525 MB / 1.365 GB, free: 15.43 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.002416/1.158, allocations: 1.946 MB / 1.367 GB, free: 13.47 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/1.158, allocations: 0 / 1.367 GB, free: 13.47 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.493e-06/1.158, allocations: 0 / 1.367 GB, free: 13.47 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.329e-05/1.158, allocations: 0 / 1.367 GB, free: 13.47 MB / 1.217 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.00384/1.162, allocations: 1.608 MB / 1.368 GB, free: 11.82 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/1.162, allocations: 8.031 kB / 1.368 GB, free: 11.82 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001882/1.164, allocations: 315 kB / 1.368 GB, free: 11.51 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001918/1.166, allocations: 0.9916 MB / 1.369 GB, free: 10.47 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.039e-05/1.166, allocations: 41 kB / 1.37 GB, free: 10.43 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/1.166, allocations: 59.94 kB / 1.37 GB, free: 10.38 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/1.167, allocations: 0.6985 MB / 1.37 GB, free: 9.656 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/1.167, allocations: 4 kB / 1.37 GB, free: 9.652 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.647e-05/1.168, allocations: 24 kB / 1.37 GB, free: 9.629 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/1.168, allocations: 8 kB / 1.37 GB, free: 9.621 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001512/1.169, allocations: 0.6363 MB / 1.371 GB, free: 8.984 MB / 1.217 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.004207/1.173, allocations: 1.851 MB / 1.373 GB, free: 7.102 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/1.174, allocations: 0.4985 MB / 1.373 GB, free: 6.594 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006747/1.175, allocations: 349.1 kB / 1.374 GB, free: 6.25 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003002/1.175, allocations: 55.95 kB / 1.374 GB, free: 6.195 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/1.175, allocations: 34.56 kB / 1.374 GB, free: 6.152 MB / 1.217 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008303/1.176, allocations: 175.9 kB / 1.374 GB, free: 5.98 MB / 1.217 GB Notification: Performance of pre-optimization done (n=41): time 2.054e-06/1.176, allocations: 0 / 1.374 GB, free: 5.98 MB / 1.217 GB Notification: Performance of matching and sorting (n=41): time 0.002469/1.179, allocations: 1.019 MB / 1.375 GB, free: 4.953 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/1.179, allocations: 55.41 kB / 1.375 GB, free: 4.887 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001762/1.181, allocations: 1.135 MB / 1.376 GB, free: 3.727 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 6.074e-05/1.181, allocations: 41.7 kB / 1.376 GB, free: 3.68 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003754/1.181, allocations: 429.2 kB / 1.376 GB, free: 3.258 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001385/1.181, allocations: 146.8 kB / 1.377 GB, free: 3.113 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002034/1.181, allocations: 121.4 kB / 1.377 GB, free: 2.988 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001488/1.181, allocations: 322 kB / 1.377 GB, free: 2.668 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000614/1.182, allocations: 268.6 kB / 1.377 GB, free: 2.402 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001216/1.183, allocations: 1.145 MB / 1.378 GB, free: 1.016 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001294/1.185, allocations: 0.5788 MB / 1.379 GB, free: 444 kB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/1.185, allocations: 0 / 1.379 GB, free: 444 kB / 1.217 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001677/1.186, allocations: 0.7305 MB / 1.38 GB, free: 15.7 MB / 1.233 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/1.186, allocations: 11.94 kB / 1.38 GB, free: 15.68 MB / 1.233 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/1.186, allocations: 4 kB / 1.38 GB, free: 15.68 MB / 1.233 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/1.186, allocations: 0 / 1.38 GB, free: 15.68 MB / 1.233 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006367/1.187, allocations: 111.8 kB / 1.38 GB, free: 15.57 MB / 1.233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/1.187, allocations: 0 / 1.38 GB, free: 15.57 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/1.188, allocations: 91.88 kB / 1.38 GB, free: 15.48 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.481e-05/1.188, allocations: 27.97 kB / 1.38 GB, free: 15.45 MB / 1.233 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008735/1.189, allocations: 463.8 kB / 1.38 GB, free: 15 MB / 1.233 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001235/1.19, allocations: 1.153 MB / 1.381 GB, free: 13.6 MB / 1.233 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001259/1.191, allocations: 0.5648 MB / 1.382 GB, free: 13.03 MB / 1.233 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.453e-06/1.191, allocations: 0 / 1.382 GB, free: 13.03 MB / 1.233 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.00159/1.193, allocations: 0.7232 MB / 1.383 GB, free: 12.3 MB / 1.233 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/1.193, allocations: 4 kB / 1.383 GB, free: 12.29 MB / 1.233 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-06/1.193, allocations: 0 / 1.383 GB, free: 12.29 MB / 1.233 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.935e-06/1.193, allocations: 7.938 kB / 1.383 GB, free: 12.29 MB / 1.233 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000579/1.194, allocations: 111.8 kB / 1.383 GB, free: 12.18 MB / 1.233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/1.194, allocations: 0 / 1.383 GB, free: 12.18 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/1.195, allocations: 128.3 kB / 1.383 GB, free: 12.05 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.342e-05/1.195, allocations: 27.91 kB / 1.383 GB, free: 12.02 MB / 1.233 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.0002147/1.195, allocations: 208.1 kB / 1.383 GB, free: 11.81 MB / 1.233 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001875/1.195, allocations: 95.33 kB / 1.383 GB, free: 11.72 MB / 1.233 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001802/1.197, allocations: 0.7994 MB / 1.384 GB, free: 10.91 MB / 1.233 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/1.197, allocations: 4 kB / 1.384 GB, free: 10.91 MB / 1.233 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/1.197, allocations: 7.984 kB / 1.384 GB, free: 10.9 MB / 1.233 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/1.197, allocations: 0 / 1.384 GB, free: 10.9 MB / 1.233 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003027/1.2, allocations: 1.633 MB / 1.386 GB, free: 9.199 MB / 1.233 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/1.2, allocations: 4 kB / 1.386 GB, free: 9.195 MB / 1.233 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005621/1.201, allocations: 111.8 kB / 1.386 GB, free: 9.086 MB / 1.233 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/1.201, allocations: 4.281 kB / 1.386 GB, free: 9.082 MB / 1.233 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.843e-05/1.201, allocations: 16 kB / 1.386 GB, free: 9.066 MB / 1.233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/1.201, allocations: 8 kB / 1.386 GB, free: 9.059 MB / 1.233 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/1.201, allocations: 0 / 1.386 GB, free: 9.059 MB / 1.233 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002254/1.203, allocations: 1.234 MB / 1.387 GB, free: 7.781 MB / 1.233 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004341/1.204, allocations: 195.2 kB / 1.387 GB, free: 7.59 MB / 1.233 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/1.204, allocations: 12 kB / 1.387 GB, free: 7.578 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009216/1.205, allocations: 67.97 kB / 1.387 GB, free: 7.512 MB / 1.233 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/1.205, allocations: 47.8 kB / 1.387 GB, free: 7.465 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.37e-05/1.205, allocations: 20 kB / 1.387 GB, free: 7.445 MB / 1.233 GB Notification: Performance of sorting global known variables: time 0.001284/1.206, allocations: 0.8195 MB / 1.388 GB, free: 6.613 MB / 1.233 GB Notification: Performance of sort global known variables: time 1e-07/1.206, allocations: 0 / 1.388 GB, free: 6.613 MB / 1.233 GB Notification: Performance of remove unused functions: time 0.001158/1.207, allocations: 423.2 kB / 1.388 GB, free: 6.199 MB / 1.233 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.0003817/1.208, allocations: 202.9 kB / 1.389 GB, free: 5.992 MB / 1.233 GB Notification: Performance of simCode: created initialization part: time 0.00207/1.21, allocations: 0.9083 MB / 1.39 GB, free: 5.082 MB / 1.233 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.21, allocations: 0 / 1.39 GB, free: 5.082 MB / 1.233 GB Notification: Performance of simCode: created simulation system equations: time 0.0006867/1.21, allocations: 315.6 kB / 1.39 GB, free: 4.773 MB / 1.233 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001756/1.212, allocations: 375.9 kB / 1.39 GB, free: 4.41 MB / 1.233 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002544/1.215, allocations: 1.606 MB / 1.392 GB, free: 2.746 MB / 1.233 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004689/1.215, allocations: 436.9 kB / 1.392 GB, free: 2.285 MB / 1.233 GB Notification: Performance of simCode: alias equations: time 0.0008779/1.216, allocations: 262.1 kB / 1.392 GB, free: 2.027 MB / 1.233 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003218/1.216, allocations: 92.44 kB / 1.393 GB, free: 1.938 MB / 1.233 GB Notification: Performance of SimCode: time 5.01e-07/1.216, allocations: 4 kB / 1.393 GB, free: 1.934 MB / 1.233 GB Notification: Performance of Templates: time 0.03682/1.253, allocations: 21.6 MB / 1.414 GB, free: 12.76 MB / 1.264 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 -s ida -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/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: 9.914298994001001]