Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.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.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.T|vol1.X_w|QSen.u|QLat.u|vol1.p",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.T|vol1.X_w|QSen.u|QLat.u|vol1.p",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 112.6 kB / 16.41 MB, free: 6.492 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.001708/0.001708, allocations: 183 kB / 17.34 MB, free: 5.762 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.44/1.44, allocations: 222.9 MB / 241 MB, free: 15.14 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.532/2.532, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 72.02 kB / 1.019 GB, free: 9.453 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8575/0.859, allocations: 151.6 MB / 1.167 GB, free: 3.891 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.2171/1.076, allocations: 198.9 MB / 1.362 GB, free: 12.27 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01576/1.092, allocations: 10.37 MB / 1.372 GB, free: 1.867 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002241/1.094, allocations: 55.69 kB / 1.372 GB, free: 1.812 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001789/1.096, allocations: 0.5818 MB / 1.372 GB, free: 1.227 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.00597/1.102, allocations: 2.049 MB / 1.374 GB, free: 15.17 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003988/1.106, allocations: 1.399 MB / 1.376 GB, free: 13.78 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.004329/1.11, allocations: 2.824 MB / 1.378 GB, free: 10.95 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001821/1.112, allocations: 1.168 MB / 1.38 GB, free: 9.738 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004409/1.117, allocations: 1.725 MB / 1.381 GB, free: 8.02 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001879/1.119, allocations: 0.9505 MB / 1.382 GB, free: 7.07 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002287/1.119, allocations: 120 kB / 1.382 GB, free: 6.953 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004228/1.123, allocations: 2.163 MB / 1.384 GB, free: 4.785 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0005027/1.124, allocations: 426.6 kB / 1.385 GB, free: 4.367 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0009673/1.125, allocations: 0.715 MB / 1.385 GB, free: 3.648 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.004813/1.129, allocations: 2.516 MB / 1.388 GB, free: 1.125 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/1.129, allocations: 0 / 1.388 GB, free: 1.125 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.084e-06/1.129, allocations: 0 / 1.388 GB, free: 1.125 MB / 1.107 GB Notification: Performance of Transformations before backend: time 3.668e-05/1.129, allocations: 0 / 1.388 GB, free: 1.125 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.003224/1.133, allocations: 1.826 MB / 1.39 GB, free: 15.25 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/1.133, allocations: 8.031 kB / 1.39 GB, free: 15.24 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00221/1.135, allocations: 369.8 kB / 1.39 GB, free: 14.88 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001877/1.137, allocations: 0.9753 MB / 1.391 GB, free: 13.86 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.448e-05/1.137, allocations: 78 kB / 1.391 GB, free: 13.78 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001447/1.137, allocations: 103.9 kB / 1.391 GB, free: 13.68 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001746/1.139, allocations: 1.099 MB / 1.392 GB, free: 12.52 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.904e-05/1.139, allocations: 11.92 kB / 1.392 GB, free: 12.51 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/1.139, allocations: 51.92 kB / 1.392 GB, free: 12.46 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.795e-05/1.139, allocations: 34 kB / 1.392 GB, free: 12.42 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001387/1.14, allocations: 0.8079 MB / 1.393 GB, free: 11.62 MB / 1.123 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.006372/1.147, allocations: 5.066 MB / 1.398 GB, free: 6.195 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001258/1.148, allocations: 0.6924 MB / 1.399 GB, free: 5.496 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005427/1.149, allocations: 360 kB / 1.399 GB, free: 5.145 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006347/1.149, allocations: 311.9 kB / 1.399 GB, free: 4.785 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/1.149, allocations: 39.12 kB / 1.399 GB, free: 4.738 MB / 1.123 GB Notification: Performance of pre-optimization done (n=70): time 2.855e-06/1.149, allocations: 0 / 1.399 GB, free: 4.738 MB / 1.123 GB Notification: Performance of matching and sorting (n=70): time 0.002057/1.151, allocations: 0.9469 MB / 1.4 GB, free: 3.789 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/1.152, allocations: 55.97 kB / 1.4 GB, free: 3.723 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/1.153, allocations: 0.8802 MB / 1.401 GB, free: 2.824 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 8.634e-05/1.153, allocations: 41.7 kB / 1.401 GB, free: 2.777 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004447/1.153, allocations: 0.5623 MB / 1.402 GB, free: 2.207 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002426/1.153, allocations: 248.3 kB / 1.402 GB, free: 1.961 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002245/1.154, allocations: 142.6 kB / 1.402 GB, free: 1.816 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001553/1.154, allocations: 334 kB / 1.403 GB, free: 1.484 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004906/1.154, allocations: 264.7 kB / 1.403 GB, free: 1.223 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006274/1.155, allocations: 451 kB / 1.403 GB, free: 0.7109 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/1.156, allocations: 0.7015 MB / 1.404 GB, free: 15.95 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.281e-06/1.156, allocations: 8 kB / 1.404 GB, free: 15.94 MB / 1.139 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001552/1.158, allocations: 0.8398 MB / 1.405 GB, free: 15.09 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/1.158, allocations: 10.19 kB / 1.405 GB, free: 15.08 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/1.158, allocations: 4 kB / 1.405 GB, free: 15.08 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.478e-05/1.158, allocations: 8 kB / 1.405 GB, free: 15.07 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001604/1.159, allocations: 259.8 kB / 1.405 GB, free: 14.82 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00157/1.161, allocations: 1.492 MB / 1.406 GB, free: 13.18 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009477/1.162, allocations: 87.66 kB / 1.407 GB, free: 13.1 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.621e-05/1.162, allocations: 36.09 kB / 1.407 GB, free: 13.06 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009103/1.163, allocations: 478 kB / 1.407 GB, free: 12.59 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006196/1.164, allocations: 447 kB / 1.407 GB, free: 12.08 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001091/1.165, allocations: 0.7054 MB / 1.408 GB, free: 11.3 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.835e-06/1.165, allocations: 0 / 1.408 GB, free: 11.3 MB / 1.139 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001533/1.166, allocations: 0.8315 MB / 1.409 GB, free: 10.46 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/1.166, allocations: 11.98 kB / 1.409 GB, free: 10.45 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/1.166, allocations: 4 kB / 1.409 GB, free: 10.45 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.968e-06/1.166, allocations: 12 kB / 1.409 GB, free: 10.44 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001521/1.168, allocations: 260.2 kB / 1.409 GB, free: 10.18 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001405/1.169, allocations: 1.496 MB / 1.411 GB, free: 8.547 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009002/1.17, allocations: 59.52 kB / 1.411 GB, free: 8.488 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.27e-05/1.17, allocations: 35.98 kB / 1.411 GB, free: 8.453 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 4 (PI1.I.trigger_internal,PI.I.trigger_internal,QLat.local_reset,QSen.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 93 * 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.0002786/1.17, allocations: 231.9 kB / 1.411 GB, free: 8.219 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001861/1.171, allocations: 114.7 kB / 1.411 GB, free: 8.105 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001749/1.172, allocations: 0.7904 MB / 1.412 GB, free: 7.301 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/1.172, allocations: 12 kB / 1.412 GB, free: 7.289 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/1.172, allocations: 7.875 kB / 1.412 GB, free: 7.281 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00131/1.174, allocations: 0.7156 MB / 1.413 GB, free: 6.535 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003493/1.177, allocations: 1.926 MB / 1.415 GB, free: 4.527 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/1.177, allocations: 4.031 kB / 1.415 GB, free: 4.523 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007684/1.178, allocations: 147.8 kB / 1.415 GB, free: 4.379 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003552/1.178, allocations: 36.83 kB / 1.415 GB, free: 4.34 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.933e-05/1.178, allocations: 16 kB / 1.415 GB, free: 4.324 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001408/1.18, allocations: 1.45 MB / 1.416 GB, free: 2.73 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/1.18, allocations: 4.031 kB / 1.416 GB, free: 2.727 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002207/1.182, allocations: 1.238 MB / 1.417 GB, free: 1.449 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005409/1.183, allocations: 255.5 kB / 1.418 GB, free: 1.18 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/1.183, allocations: 12 kB / 1.418 GB, free: 1.168 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005614/1.183, allocations: 29.11 kB / 1.418 GB, free: 1.141 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/1.183, allocations: 44.5 kB / 1.418 GB, free: 1.098 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.601e-05/1.184, allocations: 23.98 kB / 1.418 GB, free: 1.074 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.000946/1.184, allocations: 0.6006 MB / 1.418 GB, free: 476 kB / 1.139 GB Notification: Performance of sort global known variables: time 3.51e-07/1.184, allocations: 4 kB / 1.418 GB, free: 472 kB / 1.139 GB Notification: Performance of remove unused functions: time 0.001549/1.186, allocations: 0.5297 MB / 1.419 GB, free: 15.93 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,QSen.y,QLat.y,PI.I.y,PI1.I.y) * 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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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.00061/1.187, allocations: 215.8 kB / 1.419 GB, free: 15.71 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.003786/1.19, allocations: 1.205 MB / 1.42 GB, free: 14.51 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 9.398e-06/1.191, allocations: 4 kB / 1.42 GB, free: 14.51 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0008921/1.191, allocations: 458.1 kB / 1.421 GB, free: 14.05 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002694/1.194, allocations: 0.5214 MB / 1.421 GB, free: 13.54 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004702/1.199, allocations: 2.222 MB / 1.423 GB, free: 11.27 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001/1.2, allocations: 1.14 MB / 1.424 GB, free: 10.09 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003772/1.2, allocations: 87.44 kB / 1.424 GB, free: 10.01 MB / 1.154 GB Notification: Performance of SimCode: time 8.62e-07/1.2, allocations: 0 / 1.424 GB, free: 10.01 MB / 1.154 GB Notification: Performance of Templates: time 0.03275/1.233, allocations: 21.52 MB / 1.446 GB, free: 4.602 MB / 1.17 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches