Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.00136/0.00136, allocations: 110 kB / 18.93 MB, free: 2.945 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.00141/0.00141, allocations: 189 kB / 22.22 MB, free: 5.164 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.499/1.499, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.716/2.716, allocations: 443.4 MB / 0.7321 GB, free: 12.25 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/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_10_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_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002291/0.002291, allocations: 63.91 kB / 1.061 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.117/1.12, allocations: 160.8 MB / 1.218 GB, free: 3.727 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.2505/1.37, allocations: 190.7 MB / 1.405 GB, free: 7.852 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.009095/1.379, allocations: 4.31 MB / 1.409 GB, free: 3.531 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001987/1.381, allocations: 39.62 kB / 1.409 GB, free: 3.492 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002091/1.383, allocations: 0.5161 MB / 1.409 GB, free: 2.973 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.005906/1.389, allocations: 1.643 MB / 1.411 GB, free: 1.324 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.004391/1.394, allocations: 1.398 MB / 1.412 GB, free: 15.94 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.004129/1.398, allocations: 2.311 MB / 1.415 GB, free: 13.62 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001602/1.399, allocations: 0.9212 MB / 1.416 GB, free: 12.69 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001835/1.401, allocations: 0.9927 MB / 1.417 GB, free: 11.69 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001317/1.403, allocations: 0.9146 MB / 1.417 GB, free: 10.77 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002576/1.403, allocations: 144 kB / 1.418 GB, free: 10.63 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002705/1.406, allocations: 1.309 MB / 1.419 GB, free: 9.32 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0005233/1.406, allocations: 434.6 kB / 1.419 GB, free: 8.895 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0008851/1.407, allocations: 0.657 MB / 1.42 GB, free: 8.234 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.003326/1.41, allocations: 1.989 MB / 1.422 GB, free: 6.238 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/1.41, allocations: 3.938 kB / 1.422 GB, free: 6.234 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.483e-06/1.41, allocations: 4 kB / 1.422 GB, free: 6.23 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.176e-05/1.41, allocations: 4 kB / 1.422 GB, free: 6.227 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.004545/1.415, allocations: 1.723 MB / 1.424 GB, free: 4.449 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/1.415, allocations: 8.031 kB / 1.424 GB, free: 4.441 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008788/1.416, allocations: 195.1 kB / 1.424 GB, free: 4.25 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002154/1.418, allocations: 1.074 MB / 1.425 GB, free: 3.121 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.547e-05/1.418, allocations: 45 kB / 1.425 GB, free: 3.078 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/1.418, allocations: 63.94 kB / 1.425 GB, free: 3.016 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/1.42, allocations: 0.631 MB / 1.425 GB, free: 2.375 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/1.42, allocations: 0 / 1.425 GB, free: 2.375 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.226e-05/1.42, allocations: 23.94 kB / 1.426 GB, free: 2.352 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.811e-05/1.42, allocations: 17 kB / 1.426 GB, free: 2.332 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001417/1.421, allocations: 0.6519 MB / 1.426 GB, free: 1.684 MB / 1.123 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.005515/1.427, allocations: 2.666 MB / 1.429 GB, free: 14.87 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/1.428, allocations: 0.5021 MB / 1.429 GB, free: 14.36 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006201/1.428, allocations: 334.2 kB / 1.43 GB, free: 14.03 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000445/1.429, allocations: 295.2 kB / 1.43 GB, free: 13.69 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.288e-05/1.429, allocations: 42.5 kB / 1.43 GB, free: 13.64 MB / 1.139 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009871/1.43, allocations: 195.5 kB / 1.43 GB, free: 13.45 MB / 1.139 GB Notification: Performance of pre-optimization done (n=43): time 3.797e-06/1.43, allocations: 0 / 1.43 GB, free: 13.45 MB / 1.139 GB Notification: Performance of matching and sorting (n=43): time 0.002517/1.432, allocations: 1.022 MB / 1.431 GB, free: 12.42 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/1.432, allocations: 59.39 kB / 1.431 GB, free: 12.35 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0022/1.435, allocations: 1.279 MB / 1.432 GB, free: 11.05 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 7.568e-05/1.435, allocations: 37.7 kB / 1.432 GB, free: 11.01 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004345/1.435, allocations: 434 kB / 1.433 GB, free: 10.58 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001616/1.435, allocations: 150.6 kB / 1.433 GB, free: 10.43 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002325/1.435, allocations: 126 kB / 1.433 GB, free: 10.3 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001666/1.436, allocations: 318 kB / 1.433 GB, free: 9.988 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005771/1.436, allocations: 278.1 kB / 1.434 GB, free: 9.715 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008417/1.437, allocations: 485.4 kB / 1.434 GB, free: 9.164 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001194/1.438, allocations: 0.5869 MB / 1.435 GB, free: 8.574 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/1.438, allocations: 0 / 1.435 GB, free: 8.574 MB / 1.139 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001654/1.44, allocations: 0.7498 MB / 1.435 GB, free: 7.816 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/1.44, allocations: 4 kB / 1.435 GB, free: 7.812 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/1.44, allocations: 4 kB / 1.435 GB, free: 7.809 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/1.44, allocations: 0 / 1.435 GB, free: 7.809 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006844/1.441, allocations: 123.8 kB / 1.436 GB, free: 7.688 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/1.441, allocations: 0 / 1.436 GB, free: 7.688 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/1.442, allocations: 99.86 kB / 1.436 GB, free: 7.59 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-05/1.442, allocations: 23.97 kB / 1.436 GB, free: 7.566 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008806/1.443, allocations: 471.9 kB / 1.436 GB, free: 7.102 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007802/1.444, allocations: 483.8 kB / 1.437 GB, free: 6.551 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001145/1.445, allocations: 0.5775 MB / 1.437 GB, free: 5.969 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.342e-06/1.445, allocations: 0 / 1.437 GB, free: 5.969 MB / 1.139 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001582/1.446, allocations: 0.7427 MB / 1.438 GB, free: 5.219 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/1.446, allocations: 10.59 kB / 1.438 GB, free: 5.211 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.485e-06/1.446, allocations: 3.938 kB / 1.438 GB, free: 5.207 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.201e-06/1.446, allocations: 4 kB / 1.438 GB, free: 5.203 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006151/1.447, allocations: 119.8 kB / 1.438 GB, free: 5.086 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/1.447, allocations: 4 kB / 1.438 GB, free: 5.082 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/1.448, allocations: 120.3 kB / 1.438 GB, free: 4.965 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.782e-05/1.448, allocations: 27.97 kB / 1.438 GB, free: 4.938 MB / 1.139 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 (45): * Single equations (assignments): 45 * 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.0002527/1.448, allocations: 212.1 kB / 1.438 GB, free: 4.723 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002139/1.449, allocations: 115.2 kB / 1.438 GB, free: 4.609 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001803/1.45, allocations: 0.8108 MB / 1.439 GB, free: 3.793 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/1.45, allocations: 4 kB / 1.439 GB, free: 3.789 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/1.45, allocations: 0 / 1.439 GB, free: 3.789 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/1.451, allocations: 0 / 1.439 GB, free: 3.789 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003412/1.454, allocations: 1.956 MB / 1.441 GB, free: 1.75 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/1.454, allocations: 4 kB / 1.441 GB, free: 1.746 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005914/1.455, allocations: 107.8 kB / 1.441 GB, free: 1.641 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.948e-06/1.455, allocations: 7.984 kB / 1.441 GB, free: 1.633 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.217e-05/1.455, allocations: 12.28 kB / 1.441 GB, free: 1.621 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/1.455, allocations: 12 kB / 1.441 GB, free: 1.609 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/1.455, allocations: 3.938 kB / 1.441 GB, free: 1.605 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002263/1.457, allocations: 1.233 MB / 1.443 GB, free: 332 kB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005758/1.457, allocations: 296.2 kB / 1.443 GB, free: 16 kB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000135/1.458, allocations: 15.98 kB / 1.443 GB, free: 0 / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009661/1.459, allocations: 60.06 kB / 1.443 GB, free: 15.94 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/1.459, allocations: 55.75 kB / 1.443 GB, free: 15.88 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.098e-05/1.459, allocations: 23.98 kB / 1.443 GB, free: 15.86 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001574/1.46, allocations: 0.9208 MB / 1.444 GB, free: 14.93 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.1e-07/1.46, allocations: 4 kB / 1.444 GB, free: 14.93 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001259/1.462, allocations: 407.5 kB / 1.444 GB, free: 14.53 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.s[1],mixBox.filter.s[2]) * 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 (52): * Single equations (assignments): 52 * 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.0005581/1.462, allocations: 208.4 kB / 1.444 GB, free: 14.32 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002051/1.464, allocations: 0.9113 MB / 1.445 GB, free: 13.42 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/1.464, allocations: 0 / 1.445 GB, free: 13.42 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0006703/1.465, allocations: 319.6 kB / 1.446 GB, free: 13.11 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002187/1.467, allocations: 436.5 kB / 1.446 GB, free: 12.69 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003265/1.47, allocations: 1.707 MB / 1.448 GB, free: 10.92 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007595/1.471, allocations: 1.045 MB / 1.449 GB, free: 9.844 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001053/1.472, allocations: 283.1 kB / 1.449 GB, free: 9.562 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003223/1.472, allocations: 103.4 kB / 1.449 GB, free: 9.461 MB / 1.154 GB Notification: Performance of SimCode: time 1.243e-06/1.472, allocations: 0 / 1.449 GB, free: 9.461 MB / 1.154 GB Notification: Performance of Templates: time 0.04518/1.518, allocations: 22 MB / 1.471 GB, free: 3.719 MB / 1.17 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.760803361423314]