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.001431/0.001431, allocations: 79.73 kB / 19.76 MB, free: 1.879 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.001776/0.001776, allocations: 158.2 kB / 23.01 MB, free: 4.574 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.633/1.633, allocations: 177.2 MB / 203.4 MB, free: 8.875 MB / 190.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 2.878/2.878, allocations: 377.9 MB / 0.6228 GB, free: 12.63 MB / 0.5919 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.002163/0.002163, allocations: 63.91 kB / 0.9819 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.098/1.1, allocations: 176.1 MB / 1.154 GB, free: 33.34 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.2647/1.365, allocations: 167.6 MB / 1.318 GB, free: 15.11 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.009303/1.374, allocations: 4.01 MB / 1.322 GB, free: 11.89 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001367/1.376, allocations: 41.25 kB / 1.322 GB, free: 11.87 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.00159/1.377, allocations: 490.2 kB / 1.322 GB, free: 11.47 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.004802/1.382, allocations: 1.593 MB / 1.324 GB, free: 10.24 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004455/1.386, allocations: 1.369 MB / 1.325 GB, free: 9.246 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003976/1.39, allocations: 2.202 MB / 1.327 GB, free: 7.414 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001559/1.392, allocations: 0.8977 MB / 1.328 GB, free: 6.504 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002795/1.395, allocations: 1.219 MB / 1.329 GB, free: 5.281 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001366/1.396, allocations: 0.8248 MB / 1.33 GB, free: 4.453 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.000245/1.396, allocations: 136 kB / 1.33 GB, free: 4.32 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002593/1.399, allocations: 1.041 MB / 1.331 GB, free: 3.277 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0005336/1.399, allocations: 426.6 kB / 1.331 GB, free: 2.859 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0007255/1.4, allocations: 0.5211 MB / 1.332 GB, free: 2.336 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002845/1.403, allocations: 1.946 MB / 1.334 GB, free: 392 kB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.778e-06/1.403, allocations: 0 / 1.334 GB, free: 392 kB / 1.17 GB Notification: Performance of FrontEnd: time 2.004e-06/1.403, allocations: 0 / 1.334 GB, free: 392 kB / 1.17 GB Notification: Performance of Transformations before backend: time 1.444e-05/1.403, allocations: 0 / 1.334 GB, free: 392 kB / 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.004214/1.407, allocations: 1.608 MB / 1.335 GB, free: 14.73 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/1.407, allocations: 12.03 kB / 1.335 GB, free: 14.72 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001917/1.409, allocations: 307 kB / 1.336 GB, free: 14.42 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00202/1.411, allocations: 1.003 MB / 1.337 GB, free: 13.38 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.591e-05/1.411, allocations: 41 kB / 1.337 GB, free: 13.34 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/1.411, allocations: 59.94 kB / 1.337 GB, free: 13.28 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/1.413, allocations: 0.7024 MB / 1.338 GB, free: 12.55 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/1.413, allocations: 4 kB / 1.338 GB, free: 12.55 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.999e-05/1.413, allocations: 16 kB / 1.338 GB, free: 12.53 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/1.413, allocations: 12 kB / 1.338 GB, free: 12.52 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001439/1.414, allocations: 0.6363 MB / 1.338 GB, free: 11.88 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.003916/1.418, allocations: 1.839 MB / 1.34 GB, free: 10.01 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001219/1.419, allocations: 0.5095 MB / 1.34 GB, free: 9.496 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007093/1.42, allocations: 348.3 kB / 1.341 GB, free: 9.152 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003248/1.421, allocations: 55.95 kB / 1.341 GB, free: 9.098 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.741e-05/1.421, allocations: 42.56 kB / 1.341 GB, free: 9.047 MB / 1.186 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008576/1.421, allocations: 175.8 kB / 1.341 GB, free: 8.875 MB / 1.186 GB Notification: Performance of pre-optimization done (n=41): time 2.013e-06/1.421, allocations: 4 kB / 1.341 GB, free: 8.871 MB / 1.186 GB Notification: Performance of matching and sorting (n=41): time 0.002595/1.424, allocations: 1.023 MB / 1.342 GB, free: 7.84 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/1.424, allocations: 55.41 kB / 1.342 GB, free: 7.773 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001854/1.426, allocations: 1.127 MB / 1.343 GB, free: 6.621 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 7.219e-05/1.426, allocations: 37.7 kB / 1.343 GB, free: 6.578 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004154/1.426, allocations: 433.2 kB / 1.344 GB, free: 6.152 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001551/1.427, allocations: 142.8 kB / 1.344 GB, free: 6.012 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002203/1.427, allocations: 117.6 kB / 1.344 GB, free: 5.891 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001694/1.427, allocations: 318 kB / 1.344 GB, free: 5.574 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006639/1.428, allocations: 280.4 kB / 1.345 GB, free: 5.297 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00134/1.429, allocations: 1.157 MB / 1.346 GB, free: 3.898 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001397/1.43, allocations: 0.5667 MB / 1.346 GB, free: 3.328 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/1.43, allocations: 4 kB / 1.346 GB, free: 3.324 MB / 1.186 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001771/1.432, allocations: 0.7234 MB / 1.347 GB, free: 2.594 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/1.432, allocations: 7.938 kB / 1.347 GB, free: 2.586 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/1.432, allocations: 0 / 1.347 GB, free: 2.586 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.564e-05/1.432, allocations: 11.94 kB / 1.347 GB, free: 2.574 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006607/1.433, allocations: 111.8 kB / 1.347 GB, free: 2.465 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/1.433, allocations: 4 kB / 1.347 GB, free: 2.461 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/1.434, allocations: 91.88 kB / 1.347 GB, free: 2.371 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.901e-05/1.434, allocations: 23.97 kB / 1.347 GB, free: 2.348 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009001/1.435, allocations: 456.6 kB / 1.348 GB, free: 1.898 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001269/1.436, allocations: 1.148 MB / 1.349 GB, free: 0.5039 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001276/1.438, allocations: 0.5759 MB / 1.349 GB, free: 15.92 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.403e-06/1.438, allocations: 4 kB / 1.349 GB, free: 15.91 MB / 1.201 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001616/1.439, allocations: 0.7193 MB / 1.35 GB, free: 15.19 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/1.439, allocations: 8 kB / 1.35 GB, free: 15.18 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-06/1.439, allocations: 4 kB / 1.35 GB, free: 15.18 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.653e-06/1.439, allocations: 3.938 kB / 1.35 GB, free: 15.17 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005897/1.44, allocations: 107.8 kB / 1.35 GB, free: 15.07 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/1.44, allocations: 0 / 1.35 GB, free: 15.07 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/1.441, allocations: 132.3 kB / 1.35 GB, free: 14.94 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.864e-05/1.441, allocations: 27.97 kB / 1.35 GB, free: 14.91 MB / 1.201 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.0002458/1.441, allocations: 204.1 kB / 1.35 GB, free: 14.7 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002095/1.442, allocations: 99.33 kB / 1.351 GB, free: 14.61 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001898/1.443, allocations: 0.7956 MB / 1.351 GB, free: 13.8 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/1.443, allocations: 11.94 kB / 1.351 GB, free: 13.79 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/1.443, allocations: 0 / 1.351 GB, free: 13.79 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/1.443, allocations: 7.922 kB / 1.351 GB, free: 13.78 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003304/1.447, allocations: 1.633 MB / 1.353 GB, free: 12.09 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/1.447, allocations: 0 / 1.353 GB, free: 12.09 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005839/1.447, allocations: 108.1 kB / 1.353 GB, free: 11.98 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.048e-05/1.447, allocations: 8 kB / 1.353 GB, free: 11.97 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.21e-05/1.447, allocations: 15.98 kB / 1.353 GB, free: 11.96 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/1.447, allocations: 4 kB / 1.353 GB, free: 11.95 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/1.447, allocations: 7.938 kB / 1.353 GB, free: 11.95 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002403/1.45, allocations: 1.234 MB / 1.354 GB, free: 10.67 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004833/1.45, allocations: 195.2 kB / 1.354 GB, free: 10.48 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001279/1.45, allocations: 19.98 kB / 1.354 GB, free: 10.46 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009638/1.451, allocations: 59.98 kB / 1.355 GB, free: 10.4 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/1.452, allocations: 47.86 kB / 1.355 GB, free: 10.36 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-05/1.452, allocations: 20 kB / 1.355 GB, free: 10.34 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001379/1.453, allocations: 0.8313 MB / 1.355 GB, free: 9.492 MB / 1.201 GB Notification: Performance of sort global known variables: time 8.1e-08/1.453, allocations: 0 / 1.355 GB, free: 9.492 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001258/1.454, allocations: 407.3 kB / 1.356 GB, free: 9.094 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.0004631/1.455, allocations: 202.9 kB / 1.356 GB, free: 8.887 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002236/1.457, allocations: 0.9008 MB / 1.357 GB, free: 7.98 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/1.457, allocations: 4 kB / 1.357 GB, free: 7.977 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0007515/1.458, allocations: 315.3 kB / 1.357 GB, free: 7.668 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001921/1.46, allocations: 384.8 kB / 1.358 GB, free: 7.297 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002913/1.463, allocations: 1.608 MB / 1.359 GB, free: 5.633 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000503/1.463, allocations: 440.9 kB / 1.36 GB, free: 5.168 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0009817/1.464, allocations: 270.1 kB / 1.36 GB, free: 4.902 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003287/1.464, allocations: 92.44 kB / 1.36 GB, free: 4.812 MB / 1.201 GB Notification: Performance of SimCode: time 9.21e-07/1.464, allocations: 0 / 1.36 GB, free: 4.812 MB / 1.201 GB Notification: Performance of Templates: time 0.03948/1.504, allocations: 21.59 MB / 1.381 GB, free: 15.68 MB / 1.232 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 -s ida -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: 10.8965817859862]