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.001624/0.001624, allocations: 108.2 kB / 16.27 MB, free: 6.004 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.001888/0.001888, allocations: 187.4 kB / 17.2 MB, free: 5.617 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.628/1.628, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.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.519/2.519, allocations: 437 MB / 0.711 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 76.59 kB / 0.8699 GB, free: 2.23 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3047, allocations: 151.6 MB / 1.018 GB, free: 10.68 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.7049/1.01, allocations: 189.7 MB / 1.203 GB, free: 5.906 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.00778/1.018, allocations: 4.276 MB / 1.207 GB, free: 2.41 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001345/1.019, allocations: 29.28 kB / 1.207 GB, free: 2.398 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001549/1.02, allocations: 0.5031 MB / 1.208 GB, free: 1.973 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004023/1.025, allocations: 1.563 MB / 1.209 GB, free: 0.7422 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003484/1.028, allocations: 1.326 MB / 1.211 GB, free: 15.78 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003033/1.031, allocations: 2.245 MB / 1.213 GB, free: 14.48 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001775/1.033, allocations: 1.086 MB / 1.214 GB, free: 13.75 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001917/1.035, allocations: 0.9583 MB / 1.215 GB, free: 13.19 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001635/1.036, allocations: 0.8628 MB / 1.216 GB, free: 12.62 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0004578/1.037, allocations: 138.2 kB / 1.216 GB, free: 12.62 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002779/1.04, allocations: 1.236 MB / 1.217 GB, free: 11.99 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0007071/1.04, allocations: 423.5 kB / 1.217 GB, free: 11.66 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001227/1.042, allocations: 0.6499 MB / 1.218 GB, free: 11.19 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003343/1.045, allocations: 1.958 MB / 1.22 GB, free: 9.809 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/1.045, allocations: 0 / 1.22 GB, free: 9.809 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.104e-06/1.045, allocations: 0 / 1.22 GB, free: 9.809 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.676e-05/1.045, allocations: 0 / 1.22 GB, free: 9.809 MB / 0.92 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.005414/1.051, allocations: 1.721 MB / 1.222 GB, free: 8.543 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/1.051, allocations: 13.97 kB / 1.222 GB, free: 8.539 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/1.052, allocations: 183.3 kB / 1.222 GB, free: 8.449 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00225/1.054, allocations: 1.041 MB / 1.223 GB, free: 7.551 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001564/1.054, allocations: 49.92 kB / 1.223 GB, free: 7.504 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001711/1.054, allocations: 67.94 kB / 1.223 GB, free: 7.438 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/1.056, allocations: 0.6076 MB / 1.224 GB, free: 6.824 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/1.056, allocations: 0 / 1.224 GB, free: 6.824 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.909e-05/1.056, allocations: 20 kB / 1.224 GB, free: 6.805 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.525e-05/1.056, allocations: 21 kB / 1.224 GB, free: 6.781 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00145/1.057, allocations: 0.6207 MB / 1.224 GB, free: 6.164 MB / 0.92 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.005491/1.063, allocations: 2.673 MB / 1.227 GB, free: 3.348 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/1.064, allocations: 0.5373 MB / 1.227 GB, free: 2.801 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000733/1.065, allocations: 350.1 kB / 1.228 GB, free: 2.457 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005181/1.066, allocations: 299.1 kB / 1.228 GB, free: 2.109 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/1.066, allocations: 46.23 kB / 1.228 GB, free: 2.059 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009566/1.067, allocations: 143.5 kB / 1.228 GB, free: 1.918 MB / 0.92 GB Notification: Performance of pre-optimization done (n=43): time 6.602e-06/1.067, allocations: 0 / 1.228 GB, free: 1.918 MB / 0.92 GB Notification: Performance of matching and sorting (n=43): time 0.002746/1.069, allocations: 1.015 MB / 1.229 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/1.069, allocations: 59.41 kB / 1.229 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002458/1.072, allocations: 1.271 MB / 1.23 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001058/1.072, allocations: 37.7 kB / 1.231 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004185/1.073, allocations: 429.7 kB / 1.231 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001813/1.073, allocations: 153.8 kB / 1.231 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002472/1.073, allocations: 118 kB / 1.231 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001314/1.073, allocations: 318 kB / 1.232 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006403/1.074, allocations: 274.2 kB / 1.232 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000868/1.075, allocations: 489.9 kB / 1.232 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001331/1.076, allocations: 0.5833 MB / 1.233 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/1.076, allocations: 3.938 kB / 1.233 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001761/1.078, allocations: 0.7415 MB / 1.234 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/1.078, allocations: 4 kB / 1.234 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/1.078, allocations: 0 / 1.234 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/1.078, allocations: 4 kB / 1.234 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007175/1.079, allocations: 123.8 kB / 1.234 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/1.079, allocations: 4 kB / 1.234 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001351/1.08, allocations: 93.42 kB / 1.234 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.95e-05/1.08, allocations: 27.91 kB / 1.234 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008842/1.081, allocations: 471.9 kB / 1.234 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007997/1.082, allocations: 485.9 kB / 1.235 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001198/1.083, allocations: 0.5698 MB / 1.235 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.114e-06/1.083, allocations: 0 / 1.235 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001733/1.085, allocations: 0.7455 MB / 1.236 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/1.085, allocations: 8 kB / 1.236 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/1.085, allocations: 0 / 1.236 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.822e-06/1.085, allocations: 0 / 1.236 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006888/1.085, allocations: 123.8 kB / 1.236 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/1.085, allocations: 4 kB / 1.236 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/1.087, allocations: 136.1 kB / 1.236 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.208e-05/1.087, allocations: 27.97 kB / 1.236 GB, free: 9.426 MB / 0.9356 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.0002194/1.087, allocations: 208.1 kB / 1.236 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003384/1.088, allocations: 102.7 kB / 1.237 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001905/1.09, allocations: 0.8031 MB / 1.237 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/1.09, allocations: 4 kB / 1.237 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/1.09, allocations: 0 / 1.237 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/1.09, allocations: 0 / 1.237 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003613/1.093, allocations: 1.957 MB / 1.239 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/1.093, allocations: 3.938 kB / 1.239 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006128/1.094, allocations: 112.1 kB / 1.239 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.038e-05/1.094, allocations: 4 kB / 1.239 GB, free: 6.148 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.442e-05/1.094, allocations: 24.61 kB / 1.239 GB, free: 6.125 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/1.094, allocations: 7.938 kB / 1.239 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/1.094, allocations: 4 kB / 1.239 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00235/1.096, allocations: 1.225 MB / 1.241 GB, free: 4.848 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005736/1.097, allocations: 291.6 kB / 1.241 GB, free: 4.543 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000267/1.097, allocations: 16.81 kB / 1.241 GB, free: 4.527 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/1.098, allocations: 67.97 kB / 1.241 GB, free: 4.461 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/1.098, allocations: 31.95 kB / 1.241 GB, free: 4.43 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.087e-05/1.098, allocations: 23.98 kB / 1.241 GB, free: 4.406 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001624/1.1, allocations: 0.9247 MB / 1.242 GB, free: 3.473 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.11e-07/1.1, allocations: 0 / 1.242 GB, free: 3.473 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001503/1.102, allocations: 407.4 kB / 1.242 GB, free: 3.074 MB / 0.9356 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.0005276/1.102, allocations: 218.8 kB / 1.243 GB, free: 2.859 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002322/1.104, allocations: 0.9942 MB / 1.243 GB, free: 1.859 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/1.105, allocations: 0 / 1.243 GB, free: 1.859 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006819/1.105, allocations: 332.2 kB / 1.244 GB, free: 1.535 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002463/1.108, allocations: 437.2 kB / 1.244 GB, free: 1.117 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003039/1.111, allocations: 1.747 MB / 1.246 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006733/1.111, allocations: 1.045 MB / 1.247 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004623/1.112, allocations: 95.38 kB / 1.247 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of SimCode: time 5.51e-07/1.112, allocations: 0 / 1.247 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of Templates: time 0.02556/1.137, allocations: 16.23 MB / 1.263 GB, free: 14.05 MB / 0.9669 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/jenkins1/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