Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.0008402/0.0008398, allocations: 97.48 kB / 15.36 MB, free: 0.7344 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.005413/0.005413, allocations: 170 kB / 16.27 MB, free: 6.324 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.385/1.385, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.751/2.751, allocations: 462.7 MB / 0.7364 GB, free: 284 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003418/0.0003418, allocations: 8.469 kB / 0.9028 GB, free: 36.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.3151, allocations: 159.6 MB / 1.059 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.212/0.5271, allocations: 183.7 MB / 1.238 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01774/0.5449, allocations: 11.03 MB / 1.249 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001812/0.5468, allocations: 43.62 kB / 1.249 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001673/0.5484, allocations: 429.8 kB / 1.249 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.7613/1.31, allocations: 2.414 MB / 1.252 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006145/1.316, allocations: 2.071 MB / 1.254 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005045/1.321, allocations: 3.99 MB / 1.258 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001157/1.322, allocations: 0.6584 MB / 1.258 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001635/1.324, allocations: 0.8378 MB / 1.259 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00195/1.326, allocations: 1.051 MB / 1.26 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000127/1.326, allocations: 43.94 kB / 1.26 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006485/1.332, allocations: 3.293 MB / 1.263 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007949/1.333, allocations: 385.3 kB / 1.264 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009603/1.334, allocations: 0.5446 MB / 1.264 GB, free: 4 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01024/1.344, allocations: 2.999 MB / 1.267 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/1.345, allocations: 2.828 kB / 1.267 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.563e-06/1.345, allocations: 0 / 1.267 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.084e-05/1.345, allocations: 0 / 1.267 GB, free: 3.855 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.005511/1.35, allocations: 1.474 MB / 1.269 GB, free: 18.99 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/1.35, allocations: 14.16 kB / 1.269 GB, free: 18.99 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002274/1.352, allocations: 292.7 kB / 1.269 GB, free: 18.93 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001671/1.354, allocations: 0.7758 MB / 1.27 GB, free: 18.62 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.258e-05/1.354, allocations: 59.39 kB / 1.27 GB, free: 18.61 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001597/1.354, allocations: 67.8 kB / 1.27 GB, free: 18.61 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002133/1.357, allocations: 0.9933 MB / 1.271 GB, free: 18.53 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/1.357, allocations: 0.5938 kB / 1.271 GB, free: 18.53 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.185e-05/1.357, allocations: 24.88 kB / 1.271 GB, free: 18.53 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001566/1.357, allocations: 72.89 kB / 1.271 GB, free: 18.53 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002312/1.359, allocations: 1.015 MB / 1.272 GB, free: 18.52 MB / 1.014 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.007743/1.367, allocations: 3.592 MB / 1.275 GB, free: 17.2 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001477/1.368, allocations: 0.6566 MB / 1.276 GB, free: 17.16 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006945/1.369, allocations: 375.3 kB / 1.276 GB, free: 17.16 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003316/1.369, allocations: 192.3 kB / 1.277 GB, free: 16.97 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.707e-05/1.37, allocations: 44.16 kB / 1.277 GB, free: 16.93 MB / 1.014 GB Notification: Performance of pre-optimization done (n=62): time 3.848e-06/1.37, allocations: 4 kB / 1.277 GB, free: 16.92 MB / 1.014 GB Notification: Performance of matching and sorting (n=62): time 0.002227/1.372, allocations: 1.028 MB / 1.278 GB, free: 16.83 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.971e-05/1.372, allocations: 109 kB / 1.278 GB, free: 16.71 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0013/1.373, allocations: 0.8006 MB / 1.278 GB, free: 16.57 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001082/1.373, allocations: 40.73 kB / 1.279 GB, free: 16.54 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002917/1.374, allocations: 424.8 kB / 1.279 GB, free: 16.37 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002349/1.374, allocations: 217.9 kB / 1.279 GB, free: 16.23 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/1.374, allocations: 71.78 kB / 1.279 GB, free: 16.21 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001175/1.374, allocations: 334.4 kB / 1.28 GB, free: 15.9 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005773/1.375, allocations: 330.6 kB / 1.28 GB, free: 15.9 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006466/1.375, allocations: 463.1 kB / 1.28 GB, free: 15.8 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001263/1.377, allocations: 0.7687 MB / 1.281 GB, free: 15.71 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.867e-06/1.377, allocations: 1.312 kB / 1.281 GB, free: 15.71 MB / 1.014 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001971/1.379, allocations: 0.9285 MB / 1.282 GB, free: 15.62 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001328/1.379, allocations: 158.5 kB / 1.282 GB, free: 15.45 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/1.379, allocations: 3.859 kB / 1.282 GB, free: 15.45 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.672e-05/1.379, allocations: 8.062 kB / 1.282 GB, free: 15.45 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007728/1.38, allocations: 155.4 kB / 1.282 GB, free: 15.45 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.67e-05/1.38, allocations: 6.031 kB / 1.282 GB, free: 15.45 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001247/1.381, allocations: 111.1 kB / 1.282 GB, free: 15.4 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.729e-05/1.381, allocations: 28.92 kB / 1.282 GB, free: 15.4 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/1.381, allocations: 4.062 kB / 1.282 GB, free: 15.4 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001311/1.382, allocations: 0.778 MB / 1.283 GB, free: 15.38 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/1.382, allocations: 2.406 kB / 1.283 GB, free: 15.38 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.437e-06/1.382, allocations: 9.344 kB / 1.283 GB, free: 15.38 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006448/1.383, allocations: 147.2 kB / 1.283 GB, free: 15.38 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/1.383, allocations: 7.594 kB / 1.283 GB, free: 15.38 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009811/1.384, allocations: 100.9 kB / 1.283 GB, free: 15.34 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.79e-05/1.384, allocations: 28.38 kB / 1.283 GB, free: 15.34 MB / 1.014 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.0006762/1.385, allocations: 373.7 kB / 1.284 GB, free: 15.15 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001976/1.385, allocations: 88.16 kB / 1.284 GB, free: 15.11 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001433/1.386, allocations: 0.8186 MB / 1.285 GB, free: 15.04 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.427e-06/1.386, allocations: 10.31 kB / 1.285 GB, free: 15.04 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-06/1.386, allocations: 0.9062 kB / 1.285 GB, free: 15.04 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001027/1.387, allocations: 0.7418 MB / 1.285 GB, free: 14.87 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003357/1.391, allocations: 2.088 MB / 1.287 GB, free: 14.42 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/1.391, allocations: 4.156 kB / 1.287 GB, free: 14.42 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006497/1.392, allocations: 134.5 kB / 1.288 GB, free: 14.42 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.229e-05/1.392, allocations: 6.531 kB / 1.288 GB, free: 14.42 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.004e-05/1.392, allocations: 18.75 kB / 1.288 GB, free: 14.42 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.545e-05/1.392, allocations: 13.67 kB / 1.288 GB, free: 14.42 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.163e-06/1.392, allocations: 7.188 kB / 1.288 GB, free: 14.42 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001881/1.394, allocations: 1.355 MB / 1.289 GB, free: 14.1 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004908/1.394, allocations: 256.5 kB / 1.289 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/1.394, allocations: 20.34 kB / 1.289 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006547/1.395, allocations: 56.61 kB / 1.289 GB, free: 13.94 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/1.395, allocations: 44.48 kB / 1.289 GB, free: 13.94 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.044e-05/1.395, allocations: 27.58 kB / 1.289 GB, free: 13.93 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008249/1.396, allocations: 0.5603 MB / 1.29 GB, free: 13.84 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.51e-07/1.396, allocations: 0 / 1.29 GB, free: 13.84 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00263/1.398, allocations: 0.7508 MB / 1.291 GB, free: 13.72 MB / 1.014 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.001575/1.4, allocations: 0.5425 MB / 1.291 GB, free: 13.54 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001953/1.402, allocations: 1.172 MB / 1.292 GB, free: 13.52 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/1.402, allocations: 1.125 kB / 1.292 GB, free: 13.52 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004851/1.403, allocations: 373.8 kB / 1.293 GB, free: 13.52 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002897/1.405, allocations: 0.5055 MB / 1.293 GB, free: 13.48 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003166/1.409, allocations: 2.338 MB / 1.295 GB, free: 12.29 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000694/1.409, allocations: 1.079 MB / 1.296 GB, free: 11.57 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001361/1.411, allocations: 418.6 kB / 1.297 GB, free: 11.51 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002301/1.411, allocations: 71.03 kB / 1.297 GB, free: 11.5 MB / 1.014 GB Notification: Performance of SimCode: time 1.032e-06/1.411, allocations: 3.281 kB / 1.297 GB, free: 11.5 MB / 1.014 GB Notification: Performance of Templates: time 0.03417/1.445, allocations: 21.93 MB / 1.318 GB, free: 6.492 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches