Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=5000,variableFilter="time|mixBox.damOA.m_flow|mixBox.damExh.m_flow|mixBox.damRec.m_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixBox.damOA.m_flow|mixBox.damExh.m_flow|mixBox.damRec.m_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 106 kB / 15.99 MB, free: 5.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 194.7 kB / 16.91 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 222.9 MB / 240.6 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.727/2.727, allocations: 469.8 MB / 0.7427 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 69.31 kB / 0.9087 GB, free: 34.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3161, allocations: 159.1 MB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.2088/0.5249, allocations: 187.2 MB / 1.247 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6028/1.128, allocations: 4.245 MB / 1.251 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001223/1.129, allocations: 25.69 kB / 1.251 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001371/1.13, allocations: 442.7 kB / 1.252 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003904/1.134, allocations: 1.469 MB / 1.253 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00298/1.137, allocations: 1.237 MB / 1.254 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003209/1.141, allocations: 2.254 MB / 1.256 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001548/1.142, allocations: 1.061 MB / 1.257 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001821/1.144, allocations: 0.9692 MB / 1.258 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001246/1.145, allocations: 0.8945 MB / 1.259 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002027/1.145, allocations: 141.6 kB / 1.259 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002456/1.148, allocations: 1.283 MB / 1.261 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004819/1.148, allocations: 423.5 kB / 1.261 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007387/1.149, allocations: 0.6452 MB / 1.262 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002009/1.151, allocations: 1.537 MB / 1.263 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/1.151, allocations: 4.094 kB / 1.263 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.665e-06/1.151, allocations: 3 kB / 1.263 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.57e-05/1.151, allocations: 1.203 kB / 1.263 GB, free: 4.391 MB / 0.9981 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.004511/1.156, allocations: 1.721 MB / 1.265 GB, free: 19.57 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/1.156, allocations: 10.22 kB / 1.265 GB, free: 19.57 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008738/1.157, allocations: 183.8 kB / 1.265 GB, free: 19.5 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001648/1.158, allocations: 1.038 MB / 1.266 GB, free: 19.15 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001333/1.158, allocations: 54.02 kB / 1.266 GB, free: 19.15 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.88e-05/1.159, allocations: 56.84 kB / 1.266 GB, free: 19.15 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/1.16, allocations: 0.6117 MB / 1.267 GB, free: 19.11 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/1.16, allocations: 0 / 1.267 GB, free: 19.11 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.986e-05/1.16, allocations: 18.09 kB / 1.267 GB, free: 19.11 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.797e-05/1.16, allocations: 22.86 kB / 1.267 GB, free: 19.11 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001203/1.161, allocations: 0.6268 MB / 1.267 GB, free: 19.11 MB / 1.014 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.004498/1.166, allocations: 2.651 MB / 1.27 GB, free: 18.32 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001224/1.167, allocations: 0.5441 MB / 1.271 GB, free: 18.29 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000638/1.167, allocations: 358.3 kB / 1.271 GB, free: 18.27 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004463/1.168, allocations: 290.1 kB / 1.271 GB, free: 17.99 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/1.168, allocations: 38.75 kB / 1.271 GB, free: 17.95 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000871/1.169, allocations: 164.7 kB / 1.271 GB, free: 17.93 MB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 2.354e-06/1.169, allocations: 0 / 1.271 GB, free: 17.93 MB / 1.014 GB Notification: Performance of matching and sorting (n=43): time 0.00249/1.171, allocations: 1.014 MB / 1.272 GB, free: 17.84 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.851e-05/1.171, allocations: 60.91 kB / 1.272 GB, free: 17.77 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002385/1.174, allocations: 1.271 MB / 1.274 GB, free: 17.63 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001009/1.174, allocations: 39.39 kB / 1.274 GB, free: 17.6 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003749/1.174, allocations: 434 kB / 1.274 GB, free: 17.48 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001435/1.174, allocations: 149.2 kB / 1.274 GB, free: 17.38 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002731/1.175, allocations: 119.2 kB / 1.274 GB, free: 17.36 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001456/1.175, allocations: 319.9 kB / 1.275 GB, free: 17.06 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006607/1.176, allocations: 276.6 kB / 1.275 GB, free: 17.05 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008291/1.176, allocations: 490.9 kB / 1.275 GB, free: 16.84 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/1.178, allocations: 0.5864 MB / 1.276 GB, free: 16.83 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/1.178, allocations: 1.375 kB / 1.276 GB, free: 16.83 MB / 1.014 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001625/1.179, allocations: 0.7381 MB / 1.277 GB, free: 16.74 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/1.179, allocations: 7.781 kB / 1.277 GB, free: 16.74 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/1.179, allocations: 0.7812 kB / 1.277 GB, free: 16.74 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/1.179, allocations: 5.188 kB / 1.277 GB, free: 16.74 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006714/1.18, allocations: 123.8 kB / 1.277 GB, free: 16.74 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/1.18, allocations: 3.672 kB / 1.277 GB, free: 16.74 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/1.181, allocations: 109.4 kB / 1.277 GB, free: 16.73 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.448e-05/1.181, allocations: 24.61 kB / 1.277 GB, free: 16.73 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009113/1.182, allocations: 465.7 kB / 1.277 GB, free: 16.64 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007164/1.183, allocations: 485.5 kB / 1.278 GB, free: 16.44 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001087/1.184, allocations: 0.5831 MB / 1.278 GB, free: 16.42 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.874e-06/1.184, allocations: 0 / 1.278 GB, free: 16.42 MB / 1.014 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001628/1.186, allocations: 0.7392 MB / 1.279 GB, free: 16.32 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/1.186, allocations: 8.812 kB / 1.279 GB, free: 16.32 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-06/1.186, allocations: 0 / 1.279 GB, free: 16.32 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.29e-06/1.186, allocations: 3.344 kB / 1.279 GB, free: 16.32 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006227/1.186, allocations: 120.8 kB / 1.279 GB, free: 16.32 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/1.186, allocations: 2.469 kB / 1.279 GB, free: 16.32 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/1.188, allocations: 141 kB / 1.279 GB, free: 16.31 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.345e-05/1.188, allocations: 25.28 kB / 1.279 GB, free: 16.31 MB / 1.014 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.0002855/1.188, allocations: 208.5 kB / 1.28 GB, free: 16.13 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002124/1.189, allocations: 99.09 kB / 1.28 GB, free: 16.08 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001741/1.19, allocations: 0.8068 MB / 1.281 GB, free: 16.01 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.946e-06/1.19, allocations: 11.75 kB / 1.281 GB, free: 16.01 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/1.19, allocations: 0 / 1.281 GB, free: 16.01 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/1.19, allocations: 5.125 kB / 1.281 GB, free: 16.01 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003007/1.193, allocations: 1.949 MB / 1.282 GB, free: 15.63 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.78e-06/1.193, allocations: 6.062 kB / 1.282 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000583/1.194, allocations: 105.8 kB / 1.283 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.145e-05/1.194, allocations: 14.39 kB / 1.283 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.472e-05/1.194, allocations: 13.34 kB / 1.283 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.682e-06/1.194, allocations: 8.562 kB / 1.283 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/1.194, allocations: 2.969 kB / 1.283 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002033/1.196, allocations: 1.227 MB / 1.284 GB, free: 15.36 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004611/1.197, allocations: 292.1 kB / 1.284 GB, free: 15.2 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001595/1.197, allocations: 20.14 kB / 1.284 GB, free: 15.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/1.198, allocations: 75.36 kB / 1.284 GB, free: 15.2 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/1.198, allocations: 43.75 kB / 1.284 GB, free: 15.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.547e-05/1.198, allocations: 19.42 kB / 1.284 GB, free: 15.2 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001365/1.199, allocations: 0.9225 MB / 1.285 GB, free: 15.09 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.9e-07/1.199, allocations: 0.9062 kB / 1.285 GB, free: 15.09 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001327/1.201, allocations: 405.2 kB / 1.285 GB, free: 15.05 MB / 1.014 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.0005308/1.201, allocations: 232.2 kB / 1.286 GB, free: 14.94 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002095/1.203, allocations: 0.9995 MB / 1.287 GB, free: 14.91 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/1.203, allocations: 0 / 1.287 GB, free: 14.91 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006008/1.204, allocations: 338.5 kB / 1.287 GB, free: 14.91 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002005/1.206, allocations: 421.8 kB / 1.287 GB, free: 14.86 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003281/1.209, allocations: 2.035 MB / 1.289 GB, free: 13.84 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007957/1.21, allocations: 1.042 MB / 1.29 GB, free: 13.13 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004028/1.21, allocations: 99.72 kB / 1.291 GB, free: 13.12 MB / 1.014 GB Notification: Performance of SimCode: time 6.01e-07/1.21, allocations: 0 / 1.291 GB, free: 13.12 MB / 1.014 GB Notification: Performance of Templates: time 0.02547/1.236, allocations: 16.23 MB / 1.306 GB, free: 11.82 MB / 1.014 GB make -j1 -f Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches