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.008782/0.008782, allocations: 96.31 kB / 15.73 MB, free: 6.043 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.001936/0.001937, allocations: 196.8 kB / 16.67 MB, free: 5.973 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.18 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.574/2.574, allocations: 437 MB / 0.7105 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 59.91 kB / 1.019 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2959, allocations: 151.6 MB / 1.167 GB, free: 6.812 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir): time 0.8016/1.098, allocations: 184.9 MB / 1.347 GB, free: 6.629 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01068/1.108, allocations: 6.771 MB / 1.354 GB, free: 1.82 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00114/1.109, allocations: 24.47 kB / 1.354 GB, free: 1.812 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001323/1.111, allocations: 346.2 kB / 1.354 GB, free: 1.605 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00609/1.117, allocations: 2.036 MB / 1.356 GB, free: 0.5586 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002053/1.119, allocations: 0.6828 MB / 1.357 GB, free: 208 kB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002671/1.122, allocations: 1.672 MB / 1.358 GB, free: 15.45 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001036/1.123, allocations: 0.5689 MB / 1.359 GB, free: 15.2 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002197/1.125, allocations: 0.8962 MB / 1.36 GB, free: 14.8 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009838/1.126, allocations: 484.2 kB / 1.36 GB, free: 14.59 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002102/1.126, allocations: 55.47 kB / 1.36 GB, free: 14.59 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004976/1.131, allocations: 2.31 MB / 1.363 GB, free: 13.75 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0009381/1.132, allocations: 304.1 kB / 1.363 GB, free: 13.64 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0008069/1.133, allocations: 384.6 kB / 1.363 GB, free: 13.42 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.004178/1.137, allocations: 2.004 MB / 1.365 GB, free: 12.5 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/1.137, allocations: 1.094 kB / 1.365 GB, free: 12.5 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.252e-06/1.137, allocations: 0 / 1.365 GB, free: 12.5 MB / 1.045 GB Notification: Performance of Transformations before backend: time 3.205e-05/1.137, allocations: 0 / 1.365 GB, free: 12.5 MB / 1.045 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.002593/1.14, allocations: 1.135 MB / 1.366 GB, free: 11.58 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/1.14, allocations: 10.22 kB / 1.366 GB, free: 11.58 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001546/1.141, allocations: 251 kB / 1.367 GB, free: 11.46 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001327/1.143, allocations: 0.6419 MB / 1.367 GB, free: 10.95 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.476e-05/1.143, allocations: 37.22 kB / 1.367 GB, free: 10.93 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.912e-05/1.143, allocations: 52.48 kB / 1.367 GB, free: 10.91 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/1.144, allocations: 0.6001 MB / 1.368 GB, free: 10.56 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/1.144, allocations: 0 / 1.368 GB, free: 10.56 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.629e-05/1.144, allocations: 20.38 kB / 1.368 GB, free: 10.55 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.987e-05/1.144, allocations: 30.64 kB / 1.368 GB, free: 10.54 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007641/1.145, allocations: 476.5 kB / 1.368 GB, free: 10.32 MB / 1.045 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.002957/1.148, allocations: 2.149 MB / 1.371 GB, free: 8.484 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006425/1.149, allocations: 393.2 kB / 1.371 GB, free: 8.273 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003013/1.149, allocations: 220.3 kB / 1.371 GB, free: 8.164 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 6.62e-05/1.149, allocations: 15.91 kB / 1.371 GB, free: 8.156 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/1.149, allocations: 37.62 kB / 1.371 GB, free: 8.113 MB / 1.045 GB Notification: Performance of pre-optimization done (n=34): time 1.813e-06/1.149, allocations: 0 / 1.371 GB, free: 8.113 MB / 1.045 GB Notification: Performance of matching and sorting (n=34): time 0.001613/1.151, allocations: 0.6945 MB / 1.372 GB, free: 7.699 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/1.151, allocations: 56.16 kB / 1.372 GB, free: 7.637 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006364/1.151, allocations: 0.4935 MB / 1.372 GB, free: 7.336 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.54e-05/1.151, allocations: 32.45 kB / 1.372 GB, free: 7.301 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000218/1.152, allocations: 289.6 kB / 1.373 GB, free: 7.043 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001295/1.152, allocations: 130 kB / 1.373 GB, free: 6.93 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/1.152, allocations: 73.28 kB / 1.373 GB, free: 6.883 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001501/1.152, allocations: 360.5 kB / 1.373 GB, free: 6.535 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002566/1.152, allocations: 161.8 kB / 1.373 GB, free: 6.449 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003072/1.153, allocations: 222.8 kB / 1.374 GB, free: 6.309 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005253/1.153, allocations: 374.8 kB / 1.374 GB, free: 6.102 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/1.153, allocations: 2.625 kB / 1.374 GB, free: 6.102 MB / 1.045 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007354/1.154, allocations: 475.4 kB / 1.374 GB, free: 5.855 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/1.154, allocations: 5.219 kB / 1.374 GB, free: 5.855 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/1.154, allocations: 1.188 kB / 1.374 GB, free: 5.855 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/1.154, allocations: 2.344 kB / 1.374 GB, free: 5.855 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004965/1.154, allocations: 98.09 kB / 1.374 GB, free: 5.828 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003779/1.155, allocations: 0.5902 MB / 1.375 GB, free: 5.23 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004317/1.155, allocations: 44.31 kB / 1.375 GB, free: 5.199 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.845e-05/1.155, allocations: 18.05 kB / 1.375 GB, free: 5.191 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004371/1.156, allocations: 338.6 kB / 1.375 GB, free: 4.977 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002723/1.156, allocations: 219.2 kB / 1.376 GB, free: 4.84 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004812/1.157, allocations: 371.4 kB / 1.376 GB, free: 4.633 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.513e-06/1.157, allocations: 0 / 1.376 GB, free: 4.633 MB / 1.045 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.0006906/1.157, allocations: 463.2 kB / 1.376 GB, free: 4.398 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 8.206e-06/1.157, allocations: 6.406 kB / 1.376 GB, free: 4.398 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.357e-06/1.157, allocations: 1.406 kB / 1.376 GB, free: 4.398 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.148e-06/1.157, allocations: 2.812 kB / 1.376 GB, free: 4.398 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003027/1.158, allocations: 80.2 kB / 1.377 GB, free: 4.379 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/1.158, allocations: 6.562 kB / 1.377 GB, free: 4.375 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004035/1.158, allocations: 34.34 kB / 1.377 GB, free: 4.352 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-05/1.158, allocations: 14.66 kB / 1.377 GB, free: 4.348 MB / 1.045 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.0001601/1.158, allocations: 204.2 kB / 1.377 GB, free: 4.148 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/1.158, allocations: 57.31 kB / 1.377 GB, free: 4.117 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007978/1.159, allocations: 469.3 kB / 1.377 GB, free: 3.855 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/1.159, allocations: 8.594 kB / 1.377 GB, free: 3.852 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/1.159, allocations: 0 / 1.377 GB, free: 3.852 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007517/1.16, allocations: 0.7026 MB / 1.378 GB, free: 3.238 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002051/1.162, allocations: 1.413 MB / 1.379 GB, free: 2.129 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/1.162, allocations: 2.75 kB / 1.379 GB, free: 2.129 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003648/1.162, allocations: 77.55 kB / 1.379 GB, free: 2.113 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001671/1.163, allocations: 29.16 kB / 1.379 GB, free: 2.094 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.845e-05/1.163, allocations: 15.92 kB / 1.379 GB, free: 2.086 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006449/1.163, allocations: 1.151 MB / 1.381 GB, free: 0.9297 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.163, allocations: 2.875 kB / 1.381 GB, free: 0.9297 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009444/1.164, allocations: 0.745 MB / 1.381 GB, free: 452 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002798/1.165, allocations: 189.6 kB / 1.382 GB, free: 280 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.636e-05/1.165, allocations: 8.844 kB / 1.382 GB, free: 276 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003918/1.165, allocations: 15.55 kB / 1.382 GB, free: 268 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.196e-05/1.165, allocations: 43.95 kB / 1.382 GB, free: 236 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.848e-05/1.165, allocations: 20.67 kB / 1.382 GB, free: 228 kB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004317/1.166, allocations: 353.5 kB / 1.382 GB, free: 16 kB / 1.045 GB Notification: Performance of sort global known variables: time 3.11e-07/1.166, allocations: 0 / 1.382 GB, free: 16 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.001651/1.167, allocations: 496.2 kB / 1.382 GB, free: 15.9 MB / 1.061 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.001768/1.169, allocations: 0.5105 MB / 1.383 GB, free: 15.62 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001193/1.17, allocations: 0.6059 MB / 1.384 GB, free: 15.34 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/1.17, allocations: 3.25 kB / 1.384 GB, free: 15.34 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003821/1.171, allocations: 207.4 kB / 1.384 GB, free: 15.25 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001649/1.172, allocations: 324.8 kB / 1.384 GB, free: 15.09 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002279/1.175, allocations: 1.318 MB / 1.385 GB, free: 14.2 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005378/1.175, allocations: 0.9276 MB / 1.386 GB, free: 13.39 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000642/1.176, allocations: 204 kB / 1.386 GB, free: 13.3 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001491/1.176, allocations: 55.5 kB / 1.386 GB, free: 13.28 MB / 1.061 GB Notification: Performance of SimCode: time 3.7e-07/1.176, allocations: 0 / 1.386 GB, free: 13.28 MB / 1.061 GB Notification: Performance of Templates: time 0.02743/1.203, allocations: 15.57 MB / 1.402 GB, free: 3.242 MB / 1.061 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches