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.001568/0.001568, allocations: 111.9 kB / 15.99 MB, free: 5.906 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.001645/0.001646, allocations: 190.8 kB / 16.91 MB, free: 5.754 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.327/1.327, allocations: 222.9 MB / 240.6 MB, free: 13.68 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.394/2.394, allocations: 437 MB / 0.7107 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 64.62 kB / 0.8694 GB, free: 2.508 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3476, allocations: 151.6 MB / 1.017 GB, free: 10.95 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir): time 0.7711/1.119, allocations: 182.5 MB / 1.196 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.009749/1.129, allocations: 6.722 MB / 1.202 GB, free: 6.562 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001254/1.13, allocations: 24.75 kB / 1.202 GB, free: 6.551 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001123/1.131, allocations: 300.8 kB / 1.203 GB, free: 6.309 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005234/1.136, allocations: 1.913 MB / 1.204 GB, free: 4.934 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001812/1.138, allocations: 0.6271 MB / 1.205 GB, free: 4.484 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00217/1.14, allocations: 1.662 MB / 1.207 GB, free: 3.539 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007626/1.141, allocations: 0.5495 MB / 1.207 GB, free: 3.215 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002015/1.143, allocations: 0.8924 MB / 1.208 GB, free: 2.684 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001279/1.144, allocations: 0.5289 MB / 1.209 GB, free: 2.387 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.753e-05/1.145, allocations: 55.41 kB / 1.209 GB, free: 2.387 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004618/1.149, allocations: 2.404 MB / 1.211 GB, free: 1.078 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003395/1.15, allocations: 277.4 kB / 1.211 GB, free: 0.9023 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004683/1.15, allocations: 382.8 kB / 1.212 GB, free: 0.6602 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002607/1.153, allocations: 1.478 MB / 1.213 GB, free: 15.82 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/1.153, allocations: 4 kB / 1.213 GB, free: 15.81 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.342e-06/1.153, allocations: 0 / 1.213 GB, free: 15.81 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.551e-05/1.153, allocations: 0 / 1.213 GB, free: 15.81 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.001896/1.155, allocations: 1.107 MB / 1.214 GB, free: 14.93 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/1.155, allocations: 8.578 kB / 1.214 GB, free: 14.93 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00173/1.156, allocations: 277.4 kB / 1.214 GB, free: 14.79 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/1.157, allocations: 0.6203 MB / 1.215 GB, free: 14.29 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.045e-05/1.157, allocations: 34.94 kB / 1.215 GB, free: 14.28 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.553e-05/1.158, allocations: 60.31 kB / 1.215 GB, free: 14.25 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00097/1.159, allocations: 0.5921 MB / 1.216 GB, free: 13.9 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/1.159, allocations: 0 / 1.216 GB, free: 13.9 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.235e-05/1.159, allocations: 20.88 kB / 1.216 GB, free: 13.89 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.307e-05/1.159, allocations: 26.89 kB / 1.216 GB, free: 13.88 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006837/1.159, allocations: 478.6 kB / 1.216 GB, free: 13.66 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.002759/1.162, allocations: 2.139 MB / 1.218 GB, free: 11.83 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006441/1.163, allocations: 390.5 kB / 1.219 GB, free: 11.5 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002877/1.163, allocations: 217.2 kB / 1.219 GB, free: 11.29 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 5.579e-05/1.163, allocations: 12.27 kB / 1.219 GB, free: 11.28 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/1.163, allocations: 34.84 kB / 1.219 GB, free: 11.23 MB / 0.92 GB Notification: Performance of pre-optimization done (n=34): time 1.783e-06/1.163, allocations: 4 kB / 1.219 GB, free: 11.23 MB / 0.92 GB Notification: Performance of matching and sorting (n=34): time 0.001321/1.164, allocations: 0.6562 MB / 1.22 GB, free: 10.55 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/1.165, allocations: 55.41 kB / 1.22 GB, free: 10.48 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000554/1.165, allocations: 494.1 kB / 1.22 GB, free: 9.988 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.898e-05/1.165, allocations: 37.7 kB / 1.22 GB, free: 9.945 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001993/1.165, allocations: 284.2 kB / 1.22 GB, free: 9.664 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/1.165, allocations: 126.3 kB / 1.22 GB, free: 9.539 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/1.166, allocations: 73.59 kB / 1.221 GB, free: 9.461 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001453/1.166, allocations: 366.8 kB / 1.221 GB, free: 9.094 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002407/1.166, allocations: 160.6 kB / 1.221 GB, free: 8.934 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003027/1.166, allocations: 229 kB / 1.221 GB, free: 8.691 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005145/1.167, allocations: 376.8 kB / 1.222 GB, free: 8.312 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/1.167, allocations: 3.938 kB / 1.222 GB, free: 8.309 MB / 0.92 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007108/1.168, allocations: 464.8 kB / 1.222 GB, free: 7.848 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/1.168, allocations: 4 kB / 1.222 GB, free: 7.844 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/1.168, allocations: 0 / 1.222 GB, free: 7.844 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/1.168, allocations: 4 kB / 1.222 GB, free: 7.84 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005075/1.168, allocations: 88.73 kB / 1.222 GB, free: 7.754 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004001/1.169, allocations: 0.6015 MB / 1.223 GB, free: 7.129 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004843/1.169, allocations: 71.75 kB / 1.223 GB, free: 7.059 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.842e-05/1.169, allocations: 16 kB / 1.223 GB, free: 7.043 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000445/1.17, allocations: 332 kB / 1.223 GB, free: 6.715 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002986/1.17, allocations: 213 kB / 1.223 GB, free: 6.488 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000499/1.17, allocations: 375.5 kB / 1.224 GB, free: 6.109 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.176e-06/1.17, allocations: 0.8594 kB / 1.224 GB, free: 6.109 MB / 0.92 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.0006615/1.171, allocations: 464.8 kB / 1.224 GB, free: 5.648 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/1.171, allocations: 6.656 kB / 1.224 GB, free: 5.645 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.344e-06/1.171, allocations: 0 / 1.224 GB, free: 5.645 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/1.171, allocations: 8.094 kB / 1.224 GB, free: 5.637 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003002/1.171, allocations: 79.89 kB / 1.224 GB, free: 5.559 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/1.171, allocations: 4 kB / 1.224 GB, free: 5.555 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004234/1.172, allocations: 67.61 kB / 1.224 GB, free: 5.488 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.549e-05/1.172, allocations: 19.98 kB / 1.224 GB, free: 5.469 MB / 0.92 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.0001776/1.172, allocations: 196.2 kB / 1.225 GB, free: 5.27 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.451e-05/1.172, allocations: 55.34 kB / 1.225 GB, free: 5.215 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008148/1.173, allocations: 479.7 kB / 1.225 GB, free: 4.742 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/1.173, allocations: 11.92 kB / 1.225 GB, free: 4.73 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/1.173, allocations: 0 / 1.225 GB, free: 4.73 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007148/1.174, allocations: 0.6958 MB / 1.226 GB, free: 3.945 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002032/1.176, allocations: 1.426 MB / 1.227 GB, free: 2.406 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/1.176, allocations: 4 kB / 1.227 GB, free: 2.402 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003786/1.176, allocations: 83.88 kB / 1.227 GB, free: 2.32 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001401/1.176, allocations: 24.84 kB / 1.227 GB, free: 2.293 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.191e-05/1.176, allocations: 19.94 kB / 1.227 GB, free: 2.273 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006584/1.177, allocations: 1.146 MB / 1.228 GB, free: 1.078 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/1.177, allocations: 7.969 kB / 1.228 GB, free: 1.07 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009547/1.178, allocations: 0.7312 MB / 1.229 GB, free: 308 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002925/1.178, allocations: 180.4 kB / 1.229 GB, free: 108 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.912e-05/1.178, allocations: 15.94 kB / 1.229 GB, free: 92 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003938/1.179, allocations: 47.89 kB / 1.229 GB, free: 44 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.085e-05/1.179, allocations: 31.91 kB / 1.229 GB, free: 12 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-05/1.179, allocations: 19.98 kB / 1.229 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003866/1.179, allocations: 354.8 kB / 1.23 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.7e-07/1.179, allocations: 0 / 1.23 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001361/1.181, allocations: 491.1 kB / 1.23 GB, free: 15.17 MB / 0.9356 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.001412/1.182, allocations: 0.5132 MB / 1.231 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001331/1.183, allocations: 0.6327 MB / 1.231 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/1.183, allocations: 0 / 1.231 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003806/1.184, allocations: 213 kB / 1.231 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001552/1.185, allocations: 339.1 kB / 1.232 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002281/1.188, allocations: 1.57 MB / 1.233 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005151/1.188, allocations: 0.9256 MB / 1.234 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/1.188, allocations: 51.42 kB / 1.234 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of SimCode: time 5.61e-07/1.188, allocations: 0 / 1.234 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of Templates: time 0.02118/1.21, allocations: 16.04 MB / 1.25 GB, free: 10.9 MB / 0.9512 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/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