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.001921/0.001921, allocations: 103.8 kB / 16.35 MB, free: 5.824 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.002663/0.002663, allocations: 194 kB / 17.29 MB, free: 5.48 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.4/1.4, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.613/2.613, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 58.84 kB / 0.8773 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3427, allocations: 153 MB / 1.027 GB, free: 2.023 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.8294/1.172, allocations: 187.9 MB / 1.21 GB, free: 12.94 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01555/1.188, allocations: 10.75 MB / 1.221 GB, free: 4.246 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001598/1.189, allocations: 41.19 kB / 1.221 GB, free: 4.23 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001438/1.191, allocations: 492.9 kB / 1.221 GB, free: 3.824 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.006924/1.198, allocations: 2.586 MB / 1.224 GB, free: 1.887 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.006204/1.204, allocations: 2.457 MB / 1.226 GB, free: 236 kB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.004595/1.209, allocations: 2.763 MB / 1.229 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00125/1.21, allocations: 0.7884 MB / 1.23 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002037/1.212, allocations: 0.9886 MB / 1.231 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002098/1.214, allocations: 1.052 MB / 1.232 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001638/1.214, allocations: 100 kB / 1.232 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006148/1.22, allocations: 3.009 MB / 1.235 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0006136/1.221, allocations: 442.8 kB / 1.235 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0008175/1.222, allocations: 0.5794 MB / 1.236 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.005882/1.228, allocations: 2.946 MB / 1.238 GB, free: 4.512 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/1.228, allocations: 3.938 kB / 1.238 GB, free: 4.508 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.114e-06/1.228, allocations: 0 / 1.238 GB, free: 4.508 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.933e-05/1.228, allocations: 0 / 1.238 GB, free: 4.508 MB / 0.9356 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.003959/1.232, allocations: 1.686 MB / 1.24 GB, free: 2.766 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/1.232, allocations: 8.031 kB / 1.24 GB, free: 2.758 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001913/1.234, allocations: 290.4 kB / 1.24 GB, free: 2.473 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001544/1.235, allocations: 0.8273 MB / 1.241 GB, free: 1.605 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.075e-05/1.235, allocations: 53.28 kB / 1.241 GB, free: 1.555 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/1.236, allocations: 75.89 kB / 1.241 GB, free: 1.48 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001619/1.237, allocations: 0.9883 MB / 1.242 GB, free: 484 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/1.237, allocations: 3.938 kB / 1.242 GB, free: 480 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-05/1.237, allocations: 31.97 kB / 1.242 GB, free: 448 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.245e-05/1.237, allocations: 73.94 kB / 1.242 GB, free: 376 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00171/1.239, allocations: 1.007 MB / 1.243 GB, free: 15.36 MB / 0.9512 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.006282/1.245, allocations: 3.574 MB / 1.247 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001114/1.247, allocations: 0.6661 MB / 1.248 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000562/1.247, allocations: 375.3 kB / 1.248 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000273/1.247, allocations: 198.8 kB / 1.248 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/1.247, allocations: 39.12 kB / 1.248 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=62): time 2.695e-06/1.247, allocations: 384 / 1.248 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of matching and sorting (n=62): time 0.002032/1.249, allocations: 1.029 MB / 1.249 GB, free: 9.199 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.868e-05/1.25, allocations: 111.4 kB / 1.249 GB, free: 9.066 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009957/1.251, allocations: 0.7981 MB / 1.25 GB, free: 8.262 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 7.028e-05/1.251, allocations: 41.7 kB / 1.25 GB, free: 8.215 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003348/1.251, allocations: 424 kB / 1.25 GB, free: 7.793 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001933/1.251, allocations: 220.8 kB / 1.251 GB, free: 7.574 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003365/1.252, allocations: 142.6 kB / 1.251 GB, free: 7.43 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.00012/1.252, allocations: 330 kB / 1.251 GB, free: 7.102 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006218/1.252, allocations: 344.7 kB / 1.251 GB, free: 6.762 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006903/1.253, allocations: 468.7 kB / 1.252 GB, free: 6.27 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/1.254, allocations: 0.7665 MB / 1.253 GB, free: 5.469 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/1.254, allocations: 4 kB / 1.253 GB, free: 5.465 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001523/1.256, allocations: 0.9372 MB / 1.254 GB, free: 4.52 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/1.256, allocations: 8 kB / 1.254 GB, free: 4.512 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/1.256, allocations: 0 / 1.254 GB, free: 4.512 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/1.256, allocations: 8 kB / 1.254 GB, free: 4.504 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007725/1.257, allocations: 147.8 kB / 1.254 GB, free: 4.359 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/1.257, allocations: 4 kB / 1.254 GB, free: 4.355 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007703/1.257, allocations: 87.47 kB / 1.254 GB, free: 4.27 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.005e-05/1.258, allocations: 28 kB / 1.254 GB, free: 4.242 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008106/1.258, allocations: 0.537 MB / 1.254 GB, free: 3.699 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000627/1.259, allocations: 446.5 kB / 1.255 GB, free: 3.223 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001022/1.26, allocations: 0.7369 MB / 1.256 GB, free: 2.453 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.995e-06/1.26, allocations: 3.938 kB / 1.256 GB, free: 2.449 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001416/1.261, allocations: 0.8905 MB / 1.256 GB, free: 1.551 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/1.261, allocations: 14.69 kB / 1.256 GB, free: 1.539 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/1.262, allocations: 4.875 kB / 1.256 GB, free: 1.535 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.847e-06/1.262, allocations: 4 kB / 1.256 GB, free: 1.531 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006611/1.262, allocations: 147.8 kB / 1.257 GB, free: 1.387 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/1.262, allocations: 12.95 kB / 1.257 GB, free: 1.375 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000731/1.263, allocations: 63.41 kB / 1.257 GB, free: 1.312 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.429e-05/1.263, allocations: 32 kB / 1.257 GB, free: 1.281 MB / 0.9512 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.0002816/1.263, allocations: 220.1 kB / 1.257 GB, free: 1.059 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001642/1.263, allocations: 90.91 kB / 1.257 GB, free: 0.9688 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001487/1.265, allocations: 0.8107 MB / 1.258 GB, free: 156 kB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/1.265, allocations: 8.078 kB / 1.258 GB, free: 148 kB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/1.265, allocations: 3.984 kB / 1.258 GB, free: 144 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001082/1.266, allocations: 0.7439 MB / 1.258 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003209/1.269, allocations: 2.093 MB / 1.261 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/1.269, allocations: 4 kB / 1.261 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006337/1.27, allocations: 139.8 kB / 1.261 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.044e-05/1.27, allocations: 4 kB / 1.261 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.095e-05/1.27, allocations: 19.98 kB / 1.261 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.156e-06/1.27, allocations: 11.94 kB / 1.261 GB, free: 13 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/1.27, allocations: 7.938 kB / 1.261 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001887/1.272, allocations: 1.356 MB / 1.262 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004546/1.272, allocations: 251.8 kB / 1.262 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/1.273, allocations: 19.98 kB / 1.262 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005502/1.273, allocations: 23.98 kB / 1.262 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.081e-05/1.273, allocations: 52.27 kB / 1.262 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-05/1.273, allocations: 20 kB / 1.262 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0006742/1.274, allocations: 0.5576 MB / 1.263 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.81e-07/1.274, allocations: 0 / 1.263 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001695/1.276, allocations: 0.7528 MB / 1.264 GB, free: 9.887 MB / 0.9669 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.001228/1.277, allocations: 0.5374 MB / 1.264 GB, free: 9.352 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001982/1.279, allocations: 1.182 MB / 1.265 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/1.279, allocations: 4 kB / 1.265 GB, free: 8.164 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0005296/1.279, allocations: 370.1 kB / 1.266 GB, free: 7.805 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002087/1.282, allocations: 0.5322 MB / 1.266 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002879/1.284, allocations: 1.902 MB / 1.268 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006484/1.285, allocations: 1.073 MB / 1.269 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001152/1.286, allocations: 422.5 kB / 1.27 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002243/1.286, allocations: 79.38 kB / 1.27 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of SimCode: time 4.61e-07/1.286, allocations: 0 / 1.27 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of Templates: time 0.03924/1.326, allocations: 22.81 MB / 1.292 GB, free: 13.11 MB / 0.9981 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 -s cvode -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