Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001298/0.001298, allocations: 111.7 kB / 17.13 MB, free: 5.926 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.001403/0.001403, allocations: 204 kB / 20.09 MB, free: 2.977 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.518/1.518, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.025/3.025, allocations: 0.49 GB / 0.7923 GB, free: 1.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002059/0.002059, allocations: 73.91 kB / 1.15 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.144/1.146, allocations: 176.1 MB / 1.322 GB, free: 25.26 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.2731/1.419, allocations: 193.2 MB / 1.511 GB, free: 8.133 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.008529/1.428, allocations: 4.228 MB / 1.515 GB, free: 3.895 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001822/1.429, allocations: 47.56 kB / 1.515 GB, free: 3.848 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.00164/1.431, allocations: 0.5046 MB / 1.515 GB, free: 3.34 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004971/1.436, allocations: 1.61 MB / 1.517 GB, free: 1.723 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004054/1.44, allocations: 1.355 MB / 1.518 GB, free: 388 kB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003836/1.444, allocations: 2.19 MB / 1.52 GB, free: 14.18 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00162/1.446, allocations: 0.94 MB / 1.521 GB, free: 13.23 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002684/1.448, allocations: 1.199 MB / 1.522 GB, free: 12.03 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001437/1.45, allocations: 0.8795 MB / 1.523 GB, free: 11.14 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002481/1.45, allocations: 140 kB / 1.523 GB, free: 11.01 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002772/1.453, allocations: 1.282 MB / 1.525 GB, free: 9.723 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005156/1.453, allocations: 422.6 kB / 1.525 GB, free: 9.309 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0008183/1.454, allocations: 0.6298 MB / 1.526 GB, free: 8.676 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003368/1.457, allocations: 1.946 MB / 1.528 GB, free: 6.723 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/1.457, allocations: 0 / 1.528 GB, free: 6.723 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.082e-06/1.457, allocations: 4 kB / 1.528 GB, free: 6.719 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.077e-05/1.457, allocations: 0 / 1.528 GB, free: 6.719 MB / 1.201 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.004463/1.462, allocations: 1.688 MB / 1.529 GB, free: 4.977 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/1.462, allocations: 11.98 kB / 1.529 GB, free: 4.965 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001992/1.464, allocations: 311 kB / 1.53 GB, free: 4.66 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002135/1.466, allocations: 1.057 MB / 1.531 GB, free: 3.547 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.738e-05/1.466, allocations: 41 kB / 1.531 GB, free: 3.508 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/1.466, allocations: 59.94 kB / 1.531 GB, free: 3.449 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/1.468, allocations: 0.6349 MB / 1.531 GB, free: 2.812 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/1.468, allocations: 0 / 1.531 GB, free: 2.812 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.37e-05/1.468, allocations: 16 kB / 1.531 GB, free: 2.797 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/1.468, allocations: 12 kB / 1.531 GB, free: 2.785 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001458/1.469, allocations: 0.6402 MB / 1.532 GB, free: 2.145 MB / 1.201 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.004465/1.474, allocations: 2.61 MB / 1.534 GB, free: 15.39 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001208/1.475, allocations: 0.5022 MB / 1.535 GB, free: 14.88 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007244/1.476, allocations: 340.6 kB / 1.535 GB, free: 14.54 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004522/1.476, allocations: 295.2 kB / 1.536 GB, free: 14.2 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.65e-05/1.476, allocations: 46.48 kB / 1.536 GB, free: 14.15 MB / 1.217 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000987/1.477, allocations: 191.5 kB / 1.536 GB, free: 13.96 MB / 1.217 GB Notification: Performance of pre-optimization done (n=41): time 2.856e-06/1.477, allocations: 0 / 1.536 GB, free: 13.96 MB / 1.217 GB Notification: Performance of matching and sorting (n=41): time 0.002638/1.48, allocations: 1.021 MB / 1.537 GB, free: 12.93 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/1.48, allocations: 55.41 kB / 1.537 GB, free: 12.87 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002124/1.482, allocations: 1.233 MB / 1.538 GB, free: 11.61 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 8.12e-05/1.482, allocations: 37.7 kB / 1.538 GB, free: 11.57 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004101/1.482, allocations: 425.8 kB / 1.538 GB, free: 11.15 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001565/1.483, allocations: 150.7 kB / 1.539 GB, free: 11 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000233/1.483, allocations: 109.6 kB / 1.539 GB, free: 10.89 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001456/1.483, allocations: 325.9 kB / 1.539 GB, free: 10.57 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000647/1.484, allocations: 284.4 kB / 1.539 GB, free: 10.29 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008943/1.484, allocations: 477.3 kB / 1.54 GB, free: 9.742 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001349/1.486, allocations: 0.5752 MB / 1.54 GB, free: 9.164 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/1.486, allocations: 0 / 1.54 GB, free: 9.164 MB / 1.217 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00186/1.488, allocations: 0.742 MB / 1.541 GB, free: 8.414 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/1.488, allocations: 9.406 kB / 1.541 GB, free: 8.406 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/1.488, allocations: 0 / 1.541 GB, free: 8.406 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/1.488, allocations: 0 / 1.541 GB, free: 8.406 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000647/1.488, allocations: 107.8 kB / 1.541 GB, free: 8.301 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/1.488, allocations: 4 kB / 1.541 GB, free: 8.297 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/1.49, allocations: 95.86 kB / 1.541 GB, free: 8.203 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-05/1.49, allocations: 27.97 kB / 1.541 GB, free: 8.176 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009594/1.491, allocations: 459.9 kB / 1.542 GB, free: 7.723 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000867/1.492, allocations: 478.4 kB / 1.542 GB, free: 7.176 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001282/1.493, allocations: 0.5687 MB / 1.543 GB, free: 6.602 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.954e-06/1.493, allocations: 0 / 1.543 GB, free: 6.602 MB / 1.217 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001743/1.495, allocations: 0.7309 MB / 1.543 GB, free: 5.863 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/1.495, allocations: 11.94 kB / 1.543 GB, free: 5.852 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/1.495, allocations: 0 / 1.543 GB, free: 5.852 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.32e-06/1.495, allocations: 4 kB / 1.543 GB, free: 5.848 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005844/1.495, allocations: 107.8 kB / 1.544 GB, free: 5.742 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/1.495, allocations: 4 kB / 1.544 GB, free: 5.738 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/1.497, allocations: 132.2 kB / 1.544 GB, free: 5.605 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-05/1.497, allocations: 23.97 kB / 1.544 GB, free: 5.582 MB / 1.217 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.0002472/1.497, allocations: 204.2 kB / 1.544 GB, free: 5.375 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002233/1.497, allocations: 111.3 kB / 1.544 GB, free: 5.266 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001933/1.499, allocations: 0.7986 MB / 1.545 GB, free: 4.457 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/1.499, allocations: 4 kB / 1.545 GB, free: 4.453 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/1.499, allocations: 0 / 1.545 GB, free: 4.453 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/1.499, allocations: 3.984 kB / 1.545 GB, free: 4.449 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003376/1.503, allocations: 1.92 MB / 1.547 GB, free: 2.445 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/1.503, allocations: 0 / 1.547 GB, free: 2.445 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005939/1.503, allocations: 111.8 kB / 1.547 GB, free: 2.336 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.069e-05/1.503, allocations: 4 kB / 1.547 GB, free: 2.332 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.246e-05/1.503, allocations: 19.92 kB / 1.547 GB, free: 2.312 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.091e-06/1.503, allocations: 4 kB / 1.547 GB, free: 2.309 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/1.503, allocations: 3.938 kB / 1.547 GB, free: 2.305 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002354/1.506, allocations: 1.24 MB / 1.548 GB, free: 1.02 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004612/1.506, allocations: 284.3 kB / 1.548 GB, free: 0.7227 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001446/1.506, allocations: 15.98 kB / 1.548 GB, free: 0.707 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009743/1.507, allocations: 63.98 kB / 1.548 GB, free: 0.6445 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/1.507, allocations: 43.81 kB / 1.548 GB, free: 0.6016 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.553e-05/1.507, allocations: 20 kB / 1.548 GB, free: 0.582 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0015/1.509, allocations: 0.8962 MB / 1.549 GB, free: 15.67 MB / 1.232 GB Notification: Performance of sort global known variables: time 1e-07/1.509, allocations: 4 kB / 1.549 GB, free: 15.67 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001237/1.51, allocations: 395.4 kB / 1.55 GB, free: 15.28 MB / 1.232 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.0004272/1.51, allocations: 202.9 kB / 1.55 GB, free: 15.08 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002199/1.513, allocations: 0.8925 MB / 1.551 GB, free: 14.19 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/1.513, allocations: 8 kB / 1.551 GB, free: 14.18 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0006919/1.513, allocations: 316.4 kB / 1.551 GB, free: 13.87 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001999/1.515, allocations: 442.9 kB / 1.552 GB, free: 13.45 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002735/1.518, allocations: 1.67 MB / 1.553 GB, free: 11.71 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006803/1.519, allocations: 1.018 MB / 1.554 GB, free: 10.67 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003944/1.519, allocations: 99.38 kB / 1.554 GB, free: 10.57 MB / 1.232 GB Notification: Performance of SimCode: time 8.92e-07/1.519, allocations: 0 / 1.554 GB, free: 10.57 MB / 1.232 GB Notification: Performance of Templates: time 0.02624/1.545, allocations: 16.27 MB / 1.57 GB, free: 10.45 MB / 1.248 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_12_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_12_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_12_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 15.101592674996937]