Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001238/0.001238, allocations: 108.9 kB / 16.41 MB, free: 6.488 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.001207/0.001207, allocations: 187 kB / 17.34 MB, free: 5.73 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.371/1.371, 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 9.1.3-maint.9.1.x/package.mo): time 2.323/2.323, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 63.91 kB / 0.9515 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8674/0.8689, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.2493/1.118, allocations: 198.9 MB / 1.283 GB, free: 6.703 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0166/1.135, allocations: 10.35 MB / 1.293 GB, free: 12.32 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002337/1.137, allocations: 59.69 kB / 1.293 GB, free: 12.26 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002112/1.139, allocations: 0.5741 MB / 1.294 GB, free: 11.68 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.005999/1.145, allocations: 1.971 MB / 1.295 GB, free: 9.699 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004016/1.15, allocations: 1.387 MB / 1.297 GB, free: 8.32 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.004444/1.154, allocations: 2.824 MB / 1.3 GB, free: 5.492 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002179/1.156, allocations: 1.168 MB / 1.301 GB, free: 4.293 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004865/1.161, allocations: 1.693 MB / 1.302 GB, free: 2.605 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002066/1.163, allocations: 0.9567 MB / 1.303 GB, free: 1.648 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0004537/1.164, allocations: 120 kB / 1.303 GB, free: 1.531 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00451/1.168, allocations: 2.148 MB / 1.306 GB, free: 15.38 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0006337/1.169, allocations: 430.5 kB / 1.306 GB, free: 14.96 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001357/1.17, allocations: 0.7072 MB / 1.307 GB, free: 14.25 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00543/1.176, allocations: 2.516 MB / 1.309 GB, free: 11.72 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/1.176, allocations: 3.938 kB / 1.309 GB, free: 11.72 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.004e-06/1.176, allocations: 4 kB / 1.309 GB, free: 11.71 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.488e-05/1.176, allocations: 0 / 1.309 GB, free: 11.71 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: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.003793/1.18, allocations: 1.818 MB / 1.311 GB, free: 9.84 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/1.18, allocations: 8.031 kB / 1.311 GB, free: 9.832 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002406/1.182, allocations: 373.8 kB / 1.311 GB, free: 9.465 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002152/1.184, allocations: 0.9714 MB / 1.312 GB, free: 8.449 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.464e-05/1.184, allocations: 78 kB / 1.312 GB, free: 8.375 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002132/1.184, allocations: 108 kB / 1.312 GB, free: 8.27 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002026/1.187, allocations: 1.109 MB / 1.313 GB, free: 7.102 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.936e-05/1.187, allocations: 7.938 kB / 1.313 GB, free: 7.094 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/1.187, allocations: 44 kB / 1.313 GB, free: 7.051 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.974e-05/1.187, allocations: 37.94 kB / 1.314 GB, free: 7.016 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001541/1.188, allocations: 0.808 MB / 1.314 GB, free: 6.203 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.006803/1.195, allocations: 5.078 MB / 1.319 GB, free: 0.7656 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001277/1.196, allocations: 0.6873 MB / 1.32 GB, free: 68 kB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005754/1.197, allocations: 366.1 kB / 1.32 GB, free: 15.71 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000611/1.198, allocations: 315.9 kB / 1.321 GB, free: 15.34 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/1.198, allocations: 39.12 kB / 1.321 GB, free: 15.3 MB / 1.061 GB Notification: Performance of pre-optimization done (n=70): time 3.096e-06/1.198, allocations: 0 / 1.321 GB, free: 15.3 MB / 1.061 GB Notification: Performance of matching and sorting (n=70): time 0.002056/1.2, allocations: 0.9429 MB / 1.322 GB, free: 14.35 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/1.2, allocations: 59.97 kB / 1.322 GB, free: 14.28 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001242/1.201, allocations: 0.8802 MB / 1.322 GB, free: 13.38 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.04e-05/1.201, allocations: 41.7 kB / 1.323 GB, free: 13.33 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004308/1.202, allocations: 0.5584 MB / 1.323 GB, free: 12.77 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002398/1.202, allocations: 248.3 kB / 1.323 GB, free: 12.52 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002221/1.202, allocations: 138.6 kB / 1.323 GB, free: 12.38 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001149/1.202, allocations: 337.9 kB / 1.324 GB, free: 12.04 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004772/1.203, allocations: 264.7 kB / 1.324 GB, free: 11.78 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005944/1.203, allocations: 446.9 kB / 1.324 GB, free: 11.27 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/1.204, allocations: 0.7093 MB / 1.325 GB, free: 10.5 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/1.204, allocations: 4 kB / 1.325 GB, free: 10.49 MB / 1.061 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001512/1.206, allocations: 0.8315 MB / 1.326 GB, free: 9.652 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/1.206, allocations: 8 kB / 1.326 GB, free: 9.645 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/1.206, allocations: 4 kB / 1.326 GB, free: 9.641 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.496e-05/1.206, allocations: 8.625 kB / 1.326 GB, free: 9.633 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001607/1.208, allocations: 267.6 kB / 1.326 GB, free: 9.371 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001454/1.209, allocations: 1.492 MB / 1.328 GB, free: 7.734 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008825/1.21, allocations: 83.11 kB / 1.328 GB, free: 7.652 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.662e-05/1.21, allocations: 35.98 kB / 1.328 GB, free: 7.617 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000853/1.211, allocations: 478 kB / 1.328 GB, free: 7.148 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005901/1.212, allocations: 455.1 kB / 1.329 GB, free: 6.629 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00107/1.213, allocations: 0.7015 MB / 1.329 GB, free: 5.859 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.258e-06/1.213, allocations: 0 / 1.329 GB, free: 5.859 MB / 1.061 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001488/1.214, allocations: 0.8321 MB / 1.33 GB, free: 5.02 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/1.214, allocations: 8 kB / 1.33 GB, free: 5.012 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/1.214, allocations: 4 kB / 1.33 GB, free: 5.008 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/1.214, allocations: 8 kB / 1.33 GB, free: 5 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001502/1.216, allocations: 267.7 kB / 1.33 GB, free: 4.738 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001355/1.217, allocations: 1.496 MB / 1.332 GB, free: 3.098 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008647/1.218, allocations: 64.53 kB / 1.332 GB, free: 3.035 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.268e-05/1.218, allocations: 31.98 kB / 1.332 GB, free: 3.004 MB / 1.061 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.0002672/1.218, allocations: 245.9 kB / 1.332 GB, free: 2.758 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002845/1.219, allocations: 110.6 kB / 1.332 GB, free: 2.648 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001803/1.22, allocations: 0.7864 MB / 1.333 GB, free: 1.852 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/1.22, allocations: 4 kB / 1.333 GB, free: 1.848 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/1.22, allocations: 7.938 kB / 1.333 GB, free: 1.84 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001328/1.222, allocations: 0.7117 MB / 1.334 GB, free: 1.094 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003564/1.225, allocations: 1.93 MB / 1.336 GB, free: 15.08 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/1.225, allocations: 0 / 1.336 GB, free: 15.08 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007289/1.226, allocations: 147.8 kB / 1.336 GB, free: 14.94 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003459/1.226, allocations: 37.05 kB / 1.336 GB, free: 14.9 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.185e-05/1.227, allocations: 20 kB / 1.336 GB, free: 14.88 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00135/1.228, allocations: 1.447 MB / 1.337 GB, free: 13.29 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.014e-06/1.228, allocations: 7.969 kB / 1.337 GB, free: 13.28 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002151/1.23, allocations: 1.242 MB / 1.339 GB, free: 12 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004682/1.231, allocations: 247.6 kB / 1.339 GB, free: 11.73 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001967/1.231, allocations: 16 kB / 1.339 GB, free: 11.72 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006832/1.231, allocations: 19.98 kB / 1.339 GB, free: 11.7 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.814e-05/1.232, allocations: 52.5 kB / 1.339 GB, free: 11.65 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.106e-05/1.232, allocations: 20 kB / 1.339 GB, free: 11.63 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0009306/1.233, allocations: 0.6006 MB / 1.339 GB, free: 11.02 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.81e-07/1.233, allocations: 0 / 1.339 GB, free: 11.02 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001618/1.234, allocations: 0.5335 MB / 1.34 GB, free: 10.48 MB / 1.076 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.0005747/1.235, allocations: 228.2 kB / 1.34 GB, free: 10.26 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00368/1.238, allocations: 1.197 MB / 1.341 GB, free: 9.066 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/1.238, allocations: 0 / 1.341 GB, free: 9.066 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0008276/1.239, allocations: 453.6 kB / 1.342 GB, free: 8.605 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002684/1.242, allocations: 0.5094 MB / 1.342 GB, free: 8.105 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004404/1.246, allocations: 2.229 MB / 1.344 GB, free: 5.824 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000857/1.247, allocations: 1.144 MB / 1.346 GB, free: 4.648 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000354/1.248, allocations: 91.42 kB / 1.346 GB, free: 4.559 MB / 1.076 GB Notification: Performance of SimCode: time 1.623e-06/1.248, allocations: 0 / 1.346 GB, free: 4.559 MB / 1.076 GB Notification: Performance of Templates: time 0.03093/1.279, allocations: 21.53 MB / 1.367 GB, free: 15.16 MB / 1.107 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches