Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001566/0.001566, allocations: 111.2 kB / 15.99 MB, free: 6.344 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.001647/0.001647, allocations: 195.4 kB / 16.91 MB, free: 6.184 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.473/1.473, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.675/2.675, allocations: 469.8 MB / 0.7427 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00295/0.00295, allocations: 70.73 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3621, allocations: 159.1 MB / 1.064 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.865/1.227, allocations: 196.3 MB / 1.256 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01679/1.244, allocations: 10.27 MB / 1.266 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002282/1.246, allocations: 59.69 kB / 1.266 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001847/1.248, allocations: 485.1 kB / 1.266 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005812/1.254, allocations: 1.844 MB / 1.268 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003983/1.258, allocations: 1.259 MB / 1.269 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004684/1.263, allocations: 2.812 MB / 1.272 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002099/1.265, allocations: 1.149 MB / 1.273 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005236/1.27, allocations: 1.66 MB / 1.275 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002286/1.272, allocations: 1.016 MB / 1.276 GB, free: 228 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002579/1.273, allocations: 120 kB / 1.276 GB, free: 108 kB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004527/1.277, allocations: 2.221 MB / 1.278 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005944/1.278, allocations: 434.6 kB / 1.279 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001111/1.279, allocations: 0.7072 MB / 1.279 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003455/1.282, allocations: 1.836 MB / 1.281 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/1.283, allocations: 0 / 1.281 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.984e-06/1.283, allocations: 0 / 1.281 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.071e-05/1.283, allocations: 0 / 1.281 GB, free: 10.9 MB / 0.9981 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.003301/1.286, allocations: 1.822 MB / 1.283 GB, free: 9.023 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/1.286, allocations: 8.625 kB / 1.283 GB, free: 9.016 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002182/1.288, allocations: 376 kB / 1.283 GB, free: 8.648 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001794/1.29, allocations: 0.9091 MB / 1.284 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.34e-05/1.29, allocations: 85.88 kB / 1.284 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001614/1.29, allocations: 104 kB / 1.284 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002031/1.292, allocations: 1.109 MB / 1.285 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.907e-05/1.292, allocations: 3.938 kB / 1.285 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.459e-05/1.292, allocations: 48 kB / 1.285 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.997e-05/1.292, allocations: 37.98 kB / 1.285 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001556/1.294, allocations: 0.8002 MB / 1.286 GB, free: 5.453 MB / 0.9981 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.006929/1.301, allocations: 5.07 MB / 1.291 GB, free: 20 kB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001361/1.302, allocations: 0.7119 MB / 1.292 GB, free: 15.3 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006062/1.303, allocations: 354.4 kB / 1.292 GB, free: 14.96 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006862/1.304, allocations: 319.9 kB / 1.293 GB, free: 14.59 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.321e-05/1.304, allocations: 39.12 kB / 1.293 GB, free: 14.54 MB / 1.014 GB Notification: Performance of pre-optimization done (n=70): time 2.605e-06/1.304, allocations: 0 / 1.293 GB, free: 14.54 MB / 1.014 GB Notification: Performance of matching and sorting (n=70): time 0.002186/1.306, allocations: 0.9428 MB / 1.293 GB, free: 13.59 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.334e-05/1.306, allocations: 59.97 kB / 1.294 GB, free: 13.52 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/1.307, allocations: 0.8841 MB / 1.294 GB, free: 12.62 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.769e-05/1.307, allocations: 41.7 kB / 1.294 GB, free: 12.57 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004919/1.308, allocations: 0.5507 MB / 1.295 GB, free: 12.01 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002612/1.308, allocations: 248.3 kB / 1.295 GB, free: 11.77 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000236/1.308, allocations: 138.6 kB / 1.295 GB, free: 11.62 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001694/1.308, allocations: 341.9 kB / 1.296 GB, free: 11.29 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005202/1.309, allocations: 256.7 kB / 1.296 GB, free: 11.03 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006794/1.31, allocations: 452.9 kB / 1.296 GB, free: 10.52 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001221/1.311, allocations: 0.7054 MB / 1.297 GB, free: 9.754 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.016e-06/1.311, allocations: 3.938 kB / 1.297 GB, free: 9.75 MB / 1.014 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001547/1.313, allocations: 0.8392 MB / 1.298 GB, free: 8.902 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/1.313, allocations: 8 kB / 1.298 GB, free: 8.895 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/1.313, allocations: 4.625 kB / 1.298 GB, free: 8.891 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/1.313, allocations: 8 kB / 1.298 GB, free: 8.883 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001611/1.314, allocations: 270.6 kB / 1.298 GB, free: 8.621 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001716/1.316, allocations: 1.496 MB / 1.3 GB, free: 6.98 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009353/1.317, allocations: 123.1 kB / 1.3 GB, free: 6.859 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.6e-05/1.317, allocations: 32 kB / 1.3 GB, free: 6.828 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008922/1.318, allocations: 478 kB / 1.3 GB, free: 6.359 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006638/1.319, allocations: 451 kB / 1.301 GB, free: 5.844 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001176/1.32, allocations: 0.6976 MB / 1.301 GB, free: 5.078 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.019e-06/1.32, allocations: 4 kB / 1.301 GB, free: 5.074 MB / 1.014 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001541/1.321, allocations: 0.8316 MB / 1.302 GB, free: 4.234 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/1.321, allocations: 8 kB / 1.302 GB, free: 4.227 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/1.321, allocations: 7.938 kB / 1.302 GB, free: 4.219 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/1.321, allocations: 8 kB / 1.302 GB, free: 4.211 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001569/1.323, allocations: 264.2 kB / 1.302 GB, free: 3.953 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001601/1.325, allocations: 1.504 MB / 1.304 GB, free: 2.305 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009479/1.325, allocations: 111.4 kB / 1.304 GB, free: 2.195 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.083e-05/1.326, allocations: 28 kB / 1.304 GB, free: 2.168 MB / 1.014 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.0003029/1.326, allocations: 232 kB / 1.304 GB, free: 1.934 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002004/1.326, allocations: 114.6 kB / 1.304 GB, free: 1.82 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001861/1.328, allocations: 0.7877 MB / 1.305 GB, free: 1.023 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.677e-06/1.328, allocations: 8 kB / 1.305 GB, free: 1.016 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/1.328, allocations: 0 / 1.305 GB, free: 1.016 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001386/1.329, allocations: 0.7155 MB / 1.306 GB, free: 272 kB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003626/1.333, allocations: 1.934 MB / 1.308 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.869e-06/1.333, allocations: 8 kB / 1.308 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007401/1.334, allocations: 139.9 kB / 1.308 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003362/1.334, allocations: 44.98 kB / 1.308 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.329e-05/1.334, allocations: 20 kB / 1.308 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001568/1.336, allocations: 1.447 MB / 1.309 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.633e-06/1.336, allocations: 8.078 kB / 1.309 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002347/1.338, allocations: 1.226 MB / 1.311 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005114/1.339, allocations: 255.5 kB / 1.311 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001362/1.339, allocations: 12 kB / 1.311 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006683/1.339, allocations: 55.89 kB / 1.311 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/1.34, allocations: 56.44 kB / 1.311 GB, free: 10.78 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.248e-05/1.34, allocations: 23.98 kB / 1.311 GB, free: 10.76 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0008958/1.341, allocations: 0.5928 MB / 1.311 GB, free: 10.16 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.4e-07/1.341, allocations: 4 kB / 1.312 GB, free: 10.15 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001512/1.342, allocations: 0.5374 MB / 1.312 GB, free: 9.613 MB / 1.029 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.000587/1.343, allocations: 212.2 kB / 1.312 GB, free: 9.402 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.004144/1.347, allocations: 1.287 MB / 1.313 GB, free: 8.113 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/1.347, allocations: 7.938 kB / 1.313 GB, free: 8.105 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008493/1.348, allocations: 446.2 kB / 1.314 GB, free: 7.66 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002437/1.35, allocations: 0.5061 MB / 1.314 GB, free: 7.168 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004711/1.355, allocations: 2.706 MB / 1.317 GB, free: 4.402 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000882/1.356, allocations: 1.14 MB / 1.318 GB, free: 3.234 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003336/1.356, allocations: 87.44 kB / 1.318 GB, free: 3.148 MB / 1.029 GB Notification: Performance of SimCode: time 5.61e-07/1.356, allocations: 0 / 1.318 GB, free: 3.148 MB / 1.029 GB Notification: Performance of Templates: time 0.03332/1.389, allocations: 21.41 MB / 1.339 GB, free: 13.85 MB / 1.061 GB make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches