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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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=5000,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=5000,variableFilter="time|mixBox.damOA.m_flow|mixBox.damExh.m_flow|mixBox.damRec.m_flow",fileNamePrefix="Buildings_10_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.001654/0.001654, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001951/0.001951, allocations: 196.4 kB / 16.53 MB, free: 6.664 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.462/1.462, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.695/2.695, allocations: 437 MB / 0.7103 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 67.84 kB / 0.8692 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8116/0.8131, allocations: 151.6 MB / 1.017 GB, free: 2.543 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.2308/1.044, allocations: 189.7 MB / 1.203 GB, free: 4.137 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.008628/1.053, allocations: 4.275 MB / 1.207 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002035/1.055, allocations: 27.81 kB / 1.207 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002161/1.057, allocations: 0.4967 MB / 1.207 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.006765/1.064, allocations: 1.567 MB / 1.209 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004716/1.069, allocations: 1.33 MB / 1.21 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004394/1.073, allocations: 2.249 MB / 1.212 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001924/1.075, allocations: 1.081 MB / 1.213 GB, free: 9.074 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002409/1.077, allocations: 0.9498 MB / 1.214 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001325/1.079, allocations: 0.8639 MB / 1.215 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002456/1.079, allocations: 140 kB / 1.215 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003156/1.082, allocations: 1.243 MB / 1.216 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004678/1.083, allocations: 418.7 kB / 1.217 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0008521/1.083, allocations: 0.6453 MB / 1.217 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00331/1.087, allocations: 1.951 MB / 1.219 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 9.167e-06/1.087, allocations: 3.938 kB / 1.219 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.504e-06/1.087, allocations: 4 kB / 1.219 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.932e-05/1.087, allocations: 0 / 1.219 GB, free: 2.848 MB / 0.9669 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.004396/1.091, allocations: 1.725 MB / 1.221 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.85e-05/1.091, allocations: 12.03 kB / 1.221 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009881/1.092, allocations: 182.5 kB / 1.221 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002106/1.094, allocations: 1.037 MB / 1.222 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001648/1.095, allocations: 60.92 kB / 1.222 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001455/1.095, allocations: 56 kB / 1.222 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001321/1.096, allocations: 0.6115 MB / 1.223 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/1.096, allocations: 4 kB / 1.223 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.928e-05/1.096, allocations: 20 kB / 1.223 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.805e-05/1.096, allocations: 17 kB / 1.223 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001377/1.098, allocations: 0.6245 MB / 1.224 GB, free: 14.38 MB / 0.9825 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.005188/1.103, allocations: 2.669 MB / 1.226 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001294/1.104, allocations: 0.5373 MB / 1.227 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006552/1.105, allocations: 353.3 kB / 1.227 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000462/1.105, allocations: 295.2 kB / 1.227 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.405e-05/1.105, allocations: 38.56 kB / 1.227 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000787/1.106, allocations: 147.4 kB / 1.228 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=43): time 3.487e-06/1.106, allocations: 0 / 1.228 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of matching and sorting (n=43): time 0.002427/1.109, allocations: 1.012 MB / 1.229 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/1.109, allocations: 55.41 kB / 1.229 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002093/1.111, allocations: 1.267 MB / 1.23 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.022e-05/1.111, allocations: 49.69 kB / 1.23 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004136/1.111, allocations: 429.7 kB / 1.23 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.00018/1.111, allocations: 149.8 kB / 1.23 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002381/1.112, allocations: 121.9 kB / 1.231 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001583/1.112, allocations: 322 kB / 1.231 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005922/1.112, allocations: 278.1 kB / 1.231 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007976/1.113, allocations: 490.2 kB / 1.232 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/1.114, allocations: 0.5871 MB / 1.232 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/1.114, allocations: 3.938 kB / 1.232 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001566/1.116, allocations: 0.7376 MB / 1.233 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/1.116, allocations: 4 kB / 1.233 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/1.116, allocations: 4 kB / 1.233 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/1.116, allocations: 0 / 1.233 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006495/1.117, allocations: 123.8 kB / 1.233 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/1.117, allocations: 4 kB / 1.233 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001403/1.118, allocations: 95.77 kB / 1.233 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.569e-05/1.118, allocations: 23.97 kB / 1.233 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001095/1.119, allocations: 467.9 kB / 1.234 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008501/1.12, allocations: 489.9 kB / 1.234 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001299/1.121, allocations: 0.5895 MB / 1.235 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.745e-06/1.122, allocations: 0 / 1.235 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001801/1.123, allocations: 0.7382 MB / 1.235 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/1.123, allocations: 4 kB / 1.235 GB, free: 1.914 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/1.123, allocations: 0 / 1.235 GB, free: 1.914 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/1.123, allocations: 7.984 kB / 1.235 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006709/1.124, allocations: 115.8 kB / 1.235 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/1.124, allocations: 0 / 1.235 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/1.126, allocations: 128.3 kB / 1.236 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-05/1.126, allocations: 19.98 kB / 1.236 GB, free: 1.648 MB / 0.9825 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.0003584/1.126, allocations: 216.1 kB / 1.236 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003275/1.126, allocations: 106.7 kB / 1.236 GB, free: 1.324 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002094/1.128, allocations: 0.7954 MB / 1.237 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/1.129, allocations: 4 kB / 1.237 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.274e-05/1.129, allocations: 4 kB / 1.237 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/1.129, allocations: 3.984 kB / 1.237 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003901/1.132, allocations: 1.949 MB / 1.239 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.318e-06/1.132, allocations: 4 kB / 1.239 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006222/1.133, allocations: 111.8 kB / 1.239 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.619e-05/1.133, allocations: 7.938 kB / 1.239 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-05/1.133, allocations: 16.28 kB / 1.239 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.255e-05/1.133, allocations: 11.98 kB / 1.239 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/1.133, allocations: 3.938 kB / 1.239 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00241/1.136, allocations: 1.221 MB / 1.24 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006544/1.136, allocations: 291.7 kB / 1.24 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002786/1.137, allocations: 19.94 kB / 1.24 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/1.138, allocations: 63.97 kB / 1.24 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/1.138, allocations: 39.89 kB / 1.24 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.147e-05/1.138, allocations: 19.94 kB / 1.24 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001921/1.14, allocations: 0.9247 MB / 1.241 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.91e-07/1.14, allocations: 0 / 1.241 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001771/1.142, allocations: 407.4 kB / 1.242 GB, free: 11.29 MB / 0.9981 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.0007977/1.142, allocations: 231.7 kB / 1.242 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002564/1.145, allocations: 0.9981 MB / 1.243 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/1.145, allocations: 0 / 1.243 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007161/1.146, allocations: 335.6 kB / 1.243 GB, free: 9.738 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002512/1.148, allocations: 426.2 kB / 1.244 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003774/1.152, allocations: 1.702 MB / 1.245 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000916/1.153, allocations: 1.041 MB / 1.246 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00147/1.155, allocations: 287 kB / 1.246 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004432/1.155, allocations: 99.38 kB / 1.247 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of SimCode: time 1.342e-06/1.155, allocations: 0 / 1.247 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of Templates: time 0.6507/1.806, allocations: 21.28 MB / 1.267 GB, free: 230.7 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1) 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) Reference file matches