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.001617/0.001617, allocations: 110.7 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.001787/0.001787, allocations: 187 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.354/1.354, allocations: 222.9 MB / 241 MB, free: 15.13 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.295/2.295, allocations: 390.2 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 64.09 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8211/0.8226, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.2392/1.062, allocations: 198.9 MB / 1.283 GB, free: 6.789 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01508/1.077, allocations: 10.36 MB / 1.293 GB, free: 12.39 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002421/1.079, allocations: 59.69 kB / 1.293 GB, free: 12.34 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001926/1.081, allocations: 0.5857 MB / 1.294 GB, free: 11.75 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.006049/1.088, allocations: 2.056 MB / 1.296 GB, free: 9.684 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003655/1.091, allocations: 1.386 MB / 1.297 GB, free: 8.305 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003856/1.095, allocations: 2.836 MB / 1.3 GB, free: 5.465 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001589/1.097, allocations: 1.176 MB / 1.301 GB, free: 4.258 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00419/1.101, allocations: 1.709 MB / 1.303 GB, free: 2.555 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001646/1.103, allocations: 0.9699 MB / 1.303 GB, free: 1.586 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001947/1.103, allocations: 120 kB / 1.304 GB, free: 1.469 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003947/1.107, allocations: 2.156 MB / 1.306 GB, free: 15.31 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000428/1.107, allocations: 430.7 kB / 1.306 GB, free: 14.89 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0008294/1.108, allocations: 0.715 MB / 1.307 GB, free: 14.17 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003909/1.112, allocations: 2.516 MB / 1.309 GB, free: 11.64 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/1.112, allocations: 0 / 1.309 GB, free: 11.64 MB / 1.045 GB Notification: Performance of FrontEnd: time 3.737e-06/1.112, allocations: 0 / 1.309 GB, free: 11.64 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.911e-05/1.112, allocations: 3.938 kB / 1.309 GB, free: 11.64 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.002921/1.115, allocations: 1.814 MB / 1.311 GB, free: 9.77 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/1.115, allocations: 12.03 kB / 1.311 GB, free: 9.758 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002045/1.117, allocations: 365.9 kB / 1.311 GB, free: 9.398 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001571/1.119, allocations: 0.9791 MB / 1.312 GB, free: 8.375 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.232e-05/1.119, allocations: 74 kB / 1.312 GB, free: 8.305 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001429/1.119, allocations: 104 kB / 1.312 GB, free: 8.203 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001711/1.121, allocations: 1.103 MB / 1.314 GB, free: 7.039 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.672e-05/1.121, allocations: 7.938 kB / 1.314 GB, free: 7.031 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.235e-05/1.121, allocations: 40 kB / 1.314 GB, free: 6.992 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.461e-05/1.121, allocations: 45.97 kB / 1.314 GB, free: 6.949 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/1.122, allocations: 0.8002 MB / 1.314 GB, free: 6.145 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.005553/1.128, allocations: 5.078 MB / 1.319 GB, free: 0.707 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/1.129, allocations: 0.7007 MB / 1.32 GB, free: 15.99 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005432/1.129, allocations: 358 kB / 1.32 GB, free: 15.64 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005863/1.13, allocations: 311.8 kB / 1.321 GB, free: 15.29 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/1.13, allocations: 47.12 kB / 1.321 GB, free: 15.23 MB / 1.061 GB Notification: Performance of pre-optimization done (n=70): time 2.525e-06/1.13, allocations: 0 / 1.321 GB, free: 15.23 MB / 1.061 GB Notification: Performance of matching and sorting (n=70): time 0.001917/1.132, allocations: 0.939 MB / 1.322 GB, free: 14.29 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/1.132, allocations: 59.97 kB / 1.322 GB, free: 14.21 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/1.133, allocations: 0.8763 MB / 1.323 GB, free: 13.32 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.203e-05/1.133, allocations: 41.7 kB / 1.323 GB, free: 13.27 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000404/1.134, allocations: 0.5663 MB / 1.323 GB, free: 12.7 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.000206/1.134, allocations: 248.3 kB / 1.323 GB, free: 12.45 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002079/1.134, allocations: 142.6 kB / 1.324 GB, free: 12.31 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001224/1.134, allocations: 334 kB / 1.324 GB, free: 11.98 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004652/1.135, allocations: 256.7 kB / 1.324 GB, free: 11.72 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005941/1.135, allocations: 454.9 kB / 1.325 GB, free: 11.2 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/1.136, allocations: 0.7093 MB / 1.325 GB, free: 10.43 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/1.136, allocations: 0 / 1.325 GB, free: 10.43 MB / 1.061 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001416/1.138, allocations: 0.8318 MB / 1.326 GB, free: 9.59 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/1.138, allocations: 4 kB / 1.326 GB, free: 9.586 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/1.138, allocations: 11.98 kB / 1.326 GB, free: 9.574 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/1.138, allocations: 8 kB / 1.326 GB, free: 9.566 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001529/1.139, allocations: 263.9 kB / 1.326 GB, free: 9.309 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001416/1.141, allocations: 1.5 MB / 1.328 GB, free: 7.664 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007742/1.142, allocations: 87.2 kB / 1.328 GB, free: 7.578 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.497e-05/1.142, allocations: 35.98 kB / 1.328 GB, free: 7.543 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008191/1.142, allocations: 474 kB / 1.328 GB, free: 7.078 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005786/1.143, allocations: 451 kB / 1.329 GB, free: 6.562 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001044/1.144, allocations: 0.7015 MB / 1.329 GB, free: 5.793 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.835e-06/1.144, allocations: 4 kB / 1.329 GB, free: 5.789 MB / 1.061 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.00141/1.146, allocations: 0.8276 MB / 1.33 GB, free: 4.953 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/1.146, allocations: 9.562 kB / 1.33 GB, free: 4.945 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/1.146, allocations: 4.625 kB / 1.33 GB, free: 4.941 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.557e-06/1.146, allocations: 11.94 kB / 1.33 GB, free: 4.93 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001419/1.147, allocations: 267.6 kB / 1.331 GB, free: 4.668 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001278/1.148, allocations: 1.484 MB / 1.332 GB, free: 3.039 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007587/1.149, allocations: 69.53 kB / 1.332 GB, free: 2.973 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.196e-05/1.149, allocations: 31.98 kB / 1.332 GB, free: 2.941 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.0002411/1.149, allocations: 232.5 kB / 1.332 GB, free: 2.707 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001628/1.15, allocations: 118.7 kB / 1.332 GB, free: 2.59 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001658/1.151, allocations: 0.7904 MB / 1.333 GB, free: 1.789 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/1.151, allocations: 11.94 kB / 1.333 GB, free: 1.777 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/1.151, allocations: 0 / 1.333 GB, free: 1.777 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001241/1.153, allocations: 0.7039 MB / 1.334 GB, free: 1.039 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00315/1.156, allocations: 1.938 MB / 1.336 GB, free: 15.02 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/1.156, allocations: 4 kB / 1.336 GB, free: 15.01 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007035/1.156, allocations: 139.8 kB / 1.336 GB, free: 14.88 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000344/1.157, allocations: 40.83 kB / 1.336 GB, free: 14.83 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.426e-05/1.157, allocations: 24.19 kB / 1.336 GB, free: 14.81 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001321/1.158, allocations: 1.45 MB / 1.337 GB, free: 13.21 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/1.158, allocations: 3.938 kB / 1.337 GB, free: 13.21 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002101/1.16, allocations: 1.234 MB / 1.339 GB, free: 11.94 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003879/1.161, allocations: 251.6 kB / 1.339 GB, free: 11.67 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/1.161, allocations: 20 kB / 1.339 GB, free: 11.65 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005317/1.161, allocations: 19.98 kB / 1.339 GB, free: 11.63 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.326e-05/1.161, allocations: 44.5 kB / 1.339 GB, free: 11.59 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.527e-05/1.162, allocations: 24 kB / 1.339 GB, free: 11.57 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0007496/1.162, allocations: 0.6006 MB / 1.34 GB, free: 10.96 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.51e-07/1.162, allocations: 0 / 1.34 GB, free: 10.96 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001347/1.164, allocations: 0.5413 MB / 1.34 GB, free: 10.41 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.0005079/1.164, allocations: 211.6 kB / 1.34 GB, free: 10.2 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003406/1.168, allocations: 1.197 MB / 1.341 GB, free: 9.008 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/1.168, allocations: 4 kB / 1.341 GB, free: 9.004 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007681/1.168, allocations: 458 kB / 1.342 GB, free: 8.539 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00226/1.171, allocations: 0.5109 MB / 1.342 GB, free: 8.039 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003829/1.174, allocations: 2.232 MB / 1.345 GB, free: 5.754 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006555/1.175, allocations: 1.136 MB / 1.346 GB, free: 4.586 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00031/1.175, allocations: 87.42 kB / 1.346 GB, free: 4.5 MB / 1.076 GB Notification: Performance of SimCode: time 8.42e-07/1.175, allocations: 0 / 1.346 GB, free: 4.5 MB / 1.076 GB Notification: Performance of Templates: time 0.02813/1.204, allocations: 21.52 MB / 1.367 GB, free: 15.1 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