Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir.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.MixingVolumes.Validation.MSLCombustionAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir") translateModel(Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001443/0.001444, allocations: 104.5 kB / 16.4 MB, free: 6.504 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.001475/0.001475, allocations: 188 kB / 17.34 MB, free: 5.738 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.598/1.598, allocations: 222.9 MB / 241 MB, free: 15.15 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.735/2.735, allocations: 437 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 63.91 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9094/0.9114, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir): time 0.2341/1.146, allocations: 184.9 MB / 1.348 GB, free: 10.23 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01154/1.157, allocations: 6.773 MB / 1.355 GB, free: 3.43 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001021/1.158, allocations: 27.81 kB / 1.355 GB, free: 3.402 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001098/1.159, allocations: 357.8 kB / 1.355 GB, free: 3.051 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005562/1.165, allocations: 2.077 MB / 1.357 GB, free: 0.9727 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002084/1.167, allocations: 0.6777 MB / 1.358 GB, free: 308 kB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002453/1.17, allocations: 1.676 MB / 1.359 GB, free: 14.62 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008761/1.17, allocations: 0.5738 MB / 1.36 GB, free: 14.04 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001874/1.172, allocations: 0.9069 MB / 1.361 GB, free: 13.13 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006386/1.173, allocations: 486 kB / 1.361 GB, free: 12.66 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 8.742e-05/1.173, allocations: 56 kB / 1.361 GB, free: 12.6 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004492/1.178, allocations: 2.315 MB / 1.363 GB, free: 10.28 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0008238/1.178, allocations: 294.9 kB / 1.364 GB, free: 10 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0004792/1.179, allocations: 390.2 kB / 1.364 GB, free: 9.617 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003592/1.182, allocations: 1.998 MB / 1.366 GB, free: 7.613 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 9.237e-06/1.182, allocations: 0 / 1.366 GB, free: 7.613 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.204e-06/1.183, allocations: 3.938 kB / 1.366 GB, free: 7.609 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.408e-05/1.183, allocations: 0 / 1.366 GB, free: 7.609 MB / 1.092 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.002268/1.185, allocations: 1.135 MB / 1.367 GB, free: 6.418 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/1.185, allocations: 12.92 kB / 1.367 GB, free: 6.406 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00145/1.186, allocations: 251.3 kB / 1.367 GB, free: 6.16 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/1.187, allocations: 0.642 MB / 1.368 GB, free: 5.477 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.274e-05/1.188, allocations: 41 kB / 1.368 GB, free: 5.438 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.621e-05/1.188, allocations: 48 kB / 1.368 GB, free: 5.391 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009801/1.189, allocations: 0.5956 MB / 1.369 GB, free: 4.785 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/1.189, allocations: 0 / 1.369 GB, free: 4.785 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.769e-05/1.189, allocations: 27.94 kB / 1.369 GB, free: 4.758 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.798e-05/1.189, allocations: 20.98 kB / 1.369 GB, free: 4.738 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007625/1.19, allocations: 479.7 kB / 1.369 GB, free: 4.27 MB / 1.092 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.002942/1.192, allocations: 2.153 MB / 1.371 GB, free: 1.941 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006969/1.193, allocations: 396.7 kB / 1.372 GB, free: 1.547 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003154/1.193, allocations: 206.3 kB / 1.372 GB, free: 1.344 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 6.666e-05/1.194, allocations: 20.25 kB / 1.372 GB, free: 1.324 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/1.194, allocations: 34.84 kB / 1.372 GB, free: 1.281 MB / 1.092 GB Notification: Performance of pre-optimization done (n=34): time 1.373e-06/1.194, allocations: 0 / 1.372 GB, free: 1.281 MB / 1.092 GB Notification: Performance of matching and sorting (n=34): time 0.001615/1.195, allocations: 0.6994 MB / 1.373 GB, free: 0.5547 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/1.195, allocations: 55.41 kB / 1.373 GB, free: 500 kB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006147/1.196, allocations: 0.4903 MB / 1.373 GB, free: 15.98 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.937e-05/1.196, allocations: 33.7 kB / 1.373 GB, free: 15.95 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002463/1.196, allocations: 292.6 kB / 1.373 GB, free: 15.65 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001333/1.196, allocations: 130.8 kB / 1.374 GB, free: 15.53 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/1.196, allocations: 77.44 kB / 1.374 GB, free: 15.45 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001924/1.197, allocations: 366.7 kB / 1.374 GB, free: 15.08 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002683/1.197, allocations: 152.8 kB / 1.374 GB, free: 14.93 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003289/1.197, allocations: 233.1 kB / 1.374 GB, free: 14.68 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005625/1.198, allocations: 365.2 kB / 1.375 GB, free: 14.31 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/1.198, allocations: 0 / 1.375 GB, free: 14.31 MB / 1.107 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007583/1.199, allocations: 473 kB / 1.375 GB, free: 13.84 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/1.199, allocations: 8 kB / 1.375 GB, free: 13.84 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/1.199, allocations: 4.141 kB / 1.375 GB, free: 13.83 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.304e-05/1.199, allocations: 7.984 kB / 1.375 GB, free: 13.82 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005129/1.199, allocations: 91.86 kB / 1.375 GB, free: 13.73 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004385/1.2, allocations: 0.5938 MB / 1.376 GB, free: 13.12 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003459/1.2, allocations: 43.66 kB / 1.376 GB, free: 13.07 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.902e-05/1.2, allocations: 19.98 kB / 1.376 GB, free: 13.05 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004644/1.201, allocations: 340.1 kB / 1.376 GB, free: 12.72 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003135/1.201, allocations: 216.8 kB / 1.376 GB, free: 12.49 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005484/1.201, allocations: 367.5 kB / 1.377 GB, free: 12.12 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.352e-06/1.201, allocations: 4 kB / 1.377 GB, free: 12.11 MB / 1.107 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.0007798/1.202, allocations: 469.1 kB / 1.377 GB, free: 11.65 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 8.295e-06/1.202, allocations: 4 kB / 1.377 GB, free: 11.64 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-06/1.202, allocations: 0 / 1.377 GB, free: 11.64 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.501e-06/1.202, allocations: 4 kB / 1.377 GB, free: 11.64 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003204/1.203, allocations: 75.89 kB / 1.377 GB, free: 11.57 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/1.203, allocations: 11.88 kB / 1.377 GB, free: 11.55 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003148/1.203, allocations: 31.81 kB / 1.377 GB, free: 11.52 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.19e-05/1.203, allocations: 20.08 kB / 1.377 GB, free: 11.5 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000182/1.203, allocations: 200.2 kB / 1.378 GB, free: 11.3 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/1.203, allocations: 55.62 kB / 1.378 GB, free: 11.25 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008834/1.204, allocations: 468.8 kB / 1.378 GB, free: 10.78 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/1.204, allocations: 7.938 kB / 1.378 GB, free: 10.77 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/1.204, allocations: 0 / 1.378 GB, free: 10.77 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008059/1.205, allocations: 0.7074 MB / 1.379 GB, free: 9.977 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002128/1.207, allocations: 1.408 MB / 1.38 GB, free: 8.453 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/1.207, allocations: 192 / 1.38 GB, free: 8.453 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003882/1.208, allocations: 87.88 kB / 1.38 GB, free: 8.367 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001496/1.208, allocations: 28.84 kB / 1.38 GB, free: 8.336 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.93e-05/1.208, allocations: 15.98 kB / 1.38 GB, free: 8.32 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007869/1.209, allocations: 1.154 MB / 1.381 GB, free: 7.117 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.491e-06/1.209, allocations: 3.938 kB / 1.381 GB, free: 7.113 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/1.21, allocations: 0.7393 MB / 1.382 GB, free: 6.336 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002379/1.21, allocations: 184.7 kB / 1.382 GB, free: 6.137 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.193e-05/1.21, allocations: 8 kB / 1.382 GB, free: 6.129 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003429/1.21, allocations: 19.98 kB / 1.382 GB, free: 6.109 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.151e-05/1.21, allocations: 23.91 kB / 1.382 GB, free: 6.086 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.306e-05/1.21, allocations: 23.98 kB / 1.382 GB, free: 6.062 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0004224/1.211, allocations: 358.8 kB / 1.383 GB, free: 5.715 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.4e-07/1.211, allocations: 0 / 1.383 GB, free: 5.715 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001319/1.212, allocations: 498.7 kB / 1.383 GB, free: 5.227 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.medium.Xi[2],vol.dynBal.U,vol.dynBal.m) * 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001309/1.214, allocations: 0.5101 MB / 1.384 GB, free: 4.719 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001268/1.215, allocations: 0.6008 MB / 1.384 GB, free: 4.117 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.215, allocations: 4 kB / 1.384 GB, free: 4.113 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0004385/1.215, allocations: 204.4 kB / 1.384 GB, free: 3.914 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001532/1.217, allocations: 338.1 kB / 1.385 GB, free: 3.594 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002392/1.219, allocations: 1.325 MB / 1.386 GB, free: 2.219 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006481/1.22, allocations: 0.9294 MB / 1.387 GB, free: 1.262 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0005499/1.22, allocations: 208.5 kB / 1.387 GB, free: 1.055 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/1.221, allocations: 47.44 kB / 1.387 GB, free: 1.008 MB / 1.107 GB Notification: Performance of SimCode: time 2.5e-07/1.221, allocations: 0 / 1.387 GB, free: 1.008 MB / 1.107 GB Notification: Performance of Templates: time 0.02795/1.249, allocations: 15.62 MB / 1.403 GB, free: 1.543 MB / 1.123 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MSLCombustionAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches