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.00888/0.00888, allocations: 104.7 kB / 15.73 MB, free: 5.965 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.002314/0.002314, allocations: 192.2 kB / 16.67 MB, free: 5.883 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 15.05 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.271/2.271, allocations: 390.2 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 63.91 kB / 0.9508 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9912/0.9924, allocations: 140.4 MB / 1.088 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.2441/1.237, allocations: 187.9 MB / 1.271 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01643/1.253, allocations: 10.76 MB / 1.282 GB, free: 7.051 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001775/1.255, allocations: 39.75 kB / 1.282 GB, free: 7.012 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001482/1.256, allocations: 0.5048 MB / 1.282 GB, free: 6.504 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.007473/1.264, allocations: 2.661 MB / 1.285 GB, free: 3.832 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005959/1.27, allocations: 2.463 MB / 1.287 GB, free: 1.375 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003973/1.274, allocations: 2.773 MB / 1.29 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001349/1.275, allocations: 0.78 MB / 1.291 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001974/1.277, allocations: 1.032 MB / 1.292 GB, free: 12.77 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002341/1.28, allocations: 1.051 MB / 1.293 GB, free: 11.72 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001967/1.28, allocations: 100 kB / 1.293 GB, free: 11.62 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006313/1.286, allocations: 3.021 MB / 1.296 GB, free: 8.598 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0005763/1.287, allocations: 434.8 kB / 1.296 GB, free: 8.172 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0009194/1.288, allocations: 0.5871 MB / 1.297 GB, free: 7.582 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.006407/1.294, allocations: 2.963 MB / 1.3 GB, free: 4.609 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/1.294, allocations: 0 / 1.3 GB, free: 4.609 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.112e-06/1.294, allocations: 0 / 1.3 GB, free: 4.609 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.352e-05/1.294, allocations: 0 / 1.3 GB, free: 4.609 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.003733/1.298, allocations: 1.721 MB / 1.302 GB, free: 2.832 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/1.298, allocations: 8.031 kB / 1.302 GB, free: 2.824 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002035/1.3, allocations: 306.9 kB / 1.302 GB, free: 2.523 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001792/1.302, allocations: 0.8398 MB / 1.303 GB, free: 1.645 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.885e-05/1.302, allocations: 49.3 kB / 1.303 GB, free: 1.594 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001449/1.302, allocations: 67.98 kB / 1.303 GB, free: 1.527 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001961/1.304, allocations: 0.996 MB / 1.304 GB, free: 0.5156 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.329e-05/1.304, allocations: 0 / 1.304 GB, free: 0.5156 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.905e-05/1.304, allocations: 27.98 kB / 1.304 GB, free: 500 kB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001226/1.304, allocations: 69.95 kB / 1.304 GB, free: 432 kB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001717/1.306, allocations: 1.015 MB / 1.305 GB, free: 15.4 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.006986/1.313, allocations: 3.579 MB / 1.308 GB, free: 11.59 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/1.314, allocations: 0.674 MB / 1.309 GB, free: 10.91 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005276/1.315, allocations: 379.9 kB / 1.309 GB, free: 10.54 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002618/1.315, allocations: 198.8 kB / 1.31 GB, free: 10.3 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/1.315, allocations: 43.12 kB / 1.31 GB, free: 10.25 MB / 1.045 GB Notification: Performance of pre-optimization done (n=62): time 2.104e-06/1.315, allocations: 0 / 1.31 GB, free: 10.25 MB / 1.045 GB Notification: Performance of matching and sorting (n=62): time 0.002046/1.317, allocations: 1.025 MB / 1.311 GB, free: 9.223 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.088e-05/1.317, allocations: 107.4 kB / 1.311 GB, free: 9.094 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/1.318, allocations: 0.8098 MB / 1.311 GB, free: 8.277 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.087e-05/1.318, allocations: 33.7 kB / 1.312 GB, free: 8.238 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003401/1.319, allocations: 432.8 kB / 1.312 GB, free: 7.809 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002103/1.319, allocations: 230 kB / 1.312 GB, free: 7.582 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002426/1.319, allocations: 146.6 kB / 1.312 GB, free: 7.434 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001305/1.319, allocations: 334 kB / 1.313 GB, free: 7.102 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005728/1.32, allocations: 344.6 kB / 1.313 GB, free: 6.762 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006443/1.32, allocations: 460.8 kB / 1.313 GB, free: 6.27 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001174/1.322, allocations: 0.7704 MB / 1.314 GB, free: 5.469 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/1.322, allocations: 3.938 kB / 1.314 GB, free: 5.465 MB / 1.045 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001534/1.323, allocations: 0.9378 MB / 1.315 GB, free: 4.52 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/1.323, allocations: 4 kB / 1.315 GB, free: 4.516 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/1.323, allocations: 7.938 kB / 1.315 GB, free: 4.508 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/1.323, allocations: 4 kB / 1.315 GB, free: 4.504 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007057/1.324, allocations: 155.8 kB / 1.315 GB, free: 4.352 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/1.324, allocations: 4 kB / 1.315 GB, free: 4.348 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008604/1.325, allocations: 83.67 kB / 1.315 GB, free: 4.266 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-05/1.325, allocations: 31.98 kB / 1.315 GB, free: 4.234 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000894/1.326, allocations: 0.5331 MB / 1.316 GB, free: 3.699 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007297/1.327, allocations: 458.4 kB / 1.316 GB, free: 3.211 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001145/1.328, allocations: 0.7331 MB / 1.317 GB, free: 2.438 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.174e-06/1.328, allocations: 0 / 1.317 GB, free: 2.438 MB / 1.045 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001423/1.329, allocations: 0.8908 MB / 1.318 GB, free: 1.539 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/1.329, allocations: 12.22 kB / 1.318 GB, free: 1.527 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/1.329, allocations: 4 kB / 1.318 GB, free: 1.523 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.226e-06/1.329, allocations: 8 kB / 1.318 GB, free: 1.516 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006383/1.33, allocations: 147.8 kB / 1.318 GB, free: 1.371 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/1.33, allocations: 4 kB / 1.318 GB, free: 1.367 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008636/1.331, allocations: 67.59 kB / 1.318 GB, free: 1.301 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.689e-05/1.331, allocations: 28 kB / 1.318 GB, free: 1.273 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.0002865/1.331, allocations: 224.5 kB / 1.318 GB, free: 1.047 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/1.331, allocations: 99.39 kB / 1.318 GB, free: 0.9492 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001451/1.333, allocations: 0.8047 MB / 1.319 GB, free: 140 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/1.333, allocations: 8 kB / 1.319 GB, free: 132 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/1.333, allocations: 0 / 1.319 GB, free: 132 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001223/1.334, allocations: 0.7399 MB / 1.32 GB, free: 15.36 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003771/1.338, allocations: 2.098 MB / 1.322 GB, free: 13.16 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.408e-06/1.338, allocations: 11.92 kB / 1.322 GB, free: 13.14 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006371/1.338, allocations: 127.8 kB / 1.322 GB, free: 13.02 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.698e-06/1.338, allocations: 8 kB / 1.322 GB, free: 13.01 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.611e-05/1.338, allocations: 20.06 kB / 1.322 GB, free: 12.99 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.814e-05/1.339, allocations: 15.94 kB / 1.322 GB, free: 12.98 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/1.339, allocations: 4 kB / 1.322 GB, free: 12.97 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00266/1.341, allocations: 1.364 MB / 1.323 GB, free: 11.55 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004819/1.342, allocations: 256.5 kB / 1.324 GB, free: 11.28 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/1.342, allocations: 16 kB / 1.324 GB, free: 11.27 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005654/1.342, allocations: 27.94 kB / 1.324 GB, free: 11.24 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.539e-05/1.343, allocations: 56.25 kB / 1.324 GB, free: 11.18 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.433e-05/1.343, allocations: 23.98 kB / 1.324 GB, free: 11.16 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0007318/1.343, allocations: 0.5576 MB / 1.324 GB, free: 10.61 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.8e-07/1.343, allocations: 0 / 1.324 GB, free: 10.61 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002246/1.346, allocations: 0.752 MB / 1.325 GB, free: 9.852 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.001614/1.347, allocations: 0.5447 MB / 1.326 GB, free: 9.305 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002235/1.349, allocations: 1.19 MB / 1.327 GB, free: 8.117 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/1.349, allocations: 3.938 kB / 1.327 GB, free: 8.113 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006583/1.35, allocations: 366.1 kB / 1.327 GB, free: 7.754 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002608/1.353, allocations: 0.5354 MB / 1.328 GB, free: 7.23 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003447/1.356, allocations: 1.929 MB / 1.33 GB, free: 5.223 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001053/1.357, allocations: 1.073 MB / 1.331 GB, free: 4.121 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001223/1.358, allocations: 421.6 kB / 1.331 GB, free: 3.707 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000265/1.359, allocations: 71.44 kB / 1.331 GB, free: 3.637 MB / 1.061 GB Notification: Performance of SimCode: time 4.31e-07/1.359, allocations: 0 / 1.331 GB, free: 3.637 MB / 1.061 GB Notification: Performance of Templates: time 0.04502/1.404, allocations: 23.01 MB / 1.354 GB, free: 12.88 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