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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001735/0.001735, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002138/0.002138, allocations: 191.7 kB / 16.25 MB, free: 6.633 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.415/1.415, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.855/2.855, allocations: 482.4 MB / 0.7543 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 73.58 kB / 0.9233 GB, free: 29.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3778/0.3798, allocations: 162.2 MB / 1.082 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.8764/1.256, allocations: 186 MB / 1.263 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01696/1.273, allocations: 10.86 MB / 1.274 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00222/1.276, allocations: 46.16 kB / 1.274 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001583/1.277, allocations: 436.4 kB / 1.274 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007849/1.285, allocations: 2.428 MB / 1.277 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006782/1.292, allocations: 2.244 MB / 1.279 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004853/1.297, allocations: 2.779 MB / 1.282 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002513/1.299, allocations: 0.7689 MB / 1.282 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004494/1.304, allocations: 1.21 MB / 1.284 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003811/1.308, allocations: 1.111 MB / 1.285 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004493/1.308, allocations: 96.25 kB / 1.285 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008503/1.317, allocations: 3.068 MB / 1.288 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001123/1.318, allocations: 442 kB / 1.288 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001319/1.319, allocations: 0.5863 MB / 1.289 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.009567/1.329, allocations: 3.069 MB / 1.292 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/1.329, allocations: 1.312 kB / 1.292 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.884e-06/1.329, allocations: 0.9062 kB / 1.292 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.576e-05/1.329, allocations: 0 / 1.292 GB, free: 6.695 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.005101/1.334, allocations: 1.671 MB / 1.293 GB, free: 21.8 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/1.334, allocations: 10.69 kB / 1.293 GB, free: 21.8 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002121/1.336, allocations: 300 kB / 1.294 GB, free: 21.74 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001495/1.338, allocations: 0.7801 MB / 1.295 GB, free: 21.42 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.337e-05/1.338, allocations: 54.27 kB / 1.295 GB, free: 21.42 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001467/1.338, allocations: 67.67 kB / 1.295 GB, free: 21.42 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002009/1.34, allocations: 0.9915 MB / 1.296 GB, free: 21.34 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/1.34, allocations: 4.062 kB / 1.296 GB, free: 21.34 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.44e-05/1.34, allocations: 25.75 kB / 1.296 GB, free: 21.34 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001199/1.34, allocations: 71.47 kB / 1.296 GB, free: 21.34 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001816/1.342, allocations: 1.011 MB / 1.297 GB, free: 21.33 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.006743/1.349, allocations: 3.652 MB / 1.3 GB, free: 19.91 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/1.35, allocations: 0.6615 MB / 1.301 GB, free: 19.88 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005265/1.35, allocations: 375.8 kB / 1.301 GB, free: 19.87 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003188/1.351, allocations: 202.9 kB / 1.301 GB, free: 19.68 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.054e-05/1.351, allocations: 42.97 kB / 1.302 GB, free: 19.64 MB / 1.014 GB Notification: Performance of pre-optimization done (n=62): time 2.374e-06/1.351, allocations: 0 / 1.302 GB, free: 19.64 MB / 1.014 GB Notification: Performance of matching and sorting (n=62): time 0.002031/1.353, allocations: 1.026 MB / 1.303 GB, free: 19.55 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/1.353, allocations: 113.8 kB / 1.303 GB, free: 19.42 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/1.354, allocations: 0.8015 MB / 1.303 GB, free: 19.29 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.949e-05/1.354, allocations: 37.36 kB / 1.303 GB, free: 19.26 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002929/1.354, allocations: 431 kB / 1.304 GB, free: 19.08 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002087/1.355, allocations: 217.2 kB / 1.304 GB, free: 18.94 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002599/1.355, allocations: 142.2 kB / 1.304 GB, free: 18.92 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001911/1.355, allocations: 334.2 kB / 1.305 GB, free: 18.62 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005759/1.356, allocations: 343.5 kB / 1.305 GB, free: 18.61 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006875/1.356, allocations: 464.2 kB / 1.305 GB, free: 18.51 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/1.358, allocations: 0.7699 MB / 1.306 GB, free: 18.41 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/1.358, allocations: 2.031 kB / 1.306 GB, free: 18.41 MB / 1.014 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001529/1.359, allocations: 0.9304 MB / 1.307 GB, free: 18.32 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/1.359, allocations: 5.406 kB / 1.307 GB, free: 18.32 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/1.359, allocations: 6.938 kB / 1.307 GB, free: 18.32 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/1.359, allocations: 10.33 kB / 1.307 GB, free: 18.31 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006942/1.36, allocations: 151.2 kB / 1.307 GB, free: 18.31 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.453e-05/1.36, allocations: 9.703 kB / 1.307 GB, free: 18.31 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009962/1.361, allocations: 112.5 kB / 1.307 GB, free: 18.27 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.332e-05/1.361, allocations: 24.94 kB / 1.307 GB, free: 18.27 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008687/1.362, allocations: 0.5369 MB / 1.308 GB, free: 18.19 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005683/1.362, allocations: 448.7 kB / 1.308 GB, free: 18.07 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001008/1.363, allocations: 0.7362 MB / 1.309 GB, free: 17.96 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.709e-06/1.363, allocations: 2.344 kB / 1.309 GB, free: 17.96 MB / 1.014 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001438/1.365, allocations: 0.8902 MB / 1.31 GB, free: 17.87 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/1.365, allocations: 6.062 kB / 1.31 GB, free: 17.87 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/1.365, allocations: 3.375 kB / 1.31 GB, free: 17.87 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/1.365, allocations: 10.97 kB / 1.31 GB, free: 17.86 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000648/1.366, allocations: 148.2 kB / 1.31 GB, free: 17.86 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/1.366, allocations: 5.688 kB / 1.31 GB, free: 17.86 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009752/1.367, allocations: 93.66 kB / 1.31 GB, free: 17.84 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.655e-05/1.367, allocations: 31.59 kB / 1.31 GB, free: 17.84 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.0003395/1.367, allocations: 214.2 kB / 1.31 GB, free: 17.66 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001692/1.367, allocations: 93.22 kB / 1.31 GB, free: 17.61 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001462/1.369, allocations: 0.8125 MB / 1.311 GB, free: 17.55 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/1.369, allocations: 6.469 kB / 1.311 GB, free: 17.55 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/1.369, allocations: 0 / 1.311 GB, free: 17.55 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001031/1.37, allocations: 0.7459 MB / 1.312 GB, free: 17.38 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003212/1.373, allocations: 2.093 MB / 1.314 GB, free: 16.93 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/1.373, allocations: 8.281 kB / 1.314 GB, free: 16.93 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000659/1.374, allocations: 134.2 kB / 1.314 GB, free: 16.93 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.228e-05/1.374, allocations: 7.562 kB / 1.314 GB, free: 16.93 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.195e-05/1.374, allocations: 18.12 kB / 1.314 GB, free: 16.93 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.325e-05/1.374, allocations: 16.16 kB / 1.314 GB, free: 16.93 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/1.374, allocations: 3.5 kB / 1.314 GB, free: 16.93 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00183/1.376, allocations: 1.358 MB / 1.315 GB, free: 16.62 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005036/1.376, allocations: 250.6 kB / 1.316 GB, free: 16.47 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001384/1.376, allocations: 17.69 kB / 1.316 GB, free: 16.47 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000633/1.377, allocations: 50 kB / 1.316 GB, free: 16.46 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.743e-05/1.377, allocations: 46.56 kB / 1.316 GB, free: 16.46 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.826e-05/1.377, allocations: 23.62 kB / 1.316 GB, free: 16.46 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007607/1.378, allocations: 0.5565 MB / 1.316 GB, free: 16.37 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.378, allocations: 1.938 kB / 1.316 GB, free: 16.37 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002347/1.38, allocations: 0.7541 MB / 1.317 GB, free: 16.21 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.001498/1.382, allocations: 0.55 MB / 1.318 GB, free: 16.01 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002108/1.384, allocations: 1.316 MB / 1.319 GB, free: 15.62 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/1.384, allocations: 1 kB / 1.319 GB, free: 15.62 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004789/1.384, allocations: 374.1 kB / 1.319 GB, free: 15.52 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002487/1.387, allocations: 0.5393 MB / 1.32 GB, free: 15.37 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00304/1.39, allocations: 2.237 MB / 1.322 GB, free: 14.04 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008027/1.391, allocations: 1.074 MB / 1.323 GB, free: 13.29 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001358/1.392, allocations: 418.7 kB / 1.323 GB, free: 13.22 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000225/1.392, allocations: 75.94 kB / 1.324 GB, free: 13.21 MB / 1.014 GB Notification: Performance of SimCode: time 8.82e-07/1.392, allocations: 0 / 1.324 GB, free: 13.21 MB / 1.014 GB Notification: Performance of Templates: time 0.03859/1.431, allocations: 22.75 MB / 1.346 GB, free: 6.656 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=400 -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