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.001449/0.001449, allocations: 105.9 kB / 16.27 MB, free: 6.41 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.001575/0.001575, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.433/1.433, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.589/2.589, allocations: 469.4 MB / 0.7427 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 70.12 kB / 0.9088 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3252, allocations: 159.1 MB / 1.064 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.7829/1.108, allocations: 187.8 MB / 1.248 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01525/1.123, allocations: 10.76 MB / 1.258 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001649/1.125, allocations: 39.75 kB / 1.258 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00157/1.127, allocations: 0.4892 MB / 1.259 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.007146/1.134, allocations: 2.583 MB / 1.261 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005935/1.14, allocations: 2.444 MB / 1.264 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004147/1.144, allocations: 2.782 MB / 1.266 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001356/1.145, allocations: 0.7683 MB / 1.267 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001875/1.147, allocations: 0.9886 MB / 1.268 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002073/1.149, allocations: 1.066 MB / 1.269 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002468/1.15, allocations: 96 kB / 1.269 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005848/1.156, allocations: 2.993 MB / 1.272 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0006185/1.156, allocations: 446.8 kB / 1.273 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0008353/1.157, allocations: 0.5794 MB / 1.273 GB, free: 3.18 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.005522/1.163, allocations: 2.926 MB / 1.276 GB, free: 252 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/1.163, allocations: 4 kB / 1.276 GB, free: 248 kB / 0.9825 GB Notification: Performance of FrontEnd: time 2.014e-06/1.163, allocations: 0 / 1.276 GB, free: 248 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.259e-05/1.163, allocations: 0 / 1.276 GB, free: 248 kB / 0.9825 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.003492/1.166, allocations: 1.678 MB / 1.278 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/1.166, allocations: 8.625 kB / 1.278 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001826/1.168, allocations: 294.5 kB / 1.278 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/1.169, allocations: 0.7842 MB / 1.279 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.12e-05/1.169, allocations: 53.3 kB / 1.279 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/1.17, allocations: 63.98 kB / 1.279 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001498/1.171, allocations: 0.9921 MB / 1.28 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/1.171, allocations: 0 / 1.28 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.213e-05/1.171, allocations: 31.98 kB / 1.28 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-05/1.171, allocations: 73.95 kB / 1.28 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001567/1.173, allocations: 1.007 MB / 1.281 GB, free: 11.15 MB / 0.9981 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.005802/1.179, allocations: 3.603 MB / 1.284 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/1.18, allocations: 0.6499 MB / 1.285 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005122/1.18, allocations: 386.7 kB / 1.285 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002583/1.181, allocations: 198.7 kB / 1.286 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/1.181, allocations: 43.06 kB / 1.286 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=62): time 2.184e-06/1.181, allocations: 0 / 1.286 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of matching and sorting (n=62): time 0.001916/1.182, allocations: 1.021 MB / 1.287 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.795e-05/1.183, allocations: 115.4 kB / 1.287 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009748/1.184, allocations: 0.8058 MB / 1.287 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.863e-05/1.184, allocations: 37.7 kB / 1.287 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003044/1.184, allocations: 416.2 kB / 1.288 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001943/1.184, allocations: 224.8 kB / 1.288 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002286/1.184, allocations: 142.6 kB / 1.288 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001126/1.184, allocations: 334 kB / 1.289 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005376/1.185, allocations: 344.7 kB / 1.289 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006244/1.186, allocations: 468.6 kB / 1.289 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/1.187, allocations: 0.7666 MB / 1.29 GB, free: 1.238 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/1.187, allocations: 0 / 1.29 GB, free: 1.238 MB / 0.9981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001504/1.188, allocations: 0.9341 MB / 1.291 GB, free: 304 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/1.188, allocations: 9.562 kB / 1.291 GB, free: 296 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/1.188, allocations: 0.8594 kB / 1.291 GB, free: 296 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/1.188, allocations: 8 kB / 1.291 GB, free: 288 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007089/1.189, allocations: 156 kB / 1.291 GB, free: 132 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/1.189, allocations: 8 kB / 1.291 GB, free: 124 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007994/1.19, allocations: 83.11 kB / 1.291 GB, free: 40 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-05/1.19, allocations: 29.11 kB / 1.291 GB, free: 12 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008314/1.191, allocations: 0.537 MB / 1.292 GB, free: 15.47 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005813/1.191, allocations: 458.4 kB / 1.292 GB, free: 14.98 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001008/1.192, allocations: 0.7292 MB / 1.293 GB, free: 14.21 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.887e-06/1.192, allocations: 1.562 kB / 1.293 GB, free: 14.21 MB / 1.014 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001429/1.194, allocations: 0.8905 MB / 1.294 GB, free: 13.32 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/1.194, allocations: 4 kB / 1.294 GB, free: 13.31 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/1.194, allocations: 7.938 kB / 1.294 GB, free: 13.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.715e-06/1.194, allocations: 4 kB / 1.294 GB, free: 13.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006429/1.195, allocations: 151.8 kB / 1.294 GB, free: 13.15 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/1.195, allocations: 8 kB / 1.294 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007575/1.195, allocations: 67.41 kB / 1.294 GB, free: 13.08 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.848e-05/1.195, allocations: 24.12 kB / 1.294 GB, free: 13.05 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.0003092/1.196, allocations: 222.5 kB / 1.294 GB, free: 12.83 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001557/1.196, allocations: 98.91 kB / 1.294 GB, free: 12.73 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001407/1.197, allocations: 0.8085 MB / 1.295 GB, free: 11.91 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/1.197, allocations: 4 kB / 1.295 GB, free: 11.91 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/1.197, allocations: 0 / 1.295 GB, free: 11.91 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001075/1.198, allocations: 0.7477 MB / 1.296 GB, free: 11.13 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003138/1.202, allocations: 2.089 MB / 1.298 GB, free: 8.945 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/1.202, allocations: 4 kB / 1.298 GB, free: 8.941 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006308/1.202, allocations: 139.7 kB / 1.298 GB, free: 8.805 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.468e-06/1.202, allocations: 8 kB / 1.298 GB, free: 8.797 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.504e-05/1.202, allocations: 16 kB / 1.298 GB, free: 8.781 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.037e-05/1.202, allocations: 11.92 kB / 1.298 GB, free: 8.77 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/1.202, allocations: 4.438 kB / 1.298 GB, free: 8.766 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001824/1.204, allocations: 1.356 MB / 1.299 GB, free: 7.352 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000378/1.205, allocations: 259.8 kB / 1.3 GB, free: 7.078 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001273/1.205, allocations: 16 kB / 1.3 GB, free: 7.062 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005449/1.205, allocations: 29.61 kB / 1.3 GB, free: 7.035 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.661e-05/1.205, allocations: 48.25 kB / 1.3 GB, free: 6.988 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.983e-05/1.205, allocations: 24 kB / 1.3 GB, free: 6.965 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006826/1.206, allocations: 0.5576 MB / 1.3 GB, free: 6.41 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.206, allocations: 0 / 1.3 GB, free: 6.41 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001809/1.208, allocations: 0.7528 MB / 1.301 GB, free: 5.656 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.001252/1.209, allocations: 0.5423 MB / 1.302 GB, free: 5.117 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002332/1.212, allocations: 1.319 MB / 1.303 GB, free: 3.797 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/1.212, allocations: 4 kB / 1.303 GB, free: 3.793 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005472/1.212, allocations: 371.6 kB / 1.303 GB, free: 3.43 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002526/1.215, allocations: 0.5316 MB / 1.304 GB, free: 2.914 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003489/1.218, allocations: 1.99 MB / 1.306 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000743/1.219, allocations: 1.069 MB / 1.307 GB, free: 15.75 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003823/1.219, allocations: 79.42 kB / 1.307 GB, free: 15.67 MB / 1.029 GB Notification: Performance of SimCode: time 1.643e-06/1.219, allocations: 0 / 1.307 GB, free: 15.67 MB / 1.029 GB Notification: Performance of Templates: time 0.02971/1.249, allocations: 18.48 MB / 1.325 GB, free: 13.3 MB / 1.045 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