Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001504/0.001504, allocations: 109.2 kB / 16.41 MB, free: 6.512 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.001572/0.001572, allocations: 187 kB / 17.34 MB, free: 5.742 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.384/1.384, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.211/2.211, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 67.89 kB / 0.9515 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7676/0.7691, allocations: 140.4 MB / 1.089 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.2388/1.008, allocations: 189.7 MB / 1.274 GB, free: 15.93 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00869/1.017, allocations: 4.279 MB / 1.278 GB, free: 11.65 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001631/1.018, allocations: 27.81 kB / 1.278 GB, free: 11.62 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001815/1.02, allocations: 0.5201 MB / 1.279 GB, free: 11.1 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004723/1.025, allocations: 1.622 MB / 1.28 GB, free: 9.473 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004385/1.029, allocations: 1.363 MB / 1.281 GB, free: 8.121 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003777/1.033, allocations: 2.268 MB / 1.284 GB, free: 5.844 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002135/1.035, allocations: 1.084 MB / 1.285 GB, free: 4.75 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002228/1.038, allocations: 0.9654 MB / 1.286 GB, free: 3.781 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001956/1.04, allocations: 0.8717 MB / 1.287 GB, free: 2.906 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0005652/1.04, allocations: 140 kB / 1.287 GB, free: 2.77 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003133/1.043, allocations: 1.255 MB / 1.288 GB, free: 1.512 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0007187/1.044, allocations: 418.7 kB / 1.288 GB, free: 1.102 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001337/1.045, allocations: 0.6453 MB / 1.289 GB, free: 464 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003904/1.049, allocations: 1.973 MB / 1.291 GB, free: 14.48 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/1.049, allocations: 0 / 1.291 GB, free: 14.48 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.575e-06/1.049, allocations: 3.938 kB / 1.291 GB, free: 14.47 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.831e-05/1.049, allocations: 0 / 1.291 GB, free: 14.47 MB / 1.029 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.005431/1.055, allocations: 1.728 MB / 1.293 GB, free: 12.69 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.235e-05/1.055, allocations: 12.03 kB / 1.293 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001093/1.056, allocations: 182.4 kB / 1.293 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00224/1.058, allocations: 1.061 MB / 1.294 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.791e-05/1.058, allocations: 45 kB / 1.294 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/1.058, allocations: 63.94 kB / 1.294 GB, free: 11.28 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/1.06, allocations: 0.6154 MB / 1.294 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/1.06, allocations: 0 / 1.294 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.779e-05/1.06, allocations: 16 kB / 1.294 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-05/1.06, allocations: 20.98 kB / 1.295 GB, free: 10.62 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001505/1.061, allocations: 0.6284 MB / 1.295 GB, free: 9.988 MB / 1.029 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.005753/1.067, allocations: 2.658 MB / 1.298 GB, free: 7.188 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001407/1.069, allocations: 0.5335 MB / 1.298 GB, free: 6.645 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006981/1.069, allocations: 353.3 kB / 1.299 GB, free: 6.297 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004781/1.07, allocations: 295.2 kB / 1.299 GB, free: 5.953 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/1.07, allocations: 46.44 kB / 1.299 GB, free: 5.898 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008466/1.071, allocations: 147.4 kB / 1.299 GB, free: 5.754 MB / 1.029 GB Notification: Performance of pre-optimization done (n=43): time 5.831e-06/1.071, allocations: 0 / 1.299 GB, free: 5.754 MB / 1.029 GB Notification: Performance of matching and sorting (n=43): time 0.002753/1.074, allocations: 1.013 MB / 1.3 GB, free: 4.734 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/1.074, allocations: 59.39 kB / 1.3 GB, free: 4.664 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002543/1.076, allocations: 1.275 MB / 1.301 GB, free: 3.371 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001089/1.076, allocations: 41.64 kB / 1.301 GB, free: 3.324 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000443/1.077, allocations: 433.7 kB / 1.302 GB, free: 2.895 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002033/1.077, allocations: 153.7 kB / 1.302 GB, free: 2.742 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002503/1.077, allocations: 118 kB / 1.302 GB, free: 2.621 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000147/1.077, allocations: 318 kB / 1.302 GB, free: 2.305 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006059/1.078, allocations: 278.2 kB / 1.303 GB, free: 2.031 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008392/1.079, allocations: 485.2 kB / 1.303 GB, free: 1.48 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001283/1.08, allocations: 0.583 MB / 1.304 GB, free: 0.8945 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/1.08, allocations: 0 / 1.304 GB, free: 0.8945 MB / 1.029 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001827/1.082, allocations: 0.7453 MB / 1.304 GB, free: 144 kB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/1.082, allocations: 8 kB / 1.304 GB, free: 136 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/1.082, allocations: 0 / 1.304 GB, free: 136 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/1.082, allocations: 0 / 1.304 GB, free: 136 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006872/1.083, allocations: 123.8 kB / 1.304 GB, free: 12 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/1.083, allocations: 4 kB / 1.305 GB, free: 8 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001462/1.084, allocations: 95.86 kB / 1.305 GB, free: 15.91 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-05/1.084, allocations: 23.97 kB / 1.305 GB, free: 15.89 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009464/1.085, allocations: 467.9 kB / 1.305 GB, free: 15.43 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008037/1.086, allocations: 481.8 kB / 1.306 GB, free: 14.88 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001175/1.087, allocations: 0.5836 MB / 1.306 GB, free: 14.29 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.997e-06/1.087, allocations: 0 / 1.306 GB, free: 14.29 MB / 1.045 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001794/1.089, allocations: 0.7459 MB / 1.307 GB, free: 13.54 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/1.089, allocations: 4 kB / 1.307 GB, free: 13.54 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/1.089, allocations: 0 / 1.307 GB, free: 13.54 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.408e-06/1.089, allocations: 4 kB / 1.307 GB, free: 13.53 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006391/1.09, allocations: 119.8 kB / 1.307 GB, free: 13.41 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/1.09, allocations: 8 kB / 1.307 GB, free: 13.41 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001552/1.091, allocations: 132.2 kB / 1.307 GB, free: 13.28 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.46e-05/1.091, allocations: 19.97 kB / 1.307 GB, free: 13.26 MB / 1.045 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.0002747/1.092, allocations: 208.5 kB / 1.307 GB, free: 13.05 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003838/1.092, allocations: 102.7 kB / 1.307 GB, free: 12.95 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002009/1.094, allocations: 0.8031 MB / 1.308 GB, free: 12.14 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/1.094, allocations: 11.92 kB / 1.308 GB, free: 12.12 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/1.094, allocations: 4 kB / 1.308 GB, free: 12.12 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/1.094, allocations: 0 / 1.308 GB, free: 12.12 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003621/1.098, allocations: 1.948 MB / 1.31 GB, free: 10.09 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/1.098, allocations: 4 kB / 1.31 GB, free: 10.09 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005868/1.098, allocations: 111.8 kB / 1.31 GB, free: 9.977 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.194e-05/1.098, allocations: 4.281 kB / 1.31 GB, free: 9.973 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.801e-05/1.098, allocations: 20 kB / 1.31 GB, free: 9.953 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.345e-06/1.099, allocations: 7.938 kB / 1.31 GB, free: 9.945 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-05/1.099, allocations: 7.984 kB / 1.31 GB, free: 9.938 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002338/1.101, allocations: 1.224 MB / 1.311 GB, free: 8.668 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005681/1.101, allocations: 287.7 kB / 1.312 GB, free: 8.367 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002217/1.102, allocations: 15.98 kB / 1.312 GB, free: 8.352 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009958/1.103, allocations: 67.92 kB / 1.312 GB, free: 8.285 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/1.103, allocations: 43.88 kB / 1.312 GB, free: 8.242 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.535e-05/1.103, allocations: 20 kB / 1.312 GB, free: 8.223 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001655/1.105, allocations: 0.9247 MB / 1.313 GB, free: 7.289 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.5e-07/1.105, allocations: 0 / 1.313 GB, free: 7.289 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001396/1.106, allocations: 403.4 kB / 1.313 GB, free: 6.895 MB / 1.045 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.000563/1.107, allocations: 221.9 kB / 1.313 GB, free: 6.68 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002166/1.109, allocations: 0.9523 MB / 1.314 GB, free: 5.727 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/1.109, allocations: 0 / 1.314 GB, free: 5.727 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0006437/1.109, allocations: 336.3 kB / 1.315 GB, free: 5.398 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00232/1.112, allocations: 436.8 kB / 1.315 GB, free: 4.973 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002924/1.115, allocations: 1.724 MB / 1.317 GB, free: 3.184 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006735/1.115, allocations: 1.045 MB / 1.318 GB, free: 2.109 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004828/1.116, allocations: 99.38 kB / 1.318 GB, free: 2.012 MB / 1.045 GB Notification: Performance of SimCode: time 8.21e-07/1.116, allocations: 0 / 1.318 GB, free: 2.012 MB / 1.045 GB Notification: Performance of Templates: time 0.02432/1.14, allocations: 16.33 MB / 1.334 GB, free: 1.816 MB / 1.061 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches