Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.T_start|vol1.T|vol1.ports.1..h_outflow|vol1.ports.2..h_outflow|pipe1.port_b.h_outflow",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.T_start|vol1.T|vol1.ports.1..h_outflow|vol1.ports.2..h_outflow|pipe1.port_b.h_outflow",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008208/0.008208, allocations: 107.1 kB / 15.74 MB, free: 6.004 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.001982/0.001982, allocations: 195.8 kB / 16.68 MB, free: 5.93 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.33/1.33, allocations: 222.9 MB / 240.4 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.262/2.262, allocations: 390.2 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 71.88 kB / 0.9508 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8786/0.8802, allocations: 140.4 MB / 1.088 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.2245/1.105, allocations: 187.9 MB / 1.271 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01637/1.121, allocations: 10.76 MB / 1.282 GB, free: 7 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001177/1.122, allocations: 39.75 kB / 1.282 GB, free: 6.961 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001451/1.124, allocations: 497 kB / 1.282 GB, free: 6.473 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006364/1.13, allocations: 2.583 MB / 1.285 GB, free: 3.879 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.006383/1.137, allocations: 2.459 MB / 1.287 GB, free: 1.426 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004116/1.141, allocations: 2.763 MB / 1.29 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001543/1.142, allocations: 0.7839 MB / 1.291 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001916/1.144, allocations: 0.9964 MB / 1.292 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002071/1.146, allocations: 1.056 MB / 1.293 GB, free: 11.8 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001491/1.146, allocations: 96 kB / 1.293 GB, free: 11.71 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005959/1.152, allocations: 3.009 MB / 1.296 GB, free: 8.695 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000432/1.153, allocations: 434.8 kB / 1.296 GB, free: 8.27 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0005979/1.153, allocations: 0.5833 MB / 1.297 GB, free: 7.684 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.004698/1.158, allocations: 2.957 MB / 1.3 GB, free: 4.719 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/1.158, allocations: 0 / 1.3 GB, free: 4.719 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.996e-06/1.158, allocations: 3.938 kB / 1.3 GB, free: 4.715 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.6e-05/1.158, allocations: 3.938 kB / 1.3 GB, free: 4.711 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.003512/1.162, allocations: 1.666 MB / 1.301 GB, free: 2.992 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/1.162, allocations: 12.03 kB / 1.301 GB, free: 2.98 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001856/1.164, allocations: 298.4 kB / 1.302 GB, free: 2.688 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0014/1.165, allocations: 0.8234 MB / 1.302 GB, free: 1.824 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.125e-05/1.165, allocations: 53.3 kB / 1.302 GB, free: 1.77 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/1.165, allocations: 59.98 kB / 1.303 GB, free: 1.711 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00158/1.167, allocations: 0.9999 MB / 1.304 GB, free: 0.6953 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/1.167, allocations: 0 / 1.304 GB, free: 0.6953 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-05/1.167, allocations: 31.98 kB / 1.304 GB, free: 0.6641 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.763e-05/1.167, allocations: 73.94 kB / 1.304 GB, free: 0.5938 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001652/1.169, allocations: 1.007 MB / 1.305 GB, free: 15.58 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.005987/1.175, allocations: 3.578 MB / 1.308 GB, free: 11.77 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/1.176, allocations: 0.6701 MB / 1.309 GB, free: 11.09 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000546/1.176, allocations: 375.5 kB / 1.309 GB, free: 10.72 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002647/1.177, allocations: 194.7 kB / 1.309 GB, free: 10.5 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.906e-05/1.177, allocations: 47.12 kB / 1.309 GB, free: 10.44 MB / 1.045 GB Notification: Performance of pre-optimization done (n=62): time 1.833e-06/1.177, allocations: 0 / 1.309 GB, free: 10.44 MB / 1.045 GB Notification: Performance of matching and sorting (n=62): time 0.001911/1.179, allocations: 1.021 MB / 1.31 GB, free: 9.414 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.34e-05/1.179, allocations: 111.4 kB / 1.31 GB, free: 9.281 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/1.18, allocations: 0.798 MB / 1.311 GB, free: 8.477 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 7.116e-05/1.18, allocations: 37.7 kB / 1.311 GB, free: 8.434 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003672/1.18, allocations: 436 kB / 1.312 GB, free: 8 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002067/1.181, allocations: 224.9 kB / 1.312 GB, free: 7.777 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002601/1.181, allocations: 138.6 kB / 1.312 GB, free: 7.637 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001301/1.181, allocations: 334 kB / 1.312 GB, free: 7.305 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005419/1.181, allocations: 344.7 kB / 1.313 GB, free: 6.965 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006185/1.182, allocations: 464.7 kB / 1.313 GB, free: 6.469 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/1.183, allocations: 0.7665 MB / 1.314 GB, free: 5.672 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/1.183, allocations: 0 / 1.314 GB, free: 5.672 MB / 1.045 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001534/1.185, allocations: 0.9452 MB / 1.315 GB, free: 4.719 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/1.185, allocations: 4 kB / 1.315 GB, free: 4.715 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/1.185, allocations: 4 kB / 1.315 GB, free: 4.711 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/1.185, allocations: 4 kB / 1.315 GB, free: 4.707 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007031/1.186, allocations: 147.8 kB / 1.315 GB, free: 4.562 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/1.186, allocations: 4 kB / 1.315 GB, free: 4.559 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007344/1.186, allocations: 87.16 kB / 1.315 GB, free: 4.473 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.551e-05/1.186, allocations: 28 kB / 1.315 GB, free: 4.445 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008318/1.187, allocations: 0.537 MB / 1.316 GB, free: 3.906 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006393/1.188, allocations: 458.4 kB / 1.316 GB, free: 3.418 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001043/1.189, allocations: 0.7331 MB / 1.317 GB, free: 2.645 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.265e-06/1.189, allocations: 0 / 1.317 GB, free: 2.645 MB / 1.045 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001354/1.19, allocations: 0.8865 MB / 1.318 GB, free: 1.75 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/1.19, allocations: 8 kB / 1.318 GB, free: 1.742 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/1.19, allocations: 3.938 kB / 1.318 GB, free: 1.738 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.915e-06/1.19, allocations: 8 kB / 1.318 GB, free: 1.73 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006794/1.191, allocations: 148.1 kB / 1.318 GB, free: 1.586 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/1.191, allocations: 8 kB / 1.318 GB, free: 1.578 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007043/1.192, allocations: 63.42 kB / 1.318 GB, free: 1.516 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.849e-05/1.192, allocations: 27.98 kB / 1.318 GB, free: 1.488 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002158/1.192, allocations: 228.5 kB / 1.318 GB, free: 1.258 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/1.192, allocations: 90.88 kB / 1.318 GB, free: 1.168 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001354/1.194, allocations: 0.7969 MB / 1.319 GB, free: 372 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/1.194, allocations: 12 kB / 1.319 GB, free: 360 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/1.194, allocations: 0 / 1.319 GB, free: 360 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001042/1.195, allocations: 0.7438 MB / 1.32 GB, free: 15.57 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00307/1.198, allocations: 2.093 MB / 1.322 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/1.198, allocations: 15.81 kB / 1.322 GB, free: 13.36 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006464/1.198, allocations: 128.3 kB / 1.322 GB, free: 13.24 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.668e-06/1.198, allocations: 8 kB / 1.322 GB, free: 13.23 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.835e-05/1.198, allocations: 19.98 kB / 1.322 GB, free: 13.21 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/1.198, allocations: 7.938 kB / 1.322 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.198, allocations: 4 kB / 1.322 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001802/1.2, allocations: 1.364 MB / 1.323 GB, free: 11.78 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00038/1.201, allocations: 251.8 kB / 1.323 GB, free: 11.51 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/1.201, allocations: 19.98 kB / 1.323 GB, free: 11.49 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005566/1.201, allocations: 23.97 kB / 1.324 GB, free: 11.47 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.841e-05/1.201, allocations: 52.45 kB / 1.324 GB, free: 11.42 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.786e-05/1.202, allocations: 24 kB / 1.324 GB, free: 11.39 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000647/1.202, allocations: 0.5576 MB / 1.324 GB, free: 10.84 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.5e-07/1.202, allocations: 0 / 1.324 GB, free: 10.84 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001619/1.204, allocations: 0.745 MB / 1.325 GB, free: 10.09 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m) * 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 (64): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001149/1.205, allocations: 0.5525 MB / 1.325 GB, free: 9.547 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001928/1.207, allocations: 1.183 MB / 1.327 GB, free: 8.367 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/1.207, allocations: 0 / 1.327 GB, free: 8.367 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005322/1.207, allocations: 374.4 kB / 1.327 GB, free: 8 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002305/1.21, allocations: 0.5303 MB / 1.327 GB, free: 7.48 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002676/1.212, allocations: 1.902 MB / 1.329 GB, free: 5.5 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006549/1.213, allocations: 1.081 MB / 1.33 GB, free: 4.391 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.00117/1.214, allocations: 411.9 kB / 1.331 GB, free: 3.988 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002332/1.215, allocations: 71.44 kB / 1.331 GB, free: 3.918 MB / 1.061 GB Notification: Performance of SimCode: time 6.21e-07/1.215, allocations: 0 / 1.331 GB, free: 3.918 MB / 1.061 GB Notification: Performance of Templates: time 0.03616/1.251, allocations: 23 MB / 1.353 GB, free: 13.16 MB / 1.092 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches