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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001327/0.001327, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001892/0.001892, allocations: 183.7 kB / 16.92 MB, free: 6.684 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.466/1.466, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.887/2.887, allocations: 462.6 MB / 0.737 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0006031/0.0006032, allocations: 8.219 kB / 0.9034 GB, free: 36.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.3483, allocations: 159.6 MB / 1.059 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.2092/0.5575, allocations: 183.7 MB / 1.239 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01722/0.5747, allocations: 11.02 MB / 1.25 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002373/0.5772, allocations: 39.69 kB / 1.25 GB, free: 1.453 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001948/0.5791, allocations: 433.7 kB / 1.25 GB, free: 1.027 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.687/1.266, allocations: 2.418 MB / 1.252 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005336/1.272, allocations: 2.074 MB / 1.254 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005012/1.277, allocations: 3.994 MB / 1.258 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001143/1.278, allocations: 0.649 MB / 1.259 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002102/1.28, allocations: 0.8357 MB / 1.26 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002514/1.282, allocations: 1.058 MB / 1.261 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001474/1.282, allocations: 43.84 kB / 1.261 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008164/1.291, allocations: 3.288 MB / 1.264 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007074/1.291, allocations: 385.2 kB / 1.264 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009571/1.292, allocations: 0.5467 MB / 1.265 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004882/1.297, allocations: 2.089 MB / 1.267 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/1.297, allocations: 1.094 kB / 1.267 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.424e-06/1.297, allocations: 0 / 1.267 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.525e-05/1.297, allocations: 0 / 1.267 GB, free: 3.289 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.004675/1.302, allocations: 1.478 MB / 1.268 GB, free: 18.43 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/1.302, allocations: 13.45 kB / 1.268 GB, free: 18.42 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002052/1.304, allocations: 298.4 kB / 1.269 GB, free: 18.36 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001419/1.306, allocations: 0.774 MB / 1.269 GB, free: 18.05 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.735e-05/1.306, allocations: 51.67 kB / 1.269 GB, free: 18.04 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000159/1.306, allocations: 68.75 kB / 1.27 GB, free: 18.04 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002177/1.308, allocations: 0.9998 MB / 1.271 GB, free: 17.96 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/1.308, allocations: 0 / 1.271 GB, free: 17.96 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.976e-05/1.308, allocations: 26.88 kB / 1.271 GB, free: 17.96 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001508/1.308, allocations: 75.91 kB / 1.271 GB, free: 17.96 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002362/1.311, allocations: 1.01 MB / 1.272 GB, free: 17.95 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.00762/1.318, allocations: 3.59 MB / 1.275 GB, free: 16.62 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001288/1.32, allocations: 0.6618 MB / 1.276 GB, free: 16.59 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006623/1.32, allocations: 382.9 kB / 1.276 GB, free: 16.58 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003146/1.321, allocations: 195.5 kB / 1.276 GB, free: 16.39 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.407e-05/1.321, allocations: 45.84 kB / 1.276 GB, free: 16.35 MB / 1.014 GB Notification: Performance of pre-optimization done (n=62): time 3.807e-06/1.321, allocations: 0 / 1.276 GB, free: 16.35 MB / 1.014 GB Notification: Performance of matching and sorting (n=62): time 0.002451/1.323, allocations: 1.028 MB / 1.277 GB, free: 16.25 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.804e-05/1.323, allocations: 114.3 kB / 1.277 GB, free: 16.13 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001264/1.324, allocations: 0.8021 MB / 1.278 GB, free: 16 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.678e-05/1.325, allocations: 37.58 kB / 1.278 GB, free: 15.96 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002751/1.325, allocations: 418.5 kB / 1.279 GB, free: 15.79 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001922/1.325, allocations: 219.5 kB / 1.279 GB, free: 15.65 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/1.325, allocations: 63.28 kB / 1.279 GB, free: 15.64 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001409/1.325, allocations: 337.9 kB / 1.279 GB, free: 15.33 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005294/1.326, allocations: 339.4 kB / 1.28 GB, free: 15.33 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006249/1.326, allocations: 462.7 kB / 1.28 GB, free: 15.23 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/1.328, allocations: 0.7635 MB / 1.281 GB, free: 15.13 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/1.328, allocations: 5.094 kB / 1.281 GB, free: 15.13 MB / 1.014 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001627/1.329, allocations: 0.9352 MB / 1.282 GB, free: 15.04 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001128/1.329, allocations: 152.1 kB / 1.282 GB, free: 14.88 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/1.329, allocations: 1.969 kB / 1.282 GB, free: 14.88 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/1.329, allocations: 6.094 kB / 1.282 GB, free: 14.88 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006964/1.33, allocations: 151.6 kB / 1.282 GB, free: 14.87 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.488e-05/1.33, allocations: 8.188 kB / 1.282 GB, free: 14.87 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/1.331, allocations: 115.7 kB / 1.282 GB, free: 14.82 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.777e-05/1.331, allocations: 30.3 kB / 1.282 GB, free: 14.82 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/1.331, allocations: 5.438 kB / 1.282 GB, free: 14.82 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001233/1.333, allocations: 0.7763 MB / 1.283 GB, free: 14.81 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/1.333, allocations: 4.688 kB / 1.283 GB, free: 14.81 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.355e-06/1.333, allocations: 13.53 kB / 1.283 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000622/1.333, allocations: 145.7 kB / 1.283 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/1.333, allocations: 5.875 kB / 1.283 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008912/1.334, allocations: 100.6 kB / 1.283 GB, free: 14.76 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-05/1.334, allocations: 28.44 kB / 1.283 GB, free: 14.76 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.0005667/1.335, allocations: 373.3 kB / 1.284 GB, free: 14.57 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/1.335, allocations: 87.75 kB / 1.284 GB, free: 14.53 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001344/1.336, allocations: 0.8138 MB / 1.284 GB, free: 14.46 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/1.336, allocations: 10.44 kB / 1.284 GB, free: 14.46 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/1.336, allocations: 0 / 1.284 GB, free: 14.46 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001007/1.337, allocations: 0.7478 MB / 1.285 GB, free: 14.29 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00311/1.34, allocations: 2.084 MB / 1.287 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/1.341, allocations: 3.688 kB / 1.287 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006251/1.341, allocations: 136.5 kB / 1.287 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.133e-05/1.341, allocations: 6.094 kB / 1.287 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.699e-05/1.341, allocations: 16.19 kB / 1.287 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.239e-05/1.341, allocations: 15.78 kB / 1.287 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/1.341, allocations: 3.75 kB / 1.287 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001838/1.343, allocations: 1.362 MB / 1.289 GB, free: 13.52 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004627/1.344, allocations: 259.2 kB / 1.289 GB, free: 13.38 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/1.344, allocations: 16.38 kB / 1.289 GB, free: 13.38 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006333/1.344, allocations: 58.91 kB / 1.289 GB, free: 13.36 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.678e-05/1.344, allocations: 43.47 kB / 1.289 GB, free: 13.36 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.032e-05/1.344, allocations: 25.44 kB / 1.289 GB, free: 13.36 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007294/1.345, allocations: 0.5577 MB / 1.29 GB, free: 13.27 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.81e-07/1.345, allocations: 4 kB / 1.29 GB, free: 13.27 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002412/1.348, allocations: 0.7498 MB / 1.29 GB, free: 13.14 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.001471/1.349, allocations: 0.5385 MB / 1.291 GB, free: 12.96 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001951/1.351, allocations: 1.175 MB / 1.292 GB, free: 12.95 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/1.351, allocations: 1.156 kB / 1.292 GB, free: 12.95 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005141/1.352, allocations: 373.5 kB / 1.292 GB, free: 12.94 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002838/1.354, allocations: 0.5112 MB / 1.293 GB, free: 12.9 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003079/1.358, allocations: 2.396 MB / 1.295 GB, free: 11.68 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006481/1.358, allocations: 1.079 MB / 1.296 GB, free: 10.96 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003289/1.359, allocations: 83.12 kB / 1.296 GB, free: 10.95 MB / 1.014 GB Notification: Performance of SimCode: time 6.11e-07/1.359, allocations: 0 / 1.296 GB, free: 10.95 MB / 1.014 GB Notification: Performance of Templates: time 0.03285/1.391, allocations: 18.34 MB / 1.314 GB, free: 7.809 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches