Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001259/0.001259, allocations: 108 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.001226/0.001226, allocations: 185.5 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.425/1.425, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.724/2.724, allocations: 461.9 MB / 0.7354 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 63.89 kB / 1.055 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8917/0.8931, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.2222/1.115, allocations: 198.9 MB / 1.403 GB, free: 6.027 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01634/1.132, allocations: 10.36 MB / 1.413 GB, free: 11.63 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002291/1.134, allocations: 55.69 kB / 1.413 GB, free: 11.57 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002109/1.136, allocations: 0.574 MB / 1.413 GB, free: 11 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.005899/1.142, allocations: 1.971 MB / 1.415 GB, free: 9.016 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004258/1.146, allocations: 1.383 MB / 1.417 GB, free: 7.641 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.004686/1.151, allocations: 2.83 MB / 1.419 GB, free: 4.797 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002382/1.154, allocations: 1.172 MB / 1.421 GB, free: 3.594 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005058/1.159, allocations: 1.687 MB / 1.422 GB, free: 1.91 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002234/1.161, allocations: 0.9595 MB / 1.423 GB, free: 0.9531 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0004864/1.161, allocations: 120 kB / 1.423 GB, free: 0.8359 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004752/1.166, allocations: 2.152 MB / 1.425 GB, free: 14.68 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0007003/1.167, allocations: 430.7 kB / 1.426 GB, free: 14.26 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001383/1.168, allocations: 0.7112 MB / 1.426 GB, free: 13.54 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.005853/1.174, allocations: 2.52 MB / 1.429 GB, free: 11.02 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/1.174, allocations: 0 / 1.429 GB, free: 11.02 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.013e-06/1.174, allocations: 0 / 1.429 GB, free: 11.02 MB / 1.154 GB Notification: Performance of Transformations before backend: time 8.27e-05/1.174, allocations: 4 kB / 1.429 GB, free: 11.01 MB / 1.154 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.004195/1.179, allocations: 1.81 MB / 1.431 GB, free: 9.145 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/1.179, allocations: 8.031 kB / 1.431 GB, free: 9.137 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002428/1.181, allocations: 373.9 kB / 1.431 GB, free: 8.77 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002215/1.183, allocations: 0.9714 MB / 1.432 GB, free: 7.754 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.232e-05/1.183, allocations: 82 kB / 1.432 GB, free: 7.676 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000226/1.184, allocations: 103.9 kB / 1.432 GB, free: 7.574 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002117/1.186, allocations: 1.105 MB / 1.433 GB, free: 6.41 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.672e-05/1.186, allocations: 3.938 kB / 1.433 GB, free: 6.406 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/1.186, allocations: 43.98 kB / 1.433 GB, free: 6.363 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.667e-05/1.186, allocations: 41.98 kB / 1.433 GB, free: 6.324 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001708/1.188, allocations: 0.808 MB / 1.434 GB, free: 5.516 MB / 1.154 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.007343/1.195, allocations: 5.07 MB / 1.439 GB, free: 92 kB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001352/1.196, allocations: 0.6912 MB / 1.44 GB, free: 15.39 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005968/1.197, allocations: 354.4 kB / 1.44 GB, free: 15.05 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006548/1.198, allocations: 311.8 kB / 1.44 GB, free: 14.69 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.764e-05/1.198, allocations: 39.12 kB / 1.44 GB, free: 14.64 MB / 1.17 GB Notification: Performance of pre-optimization done (n=70): time 4.368e-06/1.198, allocations: 0 / 1.44 GB, free: 14.64 MB / 1.17 GB Notification: Performance of matching and sorting (n=70): time 0.00223/1.2, allocations: 0.9469 MB / 1.441 GB, free: 13.69 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.705e-05/1.2, allocations: 59.97 kB / 1.441 GB, free: 13.62 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001379/1.201, allocations: 0.8763 MB / 1.442 GB, free: 12.72 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001043/1.202, allocations: 41.7 kB / 1.442 GB, free: 12.68 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004995/1.202, allocations: 0.5624 MB / 1.443 GB, free: 12.11 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002726/1.202, allocations: 252.2 kB / 1.443 GB, free: 11.86 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002526/1.203, allocations: 146.6 kB / 1.443 GB, free: 11.71 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001458/1.203, allocations: 334 kB / 1.444 GB, free: 11.38 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005222/1.203, allocations: 260.7 kB / 1.444 GB, free: 11.12 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006586/1.204, allocations: 451 kB / 1.444 GB, free: 10.61 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/1.205, allocations: 0.7054 MB / 1.445 GB, free: 9.84 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/1.205, allocations: 0 / 1.445 GB, free: 9.84 MB / 1.17 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001726/1.207, allocations: 0.8315 MB / 1.446 GB, free: 9 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/1.207, allocations: 11.94 kB / 1.446 GB, free: 8.988 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/1.207, allocations: 4.625 kB / 1.446 GB, free: 8.984 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.724e-05/1.207, allocations: 12 kB / 1.446 GB, free: 8.973 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001628/1.209, allocations: 255.7 kB / 1.446 GB, free: 8.723 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001609/1.21, allocations: 1.504 MB / 1.447 GB, free: 7.07 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00093/1.211, allocations: 87.09 kB / 1.448 GB, free: 6.984 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.918e-05/1.211, allocations: 32 kB / 1.448 GB, free: 6.953 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009233/1.212, allocations: 474 kB / 1.448 GB, free: 6.488 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006526/1.213, allocations: 459 kB / 1.448 GB, free: 5.969 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001157/1.214, allocations: 0.7054 MB / 1.449 GB, free: 5.199 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.891e-06/1.214, allocations: 4 kB / 1.449 GB, free: 5.195 MB / 1.17 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001614/1.216, allocations: 0.8318 MB / 1.45 GB, free: 4.355 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/1.216, allocations: 11.98 kB / 1.45 GB, free: 4.344 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/1.216, allocations: 4 kB / 1.45 GB, free: 4.34 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/1.216, allocations: 11.94 kB / 1.45 GB, free: 4.328 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001562/1.217, allocations: 256 kB / 1.45 GB, free: 4.078 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001498/1.219, allocations: 1.488 MB / 1.452 GB, free: 2.441 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009119/1.22, allocations: 67.59 kB / 1.452 GB, free: 2.375 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.809e-05/1.22, allocations: 31.98 kB / 1.452 GB, free: 2.344 MB / 1.17 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.000298/1.22, allocations: 232 kB / 1.452 GB, free: 2.109 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000319/1.22, allocations: 114.6 kB / 1.452 GB, free: 1.996 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001902/1.222, allocations: 0.7981 MB / 1.453 GB, free: 1.188 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/1.222, allocations: 8 kB / 1.453 GB, free: 1.18 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/1.222, allocations: 0 / 1.453 GB, free: 1.18 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001343/1.224, allocations: 0.7156 MB / 1.454 GB, free: 440 kB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003694/1.227, allocations: 1.926 MB / 1.455 GB, free: 14.43 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/1.228, allocations: 4 kB / 1.455 GB, free: 14.42 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007461/1.228, allocations: 140 kB / 1.456 GB, free: 14.29 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003508/1.229, allocations: 44.83 kB / 1.456 GB, free: 14.24 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.513e-05/1.229, allocations: 20 kB / 1.456 GB, free: 14.22 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001489/1.23, allocations: 1.455 MB / 1.457 GB, free: 12.62 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/1.23, allocations: 3.938 kB / 1.457 GB, free: 12.61 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002335/1.233, allocations: 1.226 MB / 1.458 GB, free: 11.34 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005103/1.233, allocations: 263.4 kB / 1.459 GB, free: 11.07 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001859/1.233, allocations: 12 kB / 1.459 GB, free: 11.05 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006483/1.234, allocations: 23.98 kB / 1.459 GB, free: 11.03 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.735e-05/1.234, allocations: 48.5 kB / 1.459 GB, free: 10.98 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.987e-05/1.234, allocations: 23.98 kB / 1.459 GB, free: 10.96 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0009167/1.235, allocations: 0.5967 MB / 1.459 GB, free: 10.36 MB / 1.186 GB Notification: Performance of sort global known variables: time 2.7e-07/1.235, allocations: 0 / 1.459 GB, free: 10.36 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001607/1.237, allocations: 0.5336 MB / 1.46 GB, free: 9.82 MB / 1.186 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.0006226/1.237, allocations: 222.9 kB / 1.46 GB, free: 9.605 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.00384/1.241, allocations: 1.209 MB / 1.461 GB, free: 8.398 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/1.241, allocations: 0 / 1.461 GB, free: 8.398 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0008736/1.242, allocations: 449.6 kB / 1.462 GB, free: 7.945 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002677/1.245, allocations: 0.5211 MB / 1.462 GB, free: 7.434 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004553/1.249, allocations: 2.229 MB / 1.464 GB, free: 5.148 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009075/1.25, allocations: 1.144 MB / 1.465 GB, free: 3.973 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003486/1.251, allocations: 79.44 kB / 1.465 GB, free: 3.895 MB / 1.186 GB Notification: Performance of SimCode: time 6.61e-07/1.251, allocations: 0 / 1.465 GB, free: 3.895 MB / 1.186 GB Notification: Performance of Templates: time 0.03269/1.283, allocations: 21.53 MB / 1.486 GB, free: 14.48 MB / 1.217 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches